fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sparc64 / creat.c
blob6b111620602b36e98b381eaac97a0308bea2b85d
1 /* creat() "system call" */
3 /* This is needed by f2c and therefore the SPEC benchmarks. */
5 #include <fcntl.h>
7 int
8 creat (const char *path, mode_t mode)
10 return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);