creat2
Create a new file
Usage
#include <fcntl.h>
int
creat(const char *path, mode_t mode);
Library
Standard C Library (libc, -lc)
Overview
This interface is made obsolete by: open(2).
The creat() function is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
Releases
87 releases since FreeBSD 2.0.5-RELEASE; the text changed 43 times.