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

  man pages->NetBSD man pages -> creat (3)              



NAME    [Toc]    [Back]

     creat - create a new file

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <fcntl.h>

     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]


STANDARDS    [Toc]    [Back]

     The creat() function call conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').

HISTORY    [Toc]    [Back]

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

BSD                              June 2, 1993                              BSD
[ 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