1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Input and Output [POSIX Section 6]</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="POSIX Standard Support"
23 HREF="posix-standard-support.html"><LINK
25 TITLE="Files and Directories [POSIX Section 5]"
26 HREF="posix-files-and-directories.html"><LINK
28 TITLE="Device and Class Specific Functions [POSIX Section 7]"
29 HREF="posix-device-and-class-specific-functions.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="posix-files-and-directories.html"
65 >Chapter 31. POSIX Standard Support</TD
71 HREF="posix-device-and-class-specific-functions.html"
85 NAME="POSIX-INPUT-AND-OUTPUT">Input and Output [POSIX Section 6]</H1
91 NAME="AEN13062">Functions Implemented</H2
101 int dup2( int fd, int fd2 );
103 ssize_t read(int fd, void *buf, size_t nbyte);
104 ssize_t write(int fd, const void *buf, size_t nbyte);
105 int fcntl( int fd, int cmd, ... );
106 off_t lseek(int fd, off_t offset, int whence);
108 int fdatasync( int fd );</PRE
118 NAME="AEN13065">Functions Omitted</H2
127 >int pipe( int fildes[2] );
128 int aio_read( struct aiocb *aiocbp ); // TBA
129 int aio_write( struct aiocb *aiocbp ); // TBA
130 int lio_listio( int mode, struct aiocb *const list[],
131 int nent, struct sigevent *sig); // TBA
132 int aio_error( struct aiocb *aiocbp ); // TBA
133 int aio_return( struct aiocb *aiocbp ); // TBA
134 int aio_cancel( int fd, struct aiocb *aiocbp ); // TBA
135 int aio_suspend( const struct aiocb *const list[],
136 int nent, const struct timespec *timeout ); // TBA
137 int aio_fsync( int op, struct aiocb *aiocbp );
138 // TBA</PRE
148 NAME="AEN13068">Notes</H2
167 > is currently implemented.
172 > Most of the functionality of these functions depends on
173 the underlying filesystem.
184 SUMMARY="Footer navigation table"
195 HREF="posix-files-and-directories.html"
213 HREF="posix-device-and-class-specific-functions.html"
223 >Files and Directories [POSIX Section 5]</TD
229 HREF="posix-standard-support.html"
237 >Device and Class Specific Functions [POSIX Section 7]</TD