home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
GNU
/
sas_unix_lib.lha
/
unix
/
src
/
creat.c
< 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
C/C++ Source or Header
|
1992-07-19
|
165 b
|
10 lines
#include "amiga.h"
#include "files.h"
#include <fcntl.h>
int creat(char *file, int prot)
{
chkabort();
return open(file, O_WRONLY | O_CREAT | O_TRUNC, prot);
}