int
creat(
const char *path
, mode_t mode
)
creat()
is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
)
function call conforms to
ISO/IEC 9945-1:1990 (``POSIX.1'') .
)
function call appeared in
Version 6 AT&T UNIX
.