diff options
Diffstat (limited to 'ports/linux/guts/renameat2.c')
-rw-r--r-- | ports/linux/guts/renameat2.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/linux/guts/renameat2.c b/ports/linux/guts/renameat2.c new file mode 100644 index 0000000..0df8369 --- /dev/null +++ b/ports/linux/guts/renameat2.c @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2019 Peter Seebach/Seebs <seebs@seebs.net>; see + * guts/COPYRIGHT for information. + * + * [Note: copyright added by code generator, may be + * incorrect. Remove this if you fix it.] + * + * int renameat2(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, unsigned int flags) + * int rc = -1; + */ + + /* for now, let's try just failing out hard, and hope things retry with a + * different syscall. + */ + errno = ENOSYS; + rc = -1; + +/* return rc; + * } + */ |