#include #include #include #include int lstat(const char* __restrict path, struct stat* __restrict buf) { return syscall(SYS_STAT, path, buf, O_RDONLY | O_NOFOLLOW); } int stat(const char* __restrict path, struct stat* __restrict buf) { return syscall(SYS_STAT, path, buf, O_RDONLY); }