summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/scandir.c
blob: 380415dd97316e26ecefefc207f03e96125f500e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *  scandir() - POSIX 1003.1b - XXX
 *
 *  $Id$
 */

#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

int scandir(
  const char      *dirname,
  struct dirent ***namelist,
  int             (*select)(struct dirent *),
  int             (*dcomp)(const void *, const void *)
)
{
  errno = ENOSYS;
  return -1;
}