home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 1
/
FFMCD01.bin
/
useful
/
dist
/
gnu
/
emacs
/
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-12-04
|
261 b
|
18 lines
#include "amiga.h"
#include "files.h"
#include <fcntl.h>
#undef creat
int __creat(const char *file, int prot)
{
chkabort();
return open(file, O_WRONLY | O_CREAT | O_TRUNC, prot);
}
int creat(const char *file, int prot)
{
return __creat(file, prot);
}