Add memtest support.
[syslinux-debian/hramrach.git] / com32 / lib / creat.c
blob3b4dc61ed5ea1faf2d35e4ae2a3dc6b904c051b0
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);