xref: /original-bsd/lib/libc/compat-43/creat.2 (revision 5e36add1)
Copyright (c) 1989 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.man%

@(#)creat.2 6.8 (Berkeley) 06/23/90

CREAT 2 ""
C 4
NAME
creat - create a new file
SYNOPSIS
creat(path, mode)
char *path;
mode_t mode;
DESCRIPTION
"This interface is made obsolete by open(2).

Creat is the same as:

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

"SEE ALSO"
open(2)