File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/unix/linux_like/emscripten Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1
1
getentropy
2
2
posix_fallocate64
3
+ getpwnam_r
4
+ getpwuid_r
Original file line number Diff line number Diff line change @@ -1776,6 +1776,21 @@ extern "C" {
1776
1776
) -> :: c_int ;
1777
1777
1778
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
+ pwd : * mut passwd ,
1790
+ buf : * mut :: c_char ,
1791
+ buflen : :: size_t ,
1792
+ result : * mut * mut passwd ,
1793
+ ) -> :: c_int ;
1779
1794
}
1780
1795
1781
1796
// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
You can’t perform that action at this time.
0 commit comments