1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)dirent.h 8.2 (Berkeley) 7/28/94 |
34 * $FreeBSD: head/include/dirent.h 53892 1999-11-29 19:12:50Z alfred $ |
35 */ 36 37#ifndef _DIRENT_H_ 38#define _DIRENT_H_ 39 40/* 41 * The kernel defines the format of directory entries returned by 42 * the getdirentries(2) system call. --- 47 unchanged lines hidden (view full) --- 90#ifndef _POSIX_SOURCE 91DIR *__opendir2 __P((const char *, int)); 92long telldir __P((const DIR *)); 93void seekdir __P((DIR *, long)); 94int scandir __P((const char *, struct dirent ***, 95 int (*)(struct dirent *), int (*)(const void *, const void *))); 96int alphasort __P((const void *, const void *)); 97int getdirentries __P((int, char *, int, long *)); |
98int readdir_r __P((DIR *, struct dirent *, struct dirent **)); |
99#endif /* not POSIX */ |
100__END_DECLS 101 102#endif /* !KERNEL */ 103 104#endif /* !_DIRENT_H_ */ |