Files
rtems/doc/posix1003.1/ch06.t
1998-03-16 17:08:52 +00:00

132 lines
1.9 KiB
Perl

@c
@c COPYRIGHT (c) 1988-1998.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
@chapter Input and Output Primitives
@section Pipes
@subsection Create an Inter-Process Channel
@example
pipe(), Function
@end example
@section File Descriptor Manipulation
@subsection Duplicate an Open File Descriptor
@example
dup(), Function
dup2(), Function
@end example
@section File Descriptor Deassignment
@subsection Close a File
@example
close(), Function
@end example
@section Input and Output
@subsection Read from a File
@example
read(), Function
@end example
@subsection Write to a File
@example
write(), Function
@end example
@section Control Operations on Files
@subsection Data Definitions for File Control Operations
@subsection File Control
@example
fcntl(), Function
@end example
@subsection Reposition Read/Write File Offset
@example
lseek(), Function
@end example
@section File Synchronization
@subsection Synchronize the State of a File
@example
fsync(), Function
@end example
@subsection Synchronize the Data of a File
@example
fdatasync(), Function
@end example
@section Asynchronous Input and Output
@subsection Data Definitions for Asynchronous Input and Output
@subsection Asynchronous Read
@example
aio_read(), Function
@end example
@subsection Asynchronous Write
@example
aio_write(), Function
@end example
@subsection List Directed I/O
@example
aio_listio(), Function
@end example
@subsection Retrieve Error Status of Asynchronous I/O Operation
@example
aio_error(), Function
@end example
@subsection Retrieve Return Status of Asynchronous I/O Operation
@example
aio_return(), Function
@end example
@subsection Cancel Asynchronous I/O Request
@example
aio_cancel(), Function
@end example
@subsection Wait for Asynchronous I/O Request
@example
aio_suspend(), Function
@end example
@subsection Asynchronous File Synchronization
@example
aio_fsync(), Function
@end example