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 11getentropy
22posix_fallocate64
3+ getpwnam_r
4+ getpwuid_r
Original file line number Diff line number Diff line change @@ -1774,6 +1774,21 @@ extern "C" {
17741774 ) -> :: c_int ;
17751775
17761776 pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
1777+
1778+ pub fn getpwnam_r (
1779+ name : * const :: c_char ,
1780+ pwd : * mut passwd ,
1781+ buf : * mut :: c_char ,
1782+ buflen : :: size_t ,
1783+ result : * mut * mut passwd ,
1784+ ) -> :: c_int ;
1785+ pub fn getpwuid_r (
1786+ uid : :: uid_t ,
1787+ pwd : * mut passwd ,
1788+ buf : * mut :: c_char ,
1789+ buflen : :: size_t ,
1790+ result : * mut * mut passwd ,
1791+ ) -> :: c_int ;
17771792}
17781793
17791794// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
You can’t perform that action at this time.
0 commit comments