Family: scandir
Authors: Berkeley Software Distribution, modified by K S Braunsdorf
Mail: ksb@sa.fedex.com
Version: 1.2
Bugs: None known.

Introduction

When you need scandir(3) and you don't have it you need this code.

Configuration

None.

Provides

scandir(char *dirname, struct dirent *(*namelist[]), int (*select)(), int (*dcomp)())
Just like scandir on a BSD system but it uses the "dirent" rather than "direct" structure.
alphasort(struct dirent **d1, struct dirent **d2)
Just like alphasort under BSD.

To Do List

Make more portable.
$Id: scandir.html,v 6.4 2010/08/13 17:26:00 ksb Exp $