Adding upstream version 3.50~pre5.
[syslinux-debian/hramrach.git] / com32 / lib / creat.c
blob9bd22172d484f49819f972190c62a41b300e8279
1 /*
2 * creat.c
3 */
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 #include <fcntl.h>
9 int creat(const char *pathname, mode_t mode)
11 return open(pathname, O_CREAT|O_WRONLY|O_TRUNC, mode);