diff options
Diffstat (limited to 'guts/creat.c')
-rw-r--r-- | guts/creat.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/guts/creat.c b/guts/creat.c new file mode 100644 index 0000000..e4c0b60 --- /dev/null +++ b/guts/creat.c @@ -0,0 +1,11 @@ +/* + * static int + * wrap_creat(const char *path, mode_t mode) { + * int rc = -1; + */ + + rc = wrap_openat(AT_FDCWD, path, O_CREAT|O_WRONLY|O_TRUNC, mode); + +/* return rc; + * } + */ |