6cfbe3d6070d3d046dbaf603bcc590e58a6b93e5
[gnulib.git] / doc / posix-headers / sys_stat.texi
1 @node sys/stat.h
2 @section @file{sys/stat.h}
3
4 POSIX specification: @url{http://www.opengroup.org/susv3xbd/sys/stat.h.html}
5
6 Gnulib module: sys_stat
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item
11 Some macros, such as @code{S_IFMT}, are missing on some platforms.
12 @item
13 The macros @code{S_ISBLK}, @code{S_ISCHR}, @code{S_ISDIR}, @code{S_ISFIFO},
14 @code{S_ISLNK}, @code{S_ISREG}, @code{S_ISSOCK} are broken on some platforms.
15 @item
16 Some platforms define macros, such as @code{S_ISDOOR}, that are not defined
17 on other platforms.
18 @item
19 The functions @code{lstat} and @code{mkdir} are not declared on mingw.
20 @item
21 The macros @code{UTIME_NOW} and @code{UTIME_OMIT} are missing on some
22 platforms.
23 @item
24 On some platforms, @code{struct stat} does not include @code{st_atim},
25 @code{st_mtim}, or @code{st_ctim} members.  Use the gnulib module
26 @samp{stat-time} for accessors to portably get at subsecond resolution.
27 @end itemize
28
29 Portability problems not fixed by Gnulib:
30 @itemize
31 @end itemize