diff options
Diffstat (limited to 'cpukit/libcsupport/src/creat.c')
-rw-r--r-- | cpukit/libcsupport/src/creat.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/cpukit/libcsupport/src/creat.c b/cpukit/libcsupport/src/creat.c deleted file mode 100644 index 46fd4b5b60..0000000000 --- a/cpukit/libcsupport/src/creat.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * $Id$ - */ - -/* creat() "system call" */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#ifndef HAVE_CREAT -/* This is needed by f2c and therefore the SPEC benchmarks. */ - -#include <fcntl.h> - -int -creat (const char *path, mode_t mode) -{ - return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode); -} -#endif |