summaryrefslogtreecommitdiff
path: root/doc/glibc-functions
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-07-04 18:14:46 +0200
committerBruno Haible <bruno@clisp.org>2020-07-04 18:14:46 +0200
commit6aa22a864222eb7199a71dabb85906088ee988cc (patch)
treeb0d2d28ad541b987fce46e6bb523cbdf5b175ad8 /doc/glibc-functions
parent36d4b7ed93c3c29505f939de6725b7f68b860fa5 (diff)
downloadgnulib-6aa22a864222eb7199a71dabb85906088ee988cc.tar.gz
getumask: New module.
* lib/sys_stat.in.h (getumask): New declaration. * lib/getumask.c: New file. * m4/getumask.m4: New file. * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Test whether getumask is declared. (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_GETUMASK, HAVE_GETUMASK. * modules/sys_stat (Makefile.am): Substitute GNULIB_GETUMASK, HAVE_GETUMASK. * modules/getumask: New file. * tests/test-sys_stat-c++.cc (getumask): Check signature. * doc/glibc-functions/getumask.texi: New file. * doc/gnulib.texi (Glibc sys/stat.h): Include it.
Diffstat (limited to 'doc/glibc-functions')
-rw-r--r--doc/glibc-functions/getumask.texi30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/glibc-functions/getumask.texi b/doc/glibc-functions/getumask.texi
new file mode 100644
index 0000000000..2fbf9e385e
--- /dev/null
+++ b/doc/glibc-functions/getumask.texi
@@ -0,0 +1,30 @@
+@node getumask
+@subsection @code{getumask}
+@findex getumask
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Setting Permissions,,Assigning File Permissions,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Setting-Permissions.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/getumask.3.html,,man getumask}.
+@end itemize
+
+Gnulib module: getumask
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function exists only on Hurd and is therefore
+missing on all non-glibc platforms:
+glibc/Linux, glibc/kFreeBSD, Mac OS X 10.13, FreeBSD 12.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.3, AIX 7.2, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin, mingw, MSVC 14, Android 9.0.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@end itemize