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