Home | History | Annotate | Download | only in sys

Lines Matching refs:stat

21  *	POSIX Standard: 5.6 File Characteristics	<sys/stat.h>
107 #include <bits/stat.h>
155 other S_* macros the following three take a pointer to a `struct stat'
211 extern int stat (__const char *__restrict __file,
212 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
216 extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
219 extern int __REDIRECT_NTH (stat, (__const char *__restrict __file,
220 struct stat *__restrict __buf), stat64)
222 extern int __REDIRECT_NTH (fstat, (int __fd, struct stat *__buf), fstat64)
225 # define stat stat64
236 /* Similar to stat, get the attributes for FILE and put them in BUF.
241 struct stat *__restrict __buf, int __flag)
246 struct stat *__restrict __buf,
266 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
271 struct stat *__restrict __buf), lstat64)
379 /* To allow the `struct stat' structure and the file type `mode_t'
381 the `stat' family of functions and `mknod' are in fact inline
384 data structure and bits used. <bits/stat.h> defines _STAT_VER with
385 the version number corresponding to `struct stat' as defined in
401 /* Wrappers for stat and mknod system calls. */
403 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
406 struct stat *__stat_buf) __THROW __nonnull ((2, 3));
408 struct stat *__stat_buf) __THROW __nonnull ((2, 3));
410 struct stat *__stat_buf, int __flag)
415 struct stat *__stat_buf), __fxstat64)
418 struct stat *__stat_buf), __xstat64)
421 struct stat *__stat_buf), __lxstat64)
425 struct stat *__stat_buf, int __flag),
454 /* Inlined versions of the real stat and mknod functions. */
457 __NTH (stat (__const char *__path, struct stat *__statbuf))
464 __NTH (lstat (__const char *__path, struct stat *__statbuf))
471 __NTH (fstat (int __fd, struct stat *__statbuf))
478 __NTH (fstatat (int __fd, __const char *__filename, struct stat *__statbuf,
541 #endif /* sys/stat.h */