1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Paul Eggert 3de66b092f countof-h: use countof, part 3
* lib/nproc.c, lib/regex_internal.h, lib/set-permissions.c:
* lib/strftime.c:
Include <stdcountof.h>.
* lib/nproc.c (ARRAY_SIZE):
* lib/sig2str.c (NUNNAME_ENTRIES):
Remove.  All uses replaced with countof.
* lib/regcomp.c (regerror):
* lib/set-permissions.c (set_acls_from_mode):
* lib/strftime.c (__strftime_internal):
Use countof instead of doing it by hand.
* modules/acl-permissions, modules/c-nstrftime, modules/fprintftime:
* modules/nproc, modules/regex, modules/nstrftime:
* modules/nstrftime-limited, modules/sig2str:
Depend on stdcountof-h.
2026-03-20 14:55:35 -07:00

37 lines
563 B
Plaintext

Description:
Convert between signal names and signal numbers.
Files:
lib/sig2str.h
lib/sig2str.c
m4/sig2str.m4
Depends-on:
stdcountof-h
signal-h
streq
configure.ac:
gl_FUNC_SIG2STR
gl_CONDITIONAL([GL_COND_OBJ_SIG2STR],
[test $HAVE_SIG2STR = 0 || test $HAVE_STR2SIG = 0])
AM_COND_IF([GL_COND_OBJ_SIG2STR], [
gl_PREREQ_SIG2STR
])
gl_SIGNAL_MODULE_INDICATOR([sig2str])
Makefile.am:
if GL_COND_OBJ_SIG2STR
lib_SOURCES += sig2str.c
endif
Include:
<signal.h>
"sig2str.h" /* for SIGNUM_BOUND */
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering