Skip to content

Commit b6d5899

Browse files
committed
FreeBSD: add strchrnul
1 parent e8a80da commit b6d5899

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2110,6 +2110,7 @@ stack_t
21102110
statfs
21112111
strcasecmp
21122112
strcasestr
2113+
strchrnul
21132114
strncasecmp
21142115
strndup
21152116
strsignal

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5250,6 +5250,8 @@ extern "C" {
52505250
rmtp: *mut ::timespec,
52515251
) -> ::c_int;
52525252

5253+
pub fn strchrnul(s: *const ::c_char, c: ::c_int) -> *mut ::c_char;
5254+
52535255
pub fn shm_create_largepage(
52545256
path: *const ::c_char,
52555257
flags: ::c_int,

0 commit comments

Comments
 (0)