* Copyright (c) 1989 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)creat.c 5.3 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
creat(const char *path
, mode_t mode
)
return(open(path
, O_WRONLY
|O_CREAT
|O_TRUNC
, mode
));