telldir.h (270002) | telldir.h (282979) |
---|---|
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: stable/10/lib/libc/gen/telldir.h 270002 2014-08-14 20:20:21Z jhb $ | 32 * $FreeBSD: stable/10/lib/libc/gen/telldir.h 282979 2015-05-15 15:49:24Z julian $ |
33 */ 34 35#ifndef _TELLDIR_H_ 36#define _TELLDIR_H_ 37 38#include <sys/queue.h> 39#include <stdbool.h> 40 --- 18 unchanged lines hidden (view full) --- 59 LIST_HEAD(, ddloc) td_locq; /* list of locations */ 60 long td_loccnt; /* index of entry for sequential readdir's */ 61}; 62 63bool _filldir(DIR *, bool); 64struct dirent *_readdir_unlocked(DIR *, int); 65void _reclaim_telldir(DIR *); 66void _seekdir(DIR *, long); | 33 */ 34 35#ifndef _TELLDIR_H_ 36#define _TELLDIR_H_ 37 38#include <sys/queue.h> 39#include <stdbool.h> 40 --- 18 unchanged lines hidden (view full) --- 59 LIST_HEAD(, ddloc) td_locq; /* list of locations */ 60 long td_loccnt; /* index of entry for sequential readdir's */ 61}; 62 63bool _filldir(DIR *, bool); 64struct dirent *_readdir_unlocked(DIR *, int); 65void _reclaim_telldir(DIR *); 66void _seekdir(DIR *, long); |
67void _fixtelldir(DIR *dirp, long oldseek, long oldloc); |
|
67 68#endif | 68 69#endif |