Family: scandir
Authors: Berkeley Software Distribution, modified by K S Braunsdorf
Mail: ksb+pundit@npcguild.org
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.8 2013/01/13 18:21:08 ksb Exp $ by .