File Handling APIs


 FILE *  fopen  ( const char *filename, const char *mode );     FILE *  fdopen  ( int filedes, const char *type );     int  fputc  ( int c, FILE *stream );     int  fgetc  ( FILE *stream );     int  fputs  ( int c, FILE *stream );     char *  fgets  ( char *s, int size, FILE *stream );     int  fprintf  ( FILE* stream, const char *format, ... );     int  sprintf  ( char *str, const char *format, ... );     int  fscanf  ( FILE *stream, const char *format, ... );     int  sscanf  ( const char *str, const char *format, ... );     void  rewind  ( FILE *stream );     int  fseek  ( FILE *stream, long offset, int whence );     int  lseek  ( in filedes, long offset, int whence );     long  ftell  ( FILE *stream );     int  fgetpos  ( FILE *stream, fpos_t *pos );     int  fsetpos  ( FILE *stream, fops_t *pos );     int  fclose  ( FILE *stream );     int  open  ( const char *pathname, int flags );     int  open  ( const char *pathname, int flags, mode_t mode );     ssize_t  read  ( int fd, void *buf, size_t count );     ssize_t  write  ( int fd, const void *buf, size_t count );     ssize_t  pread  ( int filedes, void *buf, size_t count, off_t offset );     ssize_t  pwrite  ( int filedes, const void *buf,      size_t count, off_t offset ); 



GNU/Linux Application Programming
GNU/Linux Application Programming (Programming Series)
ISBN: 1584505680
EAN: 2147483647
Year: 2006
Pages: 203
Authors: M. Tim Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net