summaryrefslogtreecommitdiff
path: root/src/linux/name_to_handle_at.c
blob: cd4075bd7ebf8a19234fd00a2404994e1bf1cde8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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);
}