mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
0a13c9e9de
* manual/examples/strncat.c: Remove. This example was misleading, as the code would have undefined behavior if "hello" was longer than SIZE. Anyway, the manual shouldn't encourage strncpy+strncat for this sort of thing. * manual/string.texi (Copying Strings and Arrays): Split into three sections Copying Strings and Arrays, Concatenating Strings, and Truncating Strings, as this section was way too long. All cross-referenced changed. Add advice about string-truncation functions. Remove misleading strncat example. |
||
---|---|---|
.. | ||
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 | ||
genpass.c | ||
inetcli.c | ||
inetsrv.c | ||
isockad.c | ||
longopt.c | ||
memopen.c | ||
memstrm.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 | ||
testopt.c | ||
testpass.c | ||
timeval_subtract.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.