NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…NAME stat, fstat, lstat, fstatat - get file status LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... restrict pathname , struct stat *restrict statbuf ); int fstat(int fd , st…exec; see fcntl (2)) flags. By applying fstat (2) to the returned file descriptor ... USERNS"); exit(EXIT_FAILURE); } if (fstat(userns_fd, &sb) == -1) { perror("fstat-userns"); exi…exec; see fcntl (2)) flags. By applying fstat (2) to the returned file descriptor ... USERNS"); exit(EXIT_FAILURE); } if (fstat(userns_fd, &sb) == -1) { perror("fstat-userns"); exi…with any of the same errors as fstat (2). VERSIONS Portable applications should use fstat ... shown in the POSIX.1g draft). SEE ALSO fstatrefers to a directory (since Linux 3.5). • fstat (2) (since Linux 3.6). • fstatfs (2) (since ... when the subsequent operation (e.g., fchdir (2), fstat (2)) does not require read p…refers to a directory (since Linux 3.5). • fstat (2) (since Linux 3.6). • fstatfs (2) (since ... when the subsequent operation (e.g., fchdir (2), fstat (2)) does not require read p…