Linux repositories inspector

creat(2freebsd)

June 2, 1993

freebsd-manpages

Manual pages for a GNU/kFreeBSD system

NAME

creat - create a new file

LIBRARY


.Lb libc

SYNOPSIS


.In fcntl.h int creat const char *path mode_t mode

DESCRIPTION


.Bf -symbolic This interface is made obsolete by:
.Ef open(2).
The creat function is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

SEE ALSO

HISTORY

The creat function appeared in AT&T v6 .
⇧ Top