1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/modules/getumask
Paul Eggert 87fb310b69 doc: be more like POSIX in threading terms
In documentation and comments, be more like POSIX in terminology
involving multithreading.  Explain the distinction between
multithreaded process vs multithreaded program.  Change “program”
to “process” when the latter wording is more accurate or informative.
Simplify the wording for the constraints on processes that use
unlocked I/O.  Change “multithread-safe” to “thread-safe”.
Change “thread-safety” to “thread safety”.
However, do not change “multithreaded” to “multi-threaded” even
though there are some uses of both spellinga, as there are a whole
bunch of uses of “multithreaded”, also in identifier names;
perhaps Gnulib should even standardize on “multithreaded”
(not “multi-threaded”), contra POSIX.
2026-04-11 13:21:19 -07:00

44 lines
805 B
Plaintext

Description:
getumask() function: retrieve the umask of the process (thread-safe)
Files:
lib/getumask.c
m4/getumask.m4
Depends-on:
sys_stat-h
extensions
c99 [test $HAVE_GETUMASK = 0]
memeq [test $HAVE_GETUMASK = 0]
unistd-h [test $HAVE_GETUMASK = 0]
clean-temp [test $HAVE_GETUMASK = 0]
tempname [test $HAVE_GETUMASK = 0]
configure.ac:
gl_FUNC_GETUMASK
gl_CONDITIONAL([GL_COND_OBJ_GETUMASK], [test $HAVE_GETUMASK = 0])
AM_COND_IF([GL_COND_OBJ_GETUMASK], [
gl_PREREQ_GETUMASK
])
gl_SYS_STAT_MODULE_INDICATOR([getumask])
Makefile.am:
if GL_COND_OBJ_GETUMASK
lib_SOURCES += getumask.c
endif
Include:
<sys/stat.h>
Link:
$(GETRANDOM_LIB)
$(CLOCK_TIME_LIB)
$(LIBTHREAD)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
GPL
Maintainer:
all