aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/renameat2.c
blob: e2c8cf17ce5c113f32435f2e5febdda19f56f42f (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
26
27
/*
 * 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.]
 *
 * SPDX-License-Identifier: LGPL-2.1-only
 *
 * 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;
 * }
 */