Cross Reference: compat_scandir.c
xref: /src/lib/libc/compat/gen/compat_scandir.c
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libc/compat/gen/
11.2Smrg/*	$NetBSD: compat_scandir.c,v 1.2 2016/12/16 04:45:04 mrg Exp $	*/
21.1Schristos
31.1Schristos#include <sys/stat.h>
41.1Schristos#define __LIBC12_SOURCE__
51.1Schristos#include "namespace.h"
61.1Schristos#include <dirent.h>
71.1Schristos#include <compat/include/dirent.h>
81.1Schristos
91.1Schristos#ifdef __weak_alias
101.1Schristos__weak_alias(scandir,_scandir)
111.1Schristos#endif
121.1Schristos
131.1Schristos#ifdef __warn_references
141.1Schristos__warn_references(scandir,
151.1Schristos    "warning: reference to compatibility scandir(); include <dirent.h> for correct reference")
161.1Schristos#endif
171.1Schristos
181.1Schristos#define dirent dirent12
191.2Smrg#define COMPARARG void *
201.1Schristos
211.1Schristos#include "gen/scandir.c"
22

Indexes created Mon Nov 10 17:20:41 GMT 2025