summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-headers/sys_stat.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-headers/sys_stat.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-headers/sys_stat.texi39
2 files changed, 39 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/doc/posix-headers/sys_stat.texi b/gnulib/doc/posix-headers/sys_stat.texi
new file mode 100644
index 0000000..47b29f7
--- /dev/null
+++ b/gnulib/doc/posix-headers/sys_stat.texi
@@ -0,0 +1,39 @@
+@node sys/stat.h
+@section @file{sys/stat.h}
+
+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
+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.
+@item
+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 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