summaryrefslogtreecommitdiffstats
path: root/config/getdents64-syscall.c
blob: 4838c143515553d8b6b09da3971ab26ad38ccd6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <dirent.h>
#include <sys/syscall.h>
#include <unistd.h>

int main(void) {
	struct dirent64 de;
	syscall(SYS_getdents64, 3, &de, 1024);
	return 0;
}