https://github.com/darealshinji/glob-dirent-win32
glob(3) for Windows
https://github.com/darealshinji/glob-dirent-win32
Last synced: 3 months ago
JSON representation
glob(3) for Windows
- Host: GitHub
- URL: https://github.com/darealshinji/glob-dirent-win32
- Owner: darealshinji
- License: other
- Created: 2023-11-20T22:21:38.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-04T19:08:42.000Z (almost 2 years ago)
- Last Synced: 2025-06-05T03:28:37.799Z (4 months ago)
- Language: C
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a port of the POSIX C function glob(3) to Windows.
It can be compiled with MinGW and MSVC.
On MSVC `dirent.c` is needed as a dependency of glob(3).The flag `GLOB_WIN32` was added and can be set to change the behavior
to a more Windows-like style:
* the character `^` will be used as an escape character instead of `\`
* forward `/` and backward `\` slash can both be used as path separators`glob.c` and `glob.h` came from NetBSD:
https://github.com/NetBSD/src`dirent.c` and `dirent.h` came from MinGW-w64:
https://github.com/mingw-w64/mingw-w64