Skip to content

Commit 02d775b

Browse files
committed
Auto merge of #3199 - devnexen:redox_getdtablesize, r=JohnTitor
adding getdtablesize on redox
2 parents 95ce1ff + 8f3b088 commit 02d775b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/redox.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ getrlimit
194194
getrusage
195195
getservbyport
196196
getservent
197+
getdtablesize
197198
killpg
198199
lockf
199200
madvise

src/unix/redox/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ extern "C" {
993993

994994
// unistd.h
995995
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
996+
pub fn getdtablesize() -> ::c_int;
996997

997998
// malloc.h
998999
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;

0 commit comments

Comments
 (0)