VMS Help
CC, Run-time functions, creat

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Creates a new file.

  Syntax:

       #include <fcntl.h>

       int creat(const char *file_spec, mode_t mode);  (POSIX-1)

       int creat(const char *file_spec, mode_t mode,...); (Compaq C
       Extension)

  where the ...  is an optional argument list of character strings of
  the following form:

  "keyword = value",...,"keyword = value"

  Or in the case of "acc" or "err", this form:

  "keyword"

  The keyword is an RMS field in the file access block (FAB) or
  record access block (RAB), and the value is valid for assignment to
  that field.  Some fields permit you to specify more than one value.
  In these cases, the values are separated by commas.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.