summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents.c
AgeCommit message (Collapse)Author
2006-07-05Atsushi Nemoto writes: Some archs (such as mips64) do not have getdents64 ↵Mike Frysinger
syscall but have getdents syscall. Define alias for it.
2006-02-15Kill 2 signedness warningsPeter S. Mazinger
2006-02-15Move hidden prototypes to proper place and get rid of duplicate hiddenPeter S. Mazinger
2006-02-15we cant simply alias getdents to getdents64 as they deal with structures of ↵Mike Frysinger
different sizes on 32bit hosts
2006-02-04use just __getdents64 rather than either __getdents and __getdents64 when ↵Mike Frysinger
possible (saves space and gives us access to d_type most of the time)
2006-01-29create local prototypes to shutup warningsMike Frysinger
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-06only define offsetof macro if it isnt already definedMike Frysinger
2005-12-01Kill 2 redefine warnings w/ gcc-4.xPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-30get rid of unused sysdep.h headerMike Frysinger
2005-11-15Hide more of stdio,getdents, use internal __raisePeter S. Mazinger
2005-10-25Use local copy of sysdep.hPeter S. Mazinger
2003-02-10We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen
so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik
2003-01-28Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen
and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
2001-06-27Remove obsolete files tell.c and getdents.cManuel Novoa III
2000-12-23Just define __kernel_off_t ourselves...Eric Andersen
2000-12-21This file violated policy and directly used kernel headers.Eric Andersen
This fixes it by using our own copy of the stuct in question.
2000-10-30First pass at fixing readdir by adding a getdents wrapper...Eric Andersen