HELPMAKE Help (helpmake.hlp) (Table of Contents; Topic list)
QuickHelp Format: Example
 QuickHelp Format                          Up Contents Index Back
─────QuickHelp Format: Example──────────────────────────────────────────────
 
     .context open
     :l13
     \bInclude:\p    <fcntl.h>, <io.h>, <sys\\types.h>, <sys\\stat.h>
 
     \bPrototype:\p  int open(char *path, int flag[, int mode]);
           oflag:  O_APPEND O_BINARY O_CREAT O_EXCL O_RDONLY
                   O_RDWR    O_TEXT    O_TRUNC  O_WRONLY
                   (can be joined by |)
           pmode:  S_IWRITE  S_IREAD   S_IREAD | S_IWRITE
 
     \bReturns:\p    a handle if successful, or -1 if not.
                 errno:  EACCES, EEXIST, EMFILE, ENOENT
 
     \bSee also:\p   \uExample\p, \uTemplate\p,
                 access, chmod, close, creat, dup, dup2, fopen, sopen
                                    -♦-