telldir.h (69841) | telldir.h (71579) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Copyright (c) 2000 6 * Daniel Eischen. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Copyright (c) 2000 6 * Daniel Eischen. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/lib/libc/gen/telldir.h 69841 2000-12-11 04:00:36Z deischen $ | 32 * $FreeBSD: head/lib/libc/gen/telldir.h 71579 2001-01-24 13:01:12Z deischen $ |
33 */ 34 35#ifndef _TELLDIR_H_ 36#define _TELLDIR_H_ 37 38#include <sys/queue.h> 39 40/* --- 13 unchanged lines hidden (view full) --- 54 * One of these structures is malloced for each DIR to record telldir 55 * positions. 56 */ 57struct _telldir { 58 LIST_HEAD(, ddloc) td_locq; /* list of locations */ 59 long td_loccnt; /* index of entry for sequential readdir's */ 60}; 61 | 33 */ 34 35#ifndef _TELLDIR_H_ 36#define _TELLDIR_H_ 37 38#include <sys/queue.h> 39 40/* --- 13 unchanged lines hidden (view full) --- 54 * One of these structures is malloced for each DIR to record telldir 55 * positions. 56 */ 57struct _telldir { 58 LIST_HEAD(, ddloc) td_locq; /* list of locations */ 59 long td_loccnt; /* index of entry for sequential readdir's */ 60}; 61 |
62void _reclaim_telldir __P((DIR *)); 63void _seekdir __P((DIR *, long)); | 62struct dirent *_readdir_unlocked(DIR *); 63void _reclaim_telldir(DIR *); 64void _seekdir(DIR *, long); |
64 65#endif | 65 66#endif |