File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ fn test_openbsd(target: &str) {
430
430
"resolv.h" ,
431
431
"pthread.h" ,
432
432
"dlfcn.h" ,
433
+ "search.h" ,
433
434
"signal.h" ,
434
435
"string.h" ,
435
436
"sys/file.h" ,
Original file line number Diff line number Diff line change @@ -1014,9 +1014,11 @@ labs
1014
1014
lastlog
1015
1015
lcong48
1016
1016
lcong48_deterministic
1017
+ lfind
1017
1018
lockf
1018
1019
login_tty
1019
1020
lrand48
1021
+ lsearch
1020
1022
madvise
1021
1023
malloc_conceal
1022
1024
memmem
Original file line number Diff line number Diff line change @@ -1637,6 +1637,21 @@ extern "C" {
1637
1637
pub fn srand48_deterministic ( seed : :: c_long ) ;
1638
1638
pub fn seed48_deterministic ( xseed : * mut :: c_ushort ) -> * mut :: c_ushort ;
1639
1639
pub fn lcong48_deterministic ( p : * mut :: c_ushort ) ;
1640
+
1641
+ pub fn lsearch (
1642
+ key : * const :: c_void ,
1643
+ base : * mut :: c_void ,
1644
+ nelp : * mut :: size_t ,
1645
+ width : :: size_t ,
1646
+ compar : :: Option < unsafe extern "C" fn ( * const :: c_void , * const :: c_void ) -> :: c_int > ,
1647
+ ) -> * mut :: c_void ;
1648
+ pub fn lfind (
1649
+ key : * const :: c_void ,
1650
+ base : * const :: c_void ,
1651
+ nelp : * mut :: size_t ,
1652
+ width : :: size_t ,
1653
+ compar : :: Option < unsafe extern "C" fn ( * const :: c_void , * const :: c_void ) -> :: c_int > ,
1654
+ ) -> * mut :: c_void ;
1640
1655
}
1641
1656
1642
1657
#[ link( name = "execinfo" ) ]
You can’t perform that action at this time.
0 commit comments