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…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…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…open (argv[1])"); exit(EXIT_FAILURE); } if (fstat(fd_in, &stat) == -1) { perror("fstat"); exitrefers 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…handle_error("open"); if (fstat(fd, &sb) == -1) /* To obtain file size */ handle_error("fstathandle_error("open"); if (fstat(fd, &sb) == -1) /* To obtain file size */ handle_error("fstat