home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
pd_share
/
code
/
unixlib
/
!UnixLib
/
src
/
unix
/
c
/
creat
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-09-30
|
252 b
|
14 lines
static char sccs_id[] = "@(#) creat.c 1.2 " __DATE__ " HJR";
/* creat.c (c) Copyright 1990 H.Rogers */
#include "fcntl.h"
#include "sys/unix.h"
int
creat (char *file, register int mode)
{
return (open (file, O_RDWR | O_CREAT | O_TRUNC, mode));
}