8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / test / libc-tests / cfg / symbols / dirent_h.cfg
blob0ff030f3ef306f16138f6e43ca20ccc083b862a2
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
17 # Definitions found in dirent.h
19 # Note that this header is not defined prior to the POSIX & XPG3
20 # specifications.  Therefore, applications which #include it in earlier
21 # environments may reasonably obtain their contents, although such use
22 # would not be conformant to those specifications.
24 # As a result, we only test the newer specifications.
28 # Types.
30 type |  DIR *           | dirent.h | XPG3+ POSIX+
31 type |  struct dirent   | dirent.h | XPG3+ POSIX+
34 # Values.
38 # Functions
41 func |  opendir                                                         |\
42         DIR *                                                           |\
43         const char *                                                    |\
44         dirent.h | POSIX+ XPG3+
46 func |  readdir                                                         |\
47         struct dirent *                                                 |\
48         DIR *                                                           |\
49         dirent.h | POSIX+ XPG3+
51 # We are not going to test the draft interface.
52 func |  readdir_r                                                       |\
53         int                                                             |\
54         DIR *; struct dirent *; struct dirent **                        |\
55         dirent.h | POSIX-1995+
57 func |  rewinddir                                                       |\
58         void                                                            |\
59         DIR * | dirent.h | POSIX+ XPG3+
61 func |  seekdir                                                         |\
62         void                                                            |\
63         DIR *; long                                                     |\
64         dirent.h | -POSIX+ XPG3+
66 func |  telldir                                                         |\
67         long                                                            |\
68         DIR *                                                           |\
69         dirent.h | -POSIX+ XPG3+