X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Fsys_stat.texi;h=47b29f7930e1f0e4780e63a9d4e4f2c4261b9d8a;hb=2049ed10148563c6c530c8b13229ea35da4f4cc1;hp=33c8683d224c5059393c16713603ede9e31768c9;hpb=080cbfcab5a4ddf2405c018aa7c7f95ac336a465;p=gnulib.git diff --git a/doc/posix-headers/sys_stat.texi b/doc/posix-headers/sys_stat.texi index 33c8683d2..47b29f793 100644 --- a/doc/posix-headers/sys_stat.texi +++ b/doc/posix-headers/sys_stat.texi @@ -1,14 +1,18 @@ @node sys/stat.h @section @file{sys/stat.h} -POSIX specification: @url{http://www.opengroup.org/susv3xbd/sys/stat.h.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html} Gnulib module: sys_stat Portability problems fixed by Gnulib: @itemize @item -Some macros, such as @code{S_IFMT}, are missing on some platforms. +The type @code{mode_t} is not defined on some platforms: +MSVC 9. +@item +Some macros, such as @code{S_IFMT} or @code{S_IFIFO}, are missing on some +platforms. @item The macros @code{S_ISBLK}, @code{S_ISCHR}, @code{S_ISDIR}, @code{S_ISFIFO}, @code{S_ISLNK}, @code{S_ISREG}, @code{S_ISSOCK} are broken on some platforms. @@ -16,12 +20,20 @@ The macros @code{S_ISBLK}, @code{S_ISCHR}, @code{S_ISDIR}, @code{S_ISFIFO}, Some platforms define macros, such as @code{S_ISDOOR}, that are not defined on other platforms. @item -The functions @code{lstat} and @code{mkdir} are not declared on mingw. +The functions @code{lstat} and @code{mkdir} are not declared on some platforms: +mingw, MSVC 9. @item The macros @code{UTIME_NOW} and @code{UTIME_OMIT} are missing on some platforms. +@item +On some platforms, @code{struct stat} does not include @code{st_atim}, +@code{st_mtim}, or @code{st_ctim} members. Use the gnulib module +@samp{stat-time} for accessors to portably get at subsecond resolution. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +The macro @code{S_IFBLK} is missing on some platforms: +MSVC 9. @end itemize