glibc/manual/examples
Carlos O'Donell 3cbaacdfd2 manual: Fix termios.c example. (Bug 31078)
Remove the unused 'char *name;' from the example.

Use write instead of putchar to write input as it is read.

Example tested on x86_64 by compiling and running the example.

Tested by building the manual pdf and reviewing the results.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2023-11-20 16:42:23 -05:00
..
add.c
argp-ex1.c
argp-ex2.c
argp-ex3.c
argp-ex4.c
atexit.c
db.c
dir2.c
dir.c
execinfo.c
filecli.c
filesrv.c
fmtmsgexpl.c
inetcli.c
inetsrv.c
isockad.c
longopt.c
mbstouwcs.c
memopen.c
memstrm.c
mkdirent.c
mkfsock.c
mkisock.c
mygetpass.c
ofdlocks.c
pipe.c
popen.c
README
rprintf.c
search.c
select.c
setjmp.c
sigh1.c
sigusr.c
stpcpy.c
strdupa.c
strftim.c
subopt.c
swapcontext.c
termios.c manual: Fix termios.c example. (Bug 31078) 2023-11-20 16:42:23 -05:00
testopt.c
timeval_subtract.c
twalk.c

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.