glibc/manual/examples
Florian Weimer 137fe72eca glob: Simplify the interface for the GLOB_ALTDIRFUNC callback gl_readdir
Previously, application code had to set up the d_namlen member if
the target supported it, involving conditional compilation.  After
this change, glob will use the length of the string in d_name instead
of d_namlen to determine the file name length.  All glibc targets
provide the d_type and d_ino members, and setting them as needed for
gl_readdir is straightforward.

Changing the behavior with regards to d_ino is left to a future
cleanup.
2016-04-29 09:35:30 +02:00
..
README
add.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
argp-ex1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
argp-ex2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
argp-ex3.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
argp-ex4.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
atexit.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dir.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dir2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
execinfo.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
filecli.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
filesrv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fmtmsgexpl.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
genpass.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
inetcli.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
inetsrv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
isockad.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
longopt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memopen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
memstrm.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mkdirent.c glob: Simplify the interface for the GLOB_ALTDIRFUNC callback gl_readdir 2016-04-29 09:35:30 +02:00
mkfsock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mkisock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mygetpass.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ofdlocks.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pipe.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
popen.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rprintf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
search.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
setjmp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigh1.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sigusr.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
stpcpy.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strdupa.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
strftim.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
subopt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
swapcontext.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
termios.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
testopt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
testpass.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
timeval_subtract.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00: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.