NAME

ndir - directory compatibility functions

SYNOPSIS

#include "ndir.h"
DIR *opendir(name)
char *name;

closedir(dip)
DIR *dirp;

struct direct *readdir(dirp)
DIR *dirp;

seekdir(dirp, loc)
DIR *dirp;
long loc;

long telldir(dirp)
DIR *dirp;

DESCRIPTION

These functions support directory reading for readdir(misc).  Berkeley 4.2 UNIX (and its descendants) have directories with an unusual structure and a set of functions to read them as part of their C libraries.  These functions are provided for other UNIX systems which have ordinary directories.  These functions read ordinary directories and are used in the same manner as the Berkeley routines. 

These functions are described no further as the user is expected to read directories in the manner appropriate for the user’s system. 

SEE ALSO

readdir(misc)

from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber