Query: creat
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CREAT(3) BSD Library Functions Manual CREAT(3)NAMEcreat -- create a new fileLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <fcntl.h> int creat(const char *path, mode_t mode);DESCRIPTIONThis interface is made obsolete by: open(2). creat() is the same as: open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);SEE ALSOopen(2)STANDARDSThe creat() function call conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').HISTORYThe creat() function call appeared in Version 6 AT&T UNIX.BSDJune 2, 1993 BSD