Implement POSIX support for Linux for the following facilities:

- fnmatch
- grp
- langinfo
- locale
This commit is contained in:
Isaac Andrade
2024-08-30 19:45:56 -06:00
parent 3557955f53
commit 575aedc3bf
5 changed files with 260 additions and 5 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ foreign lib {
getgrnam_r :: proc(name: cstring, grp: ^group, buffer: [^]byte, bufsize: c.size_t, result: ^^group) -> Errno ---
}
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD {
when ODIN_OS == .Darwin || ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD || ODIN_OS == .OpenBSD || ODIN_OS == .Linux {
gid_t :: distinct c.uint32_t