diff options
author | David Carlier <devnexen@gmail.com> | 2023-04-13 19:35:51 +0100 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2023-04-13 19:35:51 +0100 |
commit | 8f3b088454bb906058d1b87ab2bcec52ed8ad522 (patch) | |
tree | 42bccb618ad3d94e270f558958ed6be4c086c651 /src/unix/redox/mod.rs | |
parent | 88740efbf6e093bb021f2b67e518e247a47a61fd (diff) | |
download | rust-libc-8f3b088454bb906058d1b87ab2bcec52ed8ad522.tar.gz |
adding getdtablesize on redox
Diffstat (limited to 'src/unix/redox/mod.rs')
-rw-r--r-- | src/unix/redox/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index 6661ea7358..dec47c610b 100644 --- a/src/unix/redox/mod.rs +++ b/src/unix/redox/mod.rs @@ -993,6 +993,7 @@ extern "C" { // unistd.h pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int; + pub fn getdtablesize() -> ::c_int; // malloc.h pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void; |