File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1207,6 +1207,8 @@ extern "C" {
1207
1207
tokens : * const * mut c_char ,
1208
1208
valuep : * mut * mut c_char ,
1209
1209
) -> c_int ;
1210
+ pub fn mkostemp ( template : * mut c_char , flags : c_int ) -> c_int ;
1211
+ pub fn mkostemps ( template : * mut c_char , suffixlen : c_int , flags : c_int ) -> c_int ;
1210
1212
pub fn reallocarray ( ptr : * mut c_void , nmemb : size_t , size : size_t ) -> * mut c_void ;
1211
1213
1212
1214
// string.h
@@ -1276,6 +1278,12 @@ extern "C" {
1276
1278
// time.h
1277
1279
pub fn gettimeofday ( tp : * mut crate :: timeval , tz : * mut crate :: timezone ) -> c_int ;
1278
1280
pub fn clock_gettime ( clk_id : crate :: clockid_t , tp : * mut crate :: timespec ) -> c_int ;
1281
+ pub fn strftime (
1282
+ s : * mut c_char ,
1283
+ max : size_t ,
1284
+ format : * const c_char ,
1285
+ tm : * const crate :: tm ,
1286
+ ) -> size_t ;
1279
1287
1280
1288
// utmp.h
1281
1289
pub fn login_tty ( fd : c_int ) -> c_int ;
You can’t perform that action at this time.
0 commit comments