Skip to content

Instantly share code, notes, and snippets.

@StefanoBelli
Created August 20, 2018 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StefanoBelli/0f4a4c63ce78778de15776102ffecda5 to your computer and use it in GitHub Desktop.
Save StefanoBelli/0f4a4c63ce78778de15776102ffecda5 to your computer and use it in GitHub Desktop.
#ifndef STATX_DEFINED_H
#define STATX_DEFINED_H
#include <unistd.h>
#include <linux/stat.h>
#include <sys/syscall.h>
#define statx(dirfd, pathname, flags, mask, buf) \
syscall(SYS_statx, dirfd, pathname, flags, mask, buf)
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment