Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / gen / dirent_private.h
blob406e71e5de62c31d6801392ea2b1cb85280bf448
1 /* $NetBSD: dirent_private.h,v 1.1 2006/05/17 20:36:50 christos Exp $ */
3 /*
4 * One struct _dirpos is malloced to describe the current directory
5 * position each time telldir is called. It records the current magic
6 * cookie returned by getdirentries and the offset within the buffer
7 * associated with that return value.
8 */
9 struct dirpos {
10 struct dirpos *dp_next; /* next structure in list */
11 off_t dp_seek; /* magic cookie returned by getdirentries */
12 long dp_loc; /* offset of entry in buffer */
15 struct _dirdesc;
16 void _seekdir_unlocked(struct _dirdesc *, long);
17 long _telldir_unlocked(struct _dirdesc *);
18 #ifndef __LIBC12_SOURCE__
19 struct dirent;
20 struct dirent *_readdir_unlocked(struct _dirdesc *, int)
21 __RENAME(___readdir_unlocked50);
22 #endif