STAT Section: Linux Programmer's Manual (2) Updated: 2008-09-10 Index JM Home Page roff page 名前 stat, fstat, lstat - ファイルの状態を取得する 書式 #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int stat(const char *path, struct stat *buf); int fstat(int fd, struct stat *buf); int lstat(const char *path, struct stat *buf); glibc 向けの機能検査マクロの要件 (feature_test_macros(7) 参照): lstat(): _BSD_SOURCE ||