home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 6
/
FreshFish_September1994.bin
/
gnu
/
man
/
cat2
/
creat.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
746b
|
67 lines
CREAT(2) UNIX Programmer's Manual CREAT(2)
NNAAMMEE
ccrreeaatt - create a new file
SSYYNNOOPPSSIISS
ccrreeaatt(_c_h_a_r _*_p_a_t_h, _m_o_d_e___t _m_o_d_e)
DDEESSCCRRIIPPTTIIOONN
TThhiiss iinntteerrffaaccee iiss mmaaddee oobbssoolleettee bbyy:: open(2).
CCrreeaatt() is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
SSEEEE AALLSSOO
open(2)
HHIISSTTOORRYY
The ccrreeaatt function call appeared in Version 6 AT&T UNIX.
4th Berkeley Distribution June 23, 1991 1