glibc/manual/examples
Collin Funk 6e3e14fd4c manual: Use sys/select.h instead of sys/time.h for select example.
The original example works on glibc since sys/time.h includes
sys/select.h. However, since POSIX requires that select is defined in
sys/select.h this change makes the example more portable.

Reported by Gavin Smith <gavinsmith0123@gmail.com> in:
<https://lists.gnu.org/archive/html/bug-texinfo/2025-07/msg00091.html>.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-08-04 11:16:23 -03:00
..
README
add.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
argp-ex1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
argp-ex2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
argp-ex3.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
argp-ex4.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
atexit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
db.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dir.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dir2.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
execinfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
filecli.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
filesrv.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fmtmsgexpl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
inetcli.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
inetsrv.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
isockad.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
longopt.c manual: tidy the longopt.c example 2025-03-31 10:34:51 -03:00
mbstouwcs.c
memopen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
memstrm.c manual: Add missing free to open_memstream example [BZ #27866] 2025-06-25 14:26:32 +02:00
mkdirent.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mkfsock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mkisock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mygetpass.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ofdlocks.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pipe.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
popen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
rprintf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
search.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
select.c manual: Use sys/select.h instead of sys/time.h for select example. 2025-08-04 11:16:23 -03:00
setjmp.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigh1.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigusr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stpcpy.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
strdupa.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
strftim.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
subopt.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
swapcontext.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
termios.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
testopt.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
timespec_subtract.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
twalk.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00

README

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.