summaryrefslogtreecommitdiff
path: root/doc/gnulib.texi
Commit message (Collapse)AuthorAgeFilesLines
* doc: Document string-desc and related modules.Bruno Haible2023-03-291-0/+3
| | | | | * doc/string-desc.texi: New file. * doc/gnulib.texi (Particular Modules): Include it.
* timegm: Document under ISO C and POSIX substitutes.Bruno Haible2023-03-161-2/+2
| | | | | | * doc/posix-functions/timegm.texi: Renamed from doc/glibc-functions/timegm.texi. * doc/gnulib.texi (Function Substitutes): Include timegm.texi here... (Glibc time.h): ... not here.
* nullptr: work around Apple clang 14 issuePaul Eggert2023-02-091-3/+4
| | | | | | | | | Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2023-02/msg00098.html * doc/gnulib.texi (nullptr): Document limitations better. * m4/nullptr.m4 (gl_NULLPTR): Check for incompatibility of macOS clang 14.0.0 (clang-1400.0.29.202), where <stddef.h> defines a non-working nullptr macro.
* nullptr: rename from c-nullptrPaul Eggert2023-02-071-5/+6
| | | | | | | | | | * NEWS, doc/gnulib.texi: Mention this. * m4/nullptr.m4: Rename from m4/c-nullptr.m4. (gl_NULLPTR): Rename from gl_C_NULLPTR. * modules/nullptr: Rename from modules/nullptr. * modules/nullptr-c++-tests: Rename from modules/c-nullptr-c++-tests. * modules/nullptr-tests: Rename from modules/c-nullptr-tests. All uses changed.
* c-nullptr: new modulePaul Eggert2023-02-051-0/+42
| | | | | | * doc/gnulib.texi (nullptr): New section. * doc/posix-headers/stddef.texi: Document lack of nullptr_t. * m4/c-nullptr.m4, modules/c-nullptr: New files.
* login_tty: Ensure declaration in <utmp.h>.Bruno Haible2023-01-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/test-utmp-c++.cc: New file. * modules/utmp-c++-tests: New file. * tests/test-utmp.c: New file. * modules/utmp-tests: New file. * lib/login_tty.c: Include <utmp.h>. * m4/login_tty.m4: New file. (gl_FUNC_LOGIN_TTY): Moved here from m4/pty.m4. Set HAVE_LOGIN_TTY. * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Moved to m4/login_tty.m4. * modules/login_tty (Files): Add m4/login_tty.m4. (Depends-on): Add utmp. Remove pty. Update condition. (configure.ac): Update condition. Invoke gl_UTMP_MODULE_INDICATOR instead of gl_PTY_MODULE_INDICATOR. (Include): List <utmp.h>. * doc/glibc-functions/login_tty.texi: Mark the include file diversity as fixed. * tests/test-login_tty.c: Include <utmp.h>. Don't declare login_tty here. * lib/utmp.in.h: New file. * m4/utmp_h.m4: New file. * modules/utmp: New file. * doc/glibc-headers/utmp.texi: New file. * doc/gnulib.texi (Glibc Header File Substitutes): Include it.
* alignasof: new modulePaul Eggert2023-01-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This splits off support for the C23 keywords alignas and alignof, from the now-deprecated stdalign module. The latter now merely provides C11 support. * MODULES.html.sh, NEWS, doc/gnulib.texi: * doc/posix-headers/stdalign.texi: Document the change. * lib/stdalign.in.h: Remove most of the definitions (which are now supplied by the alignasof module), leaving only __alignas_is_defined and __alignof_is_defined. * modules/alignasof, modules/alignasof-tests: New files. * m4/stdalign.m4 (gl_ALIGNASOF): New macro, with most of the contents of the old gl_STDALIGN_H. Do not define __alignas_is_defined or __alignof_is_defined. (gl_STDALIGN_H): Rely on gl_ALIGNASOF for most of the work. * modules/alignalloc, modules/alignof, modules/argp: * modules/crypto/md4-buffer, modules/crypto/md5-buffer: * modules/crypto/sha1-buffer, modules/crypto/sha256-buffer: * modules/crypto/sha512-buffer, modules/crypto/sm3-buffer: * modules/fts, modules/rawmemchr, modules/relocatable-prog-wrapper: * modules/stddef-tests, modules/sys_socket: Depend on alignasof, not stdalign. * modules/stdalign: Deprecate. Depend on alignasof. * modules/stdalign-tests: Move most contents to the new module alignasof-tests, and depend on that.
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* Add --pull, --gen options to build-aux/bootstrapPaul Eggert2022-12-271-5/+18
| | | | | | | | | This supports a single bootstrap script with --pull and --gen options, as an alternative to separate autogen.sh and autopull.sh and bootstrap-funclib.sh auxiliary files. * top/bootstrap: With --version, also output library version. Support update of package that has only the bootstrap script, and not the other three files.
* memset_explicit: new modulePaul Eggert2022-11-281-0/+2
| | | | | | | | | | | | * doc/posix-functions/memset_explicit.texi, lib/memset_explicit.c: * m4/memset_explicit.m4, modules/memset_explicit: * modules/memset_explicit-tests, tests/test-memset_explicit.c: New files. * lib/string.in.h (memset_explict): New decl. * m4/string_h.m4 (gl_STRING_H, gl_STRING_H_REQUIRE_DEFAULTS) (gl_STRING_H_DEFAULTS): * modules/string (string.h): Support memset_explicit.
* stdalign: alignas and alignof are C23 keywordsPaul Eggert2022-09-131-0/+25
| | | | | | | | | | * m4/stdalign.m4 (gl_STDALIGN_H): Check also whether alignas and alignof are keywords and so don’t need stdalign.h, and define HAVE_C_ALIGNASOF if so. If not, arrange for config.h to #define alignas and alignof by including <stdalign.h>. * modules/stdalign: No need to include <stdalign.h>. * tests/test-stdalign.c: Do not include stdalign.h.
* assert-h: static_assert is a keyword in C23Paul Eggert2022-09-131-1/+26
| | | | | | | | | | | | * m4/assert_h.m4 (gl_ASSERT_H): Also test for static_assert keyword a la C23, and define HAVE_C_STATIC_ASSERT if so. If not, arrange for config.h to #define static_assert by including <assert.h>, and then do "#undef assert" so that the assert macro still needs an explicit include. This should be safe even on very old hosts, as assert.h has been re-includable for decades. * tests/tests-assert.c: New test. * modules/assert-h-tests (Files, Makefile.am): Add it.
* stdbool: upgrade from C99 to C23Paul Eggert2022-09-101-0/+32
| | | | | | | | | | | Change the stdbool module so that it now emulates C23. The module now assumes C99. The old module (which assumes C89 and emulates C99) is still available as stdbool-c99, but is deprecated. * tests/test-stdbool.c [TEST_STDBOOL_H]: Do not include stdbool.h. (WORKING_BOOL): Depend on HAVE_C_BOOL, not __STDC_VERSION__. * m4/c-bool.m4, modules/c-bool, modules/c-bool-tests: * tests/test-c-bool.c: New files.
* sys_file: Document this module.Bruno Haible2022-09-041-0/+2
| | | | | * doc/glibc-headers/sys_file.texi: New file. * doc/gnulib.texi (Glibc Header File Substitutes): Include it.
* stdckdint-h: new modulePaul Eggert2022-08-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | This supports draft C23 <stdckdint.h>. * doc/posix-headers/stdckdint.texi: * lib/stdckdint.in.h, modules/stdckdint: * modules/stdckdint-tests, tests/test-stdckdint.c: New files. * MODULES.html.sh, doc/gnulib.texi: Update for new module. * lib/intprops-internal.h: Include <stdckdint.h> if C23 and its macros would help and our substitute has not already started to be included. (_GL_INT_ADD_WRAPV, _GL_INT_SUBTRACT_WRAPV) (_GL_INT_MULTIPLY_WRAPV): Use ckd_add, ckd_sub, ckd_mul if they are defined and would help. * lib/intprops-internal.h, lib/intprops.h: Improve comments. The C23 restrictions on stdckdint macros already mostly applied to intprops.h, so these are clarifications, not further restrictions. * tests/test-intprops.c: If TEST_STDCKDINT is defined, include <stdckdint.h> instead of "intprops.h", and test it instead. (VERIFY) [TEST_STDCKDINT]: Ignore the arg in this case. (main) [TEST_STDCKDINT]: Skip tests irrelevant to stdckdint.h.
* doc: Update regarding bootstrap split.Bruno Haible2022-07-311-6/+32
| | | | | | | | | | | Reported by Paul Smith <psmith@gnu.org>. * doc/gnulib-tool.texi (gettextize and autopoint): Mention autogen.sh instead of bootstrap. (VCS Issues): Describe three alternative approaches. * doc/gnulib.texi (Developer tools): Mention also autopull.sh and autogen.sh. * top/bootstrap (usage): Fix copy&paste mistake.
* GNU Emacs Operator node deleted from regex.texiKarl Berry2022-05-251-1/+0
|
* doc: use UTF-8 encodingPaul Eggert2022-01-271-0/+1
| | | | | | | | | * doc/gnulib.texi: Use ‘@documentencoding UTF-8’. Partly this is because there are a few UTF-8 characters in the .texi files and there seems little point nowadays to @U-ifiying them. And partly it is so that the .info output uses nicer UTF-8 characters, e.g., it single-quotes ‘like this’ instead of 'like this'.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* doc: fix order of stdlib functionsBernhard Voelker2021-08-221-2/+2
| | | | | * doc/gnulib.texi (node Glibc stdlib.h): Move mrand48_r after mkstemps. Reported by Benno Schulenberg.
* doc: Update for glibc 2.34.Bruno Haible2021-08-141-15/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/posix-functions/timespec_getres.texi: New file. * doc/glibc-functions/_Fork.texi: New file. * doc/glibc-functions/closefrom.texi: New file. * doc/glibc-functions/dn_comp.texi: New file. * doc/glibc-functions/dn_skipname.texi: New file. * doc/glibc-functions/execveat.texi: New file. * doc/glibc-functions/posix_spawn_file_actions_addclosefrom_np.texi: New file. * doc/glibc-functions/res_dnok.texi: New file. * doc/glibc-functions/res_hnok.texi: New file. * doc/glibc-functions/res_mailok.texi: New file. * doc/glibc-functions/res_nmkquery.texi: New file. * doc/glibc-functions/res_nquery.texi: New file. * doc/glibc-functions/res_nquerydomain.texi: New file. * doc/glibc-functions/res_nsearch.texi: New file. * doc/glibc-functions/res_nsend.texi: New file. * doc/glibc-functions/res_ownok.texi: New file. * doc/glibc-functions/res_send.texi: New file. * doc/gnulib.texi: Include them. * doc/glibc-functions/inet_neta.texi: Remove file. * doc/glibc-functions/malloc_get_state.texi: Remove file. * doc/glibc-functions/malloc_set_state.texi: Remove file. * doc/glibc-functions/pthread_mutex_consistent_np.texi: Remove file. * doc/glibc-functions/pthread_mutexattr_getrobust_np.texi: Remove file. * doc/glibc-functions/pthread_mutexattr_setrobust_np.texi: Remove file. * doc/glibc-functions/pthread_yield.texi: Remove file. * doc/gnulib.texi: Don't include them. * doc/glibc-headers/resolv.texi: Update. * doc/pastposix-functions/h_errno.texi: Likewise. * doc/posix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise.
* gnulib-tool: Stop doing license notice replacements.Bruno Haible2021-06-041-1/+3
| | | | | | | | | | | * gnulib-tool: Don't document --more-symlinks and --more-hardlinks any more. (do_copyrights): Remove variable. (func_import): Don't perform license updates on imported files any more. * pygnulib/GLInfo.py: Don't document --more-symlinks any more. * doc/gnulib-intro.texi (Copyright): Document the new situation. * doc/gnulib.texi (Module description): Likewise. * NEWS: Mention the change.
* doc: Update for glibc 2.33.Bruno Haible2021-03-061-10/+2
| | | | | | | | | | * doc/glibc-functions/mallinfo2.texi: New file. * doc/gnulib.texi: Include it. (Glibc sys/vtimes.h): Remove section. * doc/glibc-functions/vtimes.texi: Remove file. * doc/pastposix-functions/h_errno.texi: Update. * doc/posix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* malloc-h: New module.Bruno Haible2020-12-311-0/+2
| | | | | | | | * lib/malloc.in.h: New file. * m4/malloc_h.m4: New file. * modules/malloc-h: New file. * doc/glibc-headers/malloc.texi: New file. * doc/gnulib.texi (Glibc Header File Substitutes): Include it.
* Fix gnulib-tool error when some modules occur in tests/.Bruno Haible2020-12-131-3/+60
| | | | | | | | | | | | | * doc/gnulib.texi (Specification): Update statistics. (Autoconf macros): Don't suggest to use AC_LIBOBJ in a .m4 file. (Using AC_LIBOBJ): New section. * check-AC_LIBOBJ: New file. * modules/fnmatch-gnu (Files): Add lib/fnmatch.c. * modules/fopen-gnu (Files): Add lib/fopen.c. * modules/memmem (Files): Add lib/memmem.c. * modules/renameat (Files): Add lib/at-func2.c. * modules/strcasestr (Files): Add lib/strcasestr.c. * modules/strstr (Files): Add lib/strstr.c.
* doc: fix curved quotes issuePaul Eggert2020-12-051-0/+8
| | | | | | * doc/gnulib.texi: Set txicodequoteundirected and txicodequotebacktick so that ` and ' in examples do not generate curved single quotes that do the wrong thing when cut and pasted.
* doc: Document <link.h>.Bruno Haible2020-11-221-0/+2
| | | | | * doc/glibc-headers/link.texi: New file. * doc/gnulib.texi: Include it.
* doc: Update for glibc 2.32.Bruno Haible2020-08-071-0/+22
| | | | | | | | | | | | | | | * doc/glibc-functions/__libc_single_threaded.texi: New file. * doc/glibc-functions/pthread_attr_getsigmask_np.texi: New file. * doc/glibc-functions/pthread_attr_setsigmask_np.texi: New file. * doc/glibc-functions/sigabbrev_np.texi: New file. * doc/glibc-functions/sigdescr_np.texi: New file. * doc/glibc-functions/strerrordesc_np.texi: New file. * doc/glibc-functions/strerrorname_np.texi: New file. * doc/gnulib.texi: Include them. (Glibc sys/single_threaded.h): New section. * doc/pastposix-functions/h_errno.texi: Update. * doc/posix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise.
* getumask: New module.Bruno Haible2020-07-041-0/+2
| | | | | | | | | | | | | | | * 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.
* doc: New chapter 'Multithreading'.Bruno Haible2020-06-021-0/+4
| | | | | * doc/multithread.texi: New file. * doc/gnulib.texi: Include it.
* doc: Move 'Running self-tests under valgrind' section.Bruno Haible2020-06-011-3/+3
| | | | | | * doc/gnulib.texi (Build Infrastructure Modules): Include valgrind-tests.texi here... (Miscellaneous Notes): ... not here.
* doc: Move 'Visual Studio Compatibility' section.Bruno Haible2020-06-011-3/+3
| | | | | | * doc/gnulib.texi (Native Windows Support): Include ld-output-def.texi here... (Build Infrastructure Modules): ... not here.
* sys_random: New module.Bruno Haible2020-05-301-0/+2
| | | | | | | | | | | | | | | * lib/sys_random.in.h: Use the common idioms for overridable header files. * m4/sys_random_h.m4: New file. * m4/getrandom.m4 (gl_FUNC_GETRANDOM): Require gl_SYS_RANDOM_H_DEFAULTS. * modules/sys_random: New file. * modules/getrandom (Files): Remove lib/sys_random.in.h. (Depends-on): Add sys_random. (configure.ac): Use gl_SYS_RANDOM_MODULE_INDICATOR, not gl_UNISTD_MODULE_INDICATOR. (Makefile.am): Don't generate sys/random.h here. * doc/glibc-headers/sys_random.texi: New file. * doc/gnulib.texi: Include it.
* attribute: new modulePaul Eggert2020-05-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies use of GCC and C2X attributes like ‘deprecated’. * MODULES.html.sh: Add attribute. * doc/attribute.texi, lib/attribute.h, modules/attribute: New files. * doc/gnulib.texi (Particular Modules): Add Attributes. * lib/backupfile.c, lib/fnmatch.c, lib/freopen-safer.c: * lib/mbrtoc32.c, lib/mbrtowc.c, lib/nstrftime.c, lib/quotearg.c: * lib/savewd.c, lib/unistr/u8-uctomb-aux.c, lib/unistr/u8-uctomb.c: * lib/vasnprintf.c: Include attribute.h, and let it define FALLTHROUGH. * lib/bitset/base.h, lib/c-stack.c (__attribute__): Remove macro. * lib/bitset/base.h (ATTRIBUTE_UNUSED): Define in terms of _GL_ATTRIBUTE_MAYBE_UNUSED, for forwards compatibility to C2X. * lib/dfa.c (FALLTHROUGH): Define consistently with gl_COMMON_BODY. This is a copy since Gawk doesn’t use Gnulib. * lib/di-set.h (_GL_ATTRIBUTE_NONNULL): Remove definition that is incompatible with gl_COMMON_BODY’s. All uses changed. * lib/fts.c: Include attribte.h, for FALLTHROUGH. Keep the existing FALLTHROUGH definition since Glibc might use it, and it does no harm to Gnulib’s FALLTHROUGH. * lib/fts_.h, lib/inttostr.h: (__GNUC_PREREQ): Remove; no longer needed. (__attribute_warn_unused_result__): Remove. All uses replaced by _GL_ATTRIBUTE_NODISCARD. * lib/gl_list.h, lib/gl_map.h, lib/gl_omap.h, lib/gl_oset.h: * lib/gl_set.h: Prefer _GL_ATTRIBUTE_NODISCARD to an ifdeffed __attribute__ ((__warn_unused_result__)), for forward compatibility to C2X. * lib/hash.h (_GL_ATTRIBUTE_WUR): Remove. All uses replaced by _GL_ATTRIBUTE_NODISCARD. (_GL_ATTRIBUTE_DEPRECATED): Remove, since gl_COMMON_BODY defines it. * lib/ino-map.h (_GL_ATTRIBUTE_NONNULL): Remove. All uses replaced by gl_COMMON_BODY’s implementation, which has a slightly different signature. * lib/safe-alloc.h (_GL_ATTRIBUTE_RETURN_CHECK): Remove. All uses replaced by _GL_ATTRIBUTE_NODISCARD. * lib/unused-parameter.h (_GL_UNUSED_PARAMETER): Define in terms of _GL_ATTRIBUTE_MAYBE_UNUSED. No doubt all uses should be replaced, at some point. * m4/gnulib-common.m4 (_GL_GNUC_PREREQ): New macro. (_Noreturn): Use it. (_GL_HAS_ATTRIBUTE, _GL_ATTRIBUTE_ALLOC_SIZE) (_GL_ATTRIBUTE_ALWAYS_INLINE, _GL_ATTRIBUTE_ARTIFICIAL) (_GL_ATTRIBUTE_COLD) (_GL_ATTRIBUTE_DEPRECATED, _GL_ATTRIBUTE_ERROR) (_GL_ATTRIBUTE_WARNING, _GL_ATTRIBUTE_EXTERNALLY_VISIBLE) (_GL_ATTRIBUTE_FALLTHROUGH, _GL_ATTRIBUTE_FORMAT) (_GL_ATTRIBUTE_LEAF, _GL_ATTRIBUTE_MAY_ALIAS) (_GL_ATTRIBUTE_MAYBE_UNUSED) (_GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOINLINE) (_GL_ATTRIBUTE_NONNULL, _GL_ATTRIBUTE_NONSTRING) (_GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PACKED, _GL_ATTRIBUTE_PURE) (_GL_ATTRIBUTE_SENTINEL): New macros. * modules/backup-rename, modules/backupfile, modules/c-vasnprintf: * modules/fnmatch, modules/freopen-safer, modules/fts: * modules/mbrtoc32, modules/mbrtowc, modules/nstrftime: * modules/quotearg, modules/savewd: * modules/unistdio/u16-u16-vasnprintf: * modules/unistdio/u16-vasnprintf: * modules/unistdio/u32-u32-vasnprintf: * modules/unistdio/u32-vasnprintf: * modules/unistdio/u8-u8-vasnprintf: * modules/unistdio/u8-vasnprintf: * modules/unistdio/ulc-vasnprintf: * modules/unistr/u8-uctomb, modules/vasnprintf: (Depends-on:): Add attribute module.
* doc: Update for glibc 2.31.Bruno Haible2020-02-081-0/+2
| | | | | | | * doc/glibc-functions/pthread_clockjoin_np.texi: New file. * doc/gnulib.texi: Include it. * doc/pastposix-functions/h_errno.texi: Update. * doc/posix-functions/*.texi: Likewise.
* doc: Update license notices.Bruno Haible2020-01-181-0/+1
| | | | | * doc/*.texi: Reference the GFDL 1.3 through a URL, rather than by reference to a section or to a "file as part of this distribution".
* vcs-to-changelog: Add documentation.Siddhesh Poyarekar2020-01-161-0/+3
| | | | | | * doc/vcs-to-changelog.texi: New file. * doc/gnulib.texi (Build Infrastructure Modules): Add vcs-to-changelog section.
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* doc: Update for glibc 2.30.Bruno Haible2019-09-071-2/+23
| | | | | | | | | | | | | | | * doc/glibc-functions/gettid.texi: New file. * doc/glibc-functions/pthread_cond_clockwait.texi: New file. * doc/glibc-functions/pthread_mutex_clocklock.texi: New file. * doc/glibc-functions/pthread_rwlock_clockrdlock.texi: New file. * doc/glibc-functions/pthread_rwlock_clockwrlock.texi: New file. * doc/glibc-functions/sem_clockwait.texi: New file. * doc/glibc-functions/tgkill.texi: New file. * doc/glibc-functions/twalk_r.texi: New file. * doc/gnulib.texi: Include them. (Glibc semaphore.h): New section. * doc/pastposix-functions/h_errno.texi: Update. * doc/posix-functions/*.texi: Likewise.
* doc: Document most of the files outside of modules.Bruno Haible2019-08-241-0/+233
| | | | | * doc/gnulib.texi (Build Infrastructure Files, Release Management Files): New chapters.
* doc: Remove documentation of OSF/1 as supported platform.Bruno Haible2019-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/gnulib-intro.texi (Target Platforms): Mention that OSF/1 is unsupported. * doc/glibc-functions/getdomainname.texi: Don't mention OSF/1 specific workarounds. * doc/glibc-functions/pthread_setname_np.texi: Likewise. * doc/glibc-functions/ptsname_r.texi: Likewise. * doc/posix-functions/ceil.texi: Likewise. * doc/posix-functions/ceilf.texi: Likewise. * doc/posix-functions/ceill.texi: Likewise. * doc/posix-functions/fchdir.texi: Likewise. * doc/posix-functions/floor.texi: Likewise. * doc/posix-functions/floorf.texi: Likewise. * doc/posix-functions/fmod.texi: Likewise. * doc/posix-functions/fmodf.texi: Likewise. * doc/posix-functions/fmodl.texi: Likewise. * doc/posix-functions/log.texi: Likewise. * doc/posix-functions/logf.texi: Likewise. * doc/posix-functions/logl.texi: Likewise. * doc/posix-functions/log10.texi: Likewise. * doc/posix-functions/log10f.texi: Likewise. * doc/posix-functions/log10l.texi: Likewise. * doc/posix-functions/log2.texi: Likewise. * doc/posix-functions/log2f.texi: Likewise. * doc/posix-functions/log2l.texi: Likewise. * doc/posix-functions/mbrtowc.texi: Likewise. * doc/posix-functions/recv.texi: Likewise. * doc/posix-functions/recvfrom.texi: Likewise. * doc/posix-functions/remainder.texi: Likewise. * doc/posix-functions/remainderf.texi: Likewise. * doc/posix-functions/remainderl.texi: Likewise. * doc/posix-functions/round.texi: Likewise. * doc/posix-functions/roundf.texi: Likewise. * doc/posix-functions/roundl.texi: Likewise. * doc/posix-functions/send.texi: Likewise. * doc/posix-functions/sendto.texi: Likewise. * doc/posix-functions/setenv.texi: Likewise. * doc/posix-functions/snprintf.texi: Likewise. * doc/posix-functions/tcgetsid.texi: Likewise. * doc/posix-functions/trunc.texi: Likewise. * doc/posix-functions/truncf.texi: Likewise. * doc/posix-functions/truncl.texi: Likewise. * doc/posix-functions/ttyname_r.texi: Likewise. * doc/posix-functions/unsetenv.texi: Likewise. * doc/posix-functions/wcsrtombs.texi: Likewise. * doc/posix-headers/sys_select.texi: Likewise. * doc/posix-headers/wchar.texi: Likewise. * doc/posix-headers/wctype.texi: Likewise. * doc/**/*.texi: Update.
* argmatch: add support to generate the usage messageAkim Demaille2019-06-211-0/+3
| | | | | | | | | | | | | | * lib/argmatch.c: Move some #includes and gettext support to... * lib/argmatch.h: here. (ARGMATCH_DEFINE_GROUP): New macro. * tests/test-argmatch.c (argmatch_backup_docs, argmatch_backup_args) (argmatch_backup_group): New. (CHECK): New. (main): Check argmatch_backup_value, argmatch_backup_xvalue, argmatch_backup_argument and argmatch_backup_usage. * modules/argmatch: We depend on c99. * doc/argmatch.texi (Recognizing Option Arguments): New. * doc/gnulib.texi: Use it.
* doc: Mention posix_spawn_file_actions_add[f]chdir_np.Bruno Haible2019-06-101-2/+11
| | | | | | * doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi: New file. * doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi: New file. * doc/gnulib.texi (Glibc spawn.h): New section.
* doc: Mention getcpu.Bruno Haible2019-06-101-0/+2
| | | | | * doc/glibc-functions/getcpu.texi: New file. * doc/gnulib.texi (Glibc sched.h): Include it.
* doc: Mention the ISO C11 multithreading header and functions.Bruno Haible2019-06-101-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/posix-headers/threads.texi: New file. * doc/posix-functions/call_once.texi: New file. * doc/posix-functions/cnd_broadcast.texi: New file. * doc/posix-functions/cnd_destroy.texi: New file. * doc/posix-functions/cnd_init.texi: New file. * doc/posix-functions/cnd_signal.texi: New file. * doc/posix-functions/cnd_timedwait.texi: New file. * doc/posix-functions/cnd_wait.texi: New file. * doc/posix-functions/mtx_destroy.texi: New file. * doc/posix-functions/mtx_init.texi: New file. * doc/posix-functions/mtx_lock.texi: New file. * doc/posix-functions/mtx_timedlock.texi: New file. * doc/posix-functions/mtx_trylock.texi: New file. * doc/posix-functions/mtx_unlock.texi: New file. * doc/posix-functions/thrd_create.texi: New file. * doc/posix-functions/thrd_current.texi: New file. * doc/posix-functions/thrd_detach.texi: New file. * doc/posix-functions/thrd_equal.texi: New file. * doc/posix-functions/thrd_exit.texi: New file. * doc/posix-functions/thrd_join.texi: New file. * doc/posix-functions/thrd_sleep.texi: New file. * doc/posix-functions/thrd_yield.texi: New file. * doc/posix-functions/tss_create.texi: New file. * doc/posix-functions/tss_delete.texi: New file. * doc/posix-functions/tss_get.texi: New file. * doc/posix-functions/tss_set.texi: New file. * doc/gnulib.texi (Header File Substitutes): Include posix-headers/threads.texi. (Function Substitutes): Include the new posix-functions/*.texi files.
* doc: Mention statx.Bruno Haible2019-06-101-0/+2
| | | | | * doc/glibc-functions/statx.texi: New file. * doc/gnulib.texi (Glibc sys/stat.h): Include it.
* doc: Mention renameat2.Bruno Haible2019-06-101-0/+2
| | | | | * doc/glibc-functions/renameat2.texi: New file. * doc/gnulib.texi (Glibc stdio.h): Include it.
* doc: Mention more ISO TS 18661-1 <math.h> functions.Bruno Haible2019-06-101-0/+24
| | | | | | | | | | | | | | | | * doc/posix-functions/fadd.texi: New file. * doc/posix-functions/faddl.texi: New file. * doc/posix-functions/daddl.texi: New file. * doc/posix-functions/fsub.texi: New file. * doc/posix-functions/fsubl.texi: New file. * doc/posix-functions/dsubl.texi: New file. * doc/posix-functions/fmul.texi: New file. * doc/posix-functions/fmull.texi: New file. * doc/posix-functions/dmull.texi: New file. * doc/posix-functions/fdiv.texi: New file. * doc/posix-functions/fdivl.texi: New file. * doc/posix-functions/ddivl.texi: New file. * doc/gnulib.texi (Function Substitutes): Include them.
* doc: Mention pkey_alloc, pkey_set, pkey_get, pkey_free, pkey_mprotect.Bruno Haible2019-06-101-0/+10
| | | | | | | | | * doc/glibc-functions/pkey_alloc.texi: New file. * doc/glibc-functions/pkey_set.texi: New file. * doc/glibc-functions/pkey_get.texi: New file. * doc/glibc-functions/pkey_free.texi: New file. * doc/glibc-functions/pkey_mprotect.texi: New file. * doc/gnulib.texi (Glibc sys/mman.h): Include them.