diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-27 14:47:55 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-27 14:47:55 +0000 |
commit | 2ecbc559282fd45c9557838be6129a2575f3c4c4 (patch) | |
tree | 576758058c7711158b8ee8d6761433b90c7d28c3 /libc/misc/glob/glob64-susv3.c | |
parent | 22f05b29610faa5eaabec5821c8f6cd12ed0294e (diff) |
Rich Felker's glob() ported to uClibc
Diffstat (limited to 'libc/misc/glob/glob64-susv3.c')
-rw-r--r-- | libc/misc/glob/glob64-susv3.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/misc/glob/glob64-susv3.c b/libc/misc/glob/glob64-susv3.c new file mode 100644 index 000000000..cc633cd88 --- /dev/null +++ b/libc/misc/glob/glob64-susv3.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2006 Rich Felker <dalias@aerifal.cx> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include <_lfs_64.h> + +#include <dirent.h> +#include <glob.h> +#include <sys/stat.h> + +#define glob_t glob64_t +#define glob(pattern, flags, errfunc, pglob) \ + glob64 (pattern, flags, errfunc, pglob) +#define globfree(pglob) globfree64 (pglob) + +#define __GLOB64 1 + +#include "glob-susv3.c" |