creat2freebsd
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
9 releases since Debian 5.0 (Lenny); the text changed 6 times.