glibc/manual/examples
Paul Eggert 7c1ec1b7d0 Minor code improvement to timespec_subtract example
This saves a few instructions.
BORROW cannot be -1, since NSEC_DIFF is at most 999999999.
Idea taken from Gnulib, here:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=fe33f943054b93af8b965ce6564b8713b0979a21
2024-06-15 08:53:50 -07:00
..
add.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
argp-ex1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
argp-ex2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
argp-ex3.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
argp-ex4.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
atexit.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
db.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dir2.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
dir.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
execinfo.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
filecli.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
filesrv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fmtmsgexpl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
inetcli.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
inetsrv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
isockad.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
longopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mbstouwcs.c manual: Various fixes to the mbstouwcs example, and mbrtowc update 2018-04-05 12:52:19 +02:00
memopen.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
memstrm.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mkdirent.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mkfsock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mkisock.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mygetpass.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ofdlocks.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
pipe.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
popen.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
README
rprintf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
search.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
select.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
setjmp.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigh1.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
sigusr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stpcpy.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strdupa.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strftim.c Modernize and fix doc’s “Date and Time” (BZ 31876) 2024-06-15 08:53:50 -07:00
subopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
swapcontext.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
termios.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
testopt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
timespec_subtract.c Minor code improvement to timespec_subtract example 2024-06-15 08:53:50 -07:00
twalk.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00

These are source files for example code that appears in The GNU C
Library Reference Manual.

While the manual itself is licensed under the terms of the GNU Free
Documentation License, you can use these source files on their own
under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License, or (at your
option) any later version.