File:  [Research Unix] / researchv10no / cmd / face / dirent.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

/*
 * pick one of three versions of the `portable' directory-reading
 * routines: research, bsd, system V.
 * there really should be at most two.
 *
 * <sys/types.h> has already been included.
 * the result should provide struct dirent.
 */

#define	DIR_RES	1
#define	DIR_BSD	0
#define	DIR_SV	0

#if DIR_RES
#include <ndir.h>
#define	dirent	direct
#endif

#if DIR_BSD
#include <sys/dir.h>
#define	dirent	direct
#endif

#if DIR_SV
#include <dirent.h>
/* already struct dirent */
#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.