diff options
Diffstat (limited to 'io/creat.c')
-rw-r--r-- | io/creat.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -23,9 +23,7 @@ /* Create FILE with protections MODE. */ int -creat (file, mode) - const char *file; - mode_t mode; +creat (const char *file, mode_t mode) { return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode); } |