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 @@ -1776,6 +1776,21 @@ extern "C" {
17761776 ) -> :: c_int ;
17771777
17781778 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 ;
17791794}
17801795
17811796// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
You can’t perform that action at this time.
0 commit comments