*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> creat (3)              
Title
Content
Arch
Section
 

CREAT(3)

Contents


NAME    [Toc]    [Back]

     creat - create a new file

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/stat.h>
     #include <fcntl.h>

     int
     creat(const char *path, mode_t mode);

DESCRIPTION    [Toc]    [Back]

     This interface is made obsolete by:  open(2).

     creat() is the same as:

           open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

SEE ALSO    [Toc]    [Back]

      
      
     open(2)

STANDARDS    [Toc]    [Back]

     The creat() function call conforms to IEEE  Std  1003.1-1990
(``POSIX'').

HISTORY    [Toc]    [Back]

     The creat() function call appeared in Version 6 AT&T UNIX.

OpenBSD      3.6                           June      23,     1991
[ Back ]
 Similar pages
Name OS Title
link Tru64 Create a hard link to an existing file on the local file system
mvOptimize IRIX optimize a movie file for playback after editing operations, or create a flattened movie file
mkfile IRIX create a file
VOP_LINK FreeBSD create a new name for a file
tmpnam Linux create a name for a temporary file
ctags FreeBSD create a tags file
mopa.out OpenBSD create MOP image from an a.out file
ctags HP-UX create a tags file
ctags OpenBSD create a tags file
tmpfile IRIX create a temporary file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service