xref: /titanic_44/usr/src/test/libc-tests/cfg/symbols/dirent_h.cfg (revision de572d98af8238405c5d1292a788b1a85b0c68eb)
1*de572d98SGarrett D'Amore#
2*de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3*de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4*de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5*de572d98SGarrett D'Amore# 1.0 of the CDDL.
6*de572d98SGarrett D'Amore#
7*de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8*de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9*de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10*de572d98SGarrett D'Amore#
11*de572d98SGarrett D'Amore
12*de572d98SGarrett D'Amore#
13*de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14*de572d98SGarrett D'Amore#
15*de572d98SGarrett D'Amore
16*de572d98SGarrett D'Amore#
17*de572d98SGarrett D'Amore# Definitions found in dirent.h
18*de572d98SGarrett D'Amore#
19*de572d98SGarrett D'Amore# Note that this header is not defined prior to the POSIX & XPG3
20*de572d98SGarrett D'Amore# specifications.  Therefore, applications which #include it in earlier
21*de572d98SGarrett D'Amore# environments may reasonably obtain their contents, although such use
22*de572d98SGarrett D'Amore# would not be conformant to those specifications.
23*de572d98SGarrett D'Amore#
24*de572d98SGarrett D'Amore# As a result, we only test the newer specifications.
25*de572d98SGarrett D'Amore#
26*de572d98SGarrett D'Amore
27*de572d98SGarrett D'Amore#
28*de572d98SGarrett D'Amore# Types.
29*de572d98SGarrett D'Amore#
30*de572d98SGarrett D'Amoretype |	DIR *		| dirent.h | XPG3+ POSIX+
31*de572d98SGarrett D'Amoretype |	struct dirent	| dirent.h | XPG3+ POSIX+
32*de572d98SGarrett D'Amore
33*de572d98SGarrett D'Amore#
34*de572d98SGarrett D'Amore# Values.
35*de572d98SGarrett D'Amore#
36*de572d98SGarrett D'Amore
37*de572d98SGarrett D'Amore#
38*de572d98SGarrett D'Amore# Functions
39*de572d98SGarrett D'Amore#
40*de572d98SGarrett D'Amore
41*de572d98SGarrett D'Amorefunc |	opendir								|\
42*de572d98SGarrett D'Amore	DIR *								|\
43*de572d98SGarrett D'Amore	const char *							|\
44*de572d98SGarrett D'Amore	dirent.h | POSIX+ XPG3+
45*de572d98SGarrett D'Amore
46*de572d98SGarrett D'Amorefunc |	readdir								|\
47*de572d98SGarrett D'Amore	struct dirent *							|\
48*de572d98SGarrett D'Amore	DIR *								|\
49*de572d98SGarrett D'Amore	dirent.h | POSIX+ XPG3+
50*de572d98SGarrett D'Amore
51*de572d98SGarrett D'Amore# We are not going to test the draft interface.
52*de572d98SGarrett D'Amorefunc |	readdir_r							|\
53*de572d98SGarrett D'Amore	int								|\
54*de572d98SGarrett D'Amore	DIR *; struct dirent *; struct dirent **			|\
55*de572d98SGarrett D'Amore	dirent.h | POSIX-1995+
56*de572d98SGarrett D'Amore
57*de572d98SGarrett D'Amorefunc |	rewinddir							|\
58*de572d98SGarrett D'Amore	void								|\
59*de572d98SGarrett D'Amore	DIR * | dirent.h | POSIX+ XPG3+
60*de572d98SGarrett D'Amore
61*de572d98SGarrett D'Amorefunc |	seekdir								|\
62*de572d98SGarrett D'Amore	void								|\
63*de572d98SGarrett D'Amore	DIR *; long							|\
64*de572d98SGarrett D'Amore	dirent.h | -POSIX+ XPG3+
65*de572d98SGarrett D'Amore
66*de572d98SGarrett D'Amorefunc |	telldir								|\
67*de572d98SGarrett D'Amore	long								|\
68*de572d98SGarrett D'Amore	DIR *								|\
69*de572d98SGarrett D'Amore	dirent.h | -POSIX+ XPG3+
70