Online HelpPC 2.10      Quick Reference Utility     Copyright 1991 David Jurgens
 
                int creat( const char *filename, int permis )                
                                                                                                                                                                          - prototype in io.h, also include stat.h                                                                                                                          - creates new file (overwrites existing file) of filename                          with access permission "permis" which is:                                                                                                                               S_IWRITE                                                                         S_IREAD                                                                          S_IWRITE | S_IREAD                                                                                                                                          for permission to write, read or read/write.                                                                                                                    - file is created set to _fmode (O_TEXT or O_BINARY)                                                                                                                                                                                        
[helppc.bosbyte.nl]                  creat                    Home  Back  Topics