aboutsummaryrefslogtreecommitdiff
path: root/src/linux/name_to_handle_at.c
blob: 10fe84380fae56711e8a39ca2a403a85d896763a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#define _GNU_SOURCE
#include <fcntl.h>
#include "syscall.h"

int name_to_handle_at(int dirfd, const char *pathname,
	struct file_handle *handle, int *mount_id, int flags)
{
	return syscall(SYS_name_to_handle_at, dirfd,
		pathname, handle, mount_id, flags);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif