Skip to content

Commit eed2acb

Browse files
committed
1 parent 181b043 commit eed2acb

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

libc-test/semver/solarish.txt

+2
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ posix_spawnattr_setsigmask
7878
posix_spawnp
7979
recvmsg
8080
sendmsg
81+
strftime
82+
strftime_l

src/unix/solarish/mod.rs

+14
Original file line numberDiff line numberDiff line change
@@ -3202,6 +3202,20 @@ extern "C" {
32023202
pub fn arc4random_uniform(upper_bound: u32) -> u32;
32033203

32043204
pub fn secure_getenv(name: *const c_char) -> *mut c_char;
3205+
3206+
pub fn strftime(
3207+
s: *mut c_char,
3208+
maxsize: size_t,
3209+
format: *const c_char,
3210+
timeptr: *const crate::tm,
3211+
) -> size_t;
3212+
pub fn strftime_l(
3213+
s: *mut c_char,
3214+
maxsize: size_t,
3215+
format: *const c_char,
3216+
timeptr: *const crate::tm,
3217+
loc: crate::locale_t,
3218+
) -> size_t;
32053219
}
32063220

32073221
#[link(name = "sendfile")]

0 commit comments

Comments
 (0)