Schily's LIBRARY FUNCTIONS                            FILEOPEN(3)


     fileopen() - opens or creates files


     FILE *fileopen(filename,modes)
          char *filename;
          char *modes;


     fileopen() opens filename. The  mode  is  specified  by  the
     characters from the following set:

     a    seek to end-of-file after opening

     c    create file if necessary

     r    allow read access

     t    truncate file after opening if it already exists

     u    unbuffered all read/writes directly to system

     w    allow write access


     NULL open failed.  other value should be used in  other  I/O
     calls and is of the type FILE.


     The file is opened with rw  rw  access.   If  there  is  not
     enough  room  to allocate a buffer, the file is opened in an
     unbuffered mode. There is a limit  to  the  number  of  open

Joerg Schilling    Last change: 15. Juli 1988                   1

Man(1) output converted with man2html

FhG Schily's Home VED powered