aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/renameat2.c
blob: 135933bd3df4c7d7d1f668be53d1890a57c1fb6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * 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;
 */

	(void) olddirfd;
	(void) oldpath;
	(void) newdirfd;
	(void) newpath;
	(void) flags;
	/* for now, let's try just failing out hard, and hope things retry with a
	 * different syscall.
	 */
	errno = ENOSYS;
	rc = -1;

/*	return rc;
 * }
 */