Input and output posix section 6, Functions implemented, Functions omitted – Comtrol eCos User Manual
Page 459: Notes, Input and output [posix section 6

Chapter 31. POSIX Standard Support
•
The maximum number of open files allowed is supplied by the CYGNUM_FILEIO_NFILE option. The maxi-
mum number of file descriptors is supplied by the CYGNUM_FILEIO_NFD option.
Input and Output [POSIX Section 6]
Functions Implemented
int dup( int fd );
int dup2( int fd, int fd2 );
int close(int fd);
ssize_t read(int fd, void
∗
buf, size_t nbyte);
ssize_t write(int fd, const void
∗
buf, size_t nbyte);
int fcntl( int fd, int cmd, ... );
off_t lseek(int fd, off_t offset, int whence);
int fsync( int fd );
int fdatasync( int fd );
Functions Omitted
int pipe( int fildes[2] );
int aio_read( struct aiocb
∗
aiocbp );
// TBA
int aio_write( struct aiocb
∗
aiocbp );
// TBA
int lio_listio( int mode, struct aiocb
∗
const list[],
int nent, struct sigevent
∗
sig);
// TBA
int aio_error( struct aiocb
∗
aiocbp );
// TBA
int aio_return( struct aiocb
∗
aiocbp );
// TBA
int aio_cancel( int fd, struct aiocb
∗
aiocbp );
// TBA
int aio_suspend( const struct aiocb
∗
const list[],
int nent, const struct timespec
∗
timeout ); // TBA
int aio_fsync( int op, struct aiocb
∗
aiocbp );
// TBA
Notes
•
Only the F_DUPFD command of fcntl() is currently implemented.
•
Most of the functionality of these functions depends on the underlying filesystem.
Device and Class Specific Functions [POSIX Section 7]
Functions Implemented
speed_t cfgetospeed( const struct termios
∗
termios_p );
355