We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getpwnam_r
getpwuid_r
1 parent 5951de5 commit a37cddeCopy full SHA for a37cdde
libc-test/semver/emscripten.txt
@@ -1,2 +1,4 @@
1
getentropy
2
posix_fallocate64
3
+getpwnam_r
4
+getpwuid_r
src/unix/linux_like/emscripten/mod.rs
@@ -1776,6 +1776,21 @@ extern "C" {
1776
) -> ::c_int;
1777
1778
pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
1779
+
1780
+ pub fn getpwnam_r(
1781
+ name: *const ::c_char,
1782
+ pwd: *mut passwd,
1783
+ buf: *mut ::c_char,
1784
+ buflen: ::size_t,
1785
+ result: *mut *mut passwd,
1786
+ ) -> ::c_int;
1787
+ pub fn getpwuid_r(
1788
+ uid: ::uid_t,
1789
1790
1791
1792
1793
1794
}
1795
1796
// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
0 commit comments