summaryrefslogtreecommitdiff
path: root/lib/libc/gen/telldir.h
AgeCommit message (Collapse)Author
2007-10-12fix typo in _telldir_unlocked function prototype, to avoid warning.Charles Longeau
while there, put all function prototypes in header file. ok kurt@
2006-04-10telldir/seekdir optimization, avoid scanning the complete list,Otto Moerbeek
while still returning the correct index for seekdir(); telldir() Tested by Fred Crowson and others; "put it in" deraadt@
2006-04-01- Plug huge mem leak; mostly samba was suffering.Otto Moerbeek
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code that implements this will be made faster in a later commit. - We loose documented behaviour (after closedir() the telldir() positions are not valid anymore). This was never in Posix, and most other systems have nothing like it. Diff originally from Paul Thorn, rewritten by me using some FreeBSD code. "slap it in" deraadt@