File tree 4 files changed +30
-2
lines changed
src/unix/linux_like/linux
4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -653,4 +653,8 @@ utmpname
653
653
utmpx
654
654
utmpxname
655
655
euidaccess
656
- eaccess
656
+ eaccess
657
+ asctime_r
658
+ ctime_r
659
+ strftime
660
+ strptime
Original file line number Diff line number Diff line change @@ -49,4 +49,7 @@ pwritev64
49
49
reallocarray
50
50
timex
51
51
euidaccess
52
- eaccess
52
+ eaccess
53
+ asctime_r
54
+ strftime
55
+ strptime
Original file line number Diff line number Diff line change @@ -1335,6 +1335,17 @@ extern "C" {
1335
1335
1336
1336
pub fn euidaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
1337
1337
pub fn eaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
1338
+
1339
+ pub fn asctime_r ( tm : * const :: tm , buf : * mut :: c_char ) -> * mut :: c_char ;
1340
+ pub fn ctime_r ( timep : * const time_t , buf : * mut :: c_char ) -> * mut :: c_char ;
1341
+
1342
+ pub fn strftime (
1343
+ s : * mut :: c_char ,
1344
+ max : :: size_t ,
1345
+ format : * const :: c_char ,
1346
+ tm : * const :: tm ,
1347
+ ) -> :: size_t ;
1348
+ pub fn strptime ( s : * const :: c_char , format : * const :: c_char , tm : * mut :: tm ) -> * mut :: c_char ;
1338
1349
}
1339
1350
1340
1351
extern "C" {
Original file line number Diff line number Diff line change @@ -757,6 +757,16 @@ extern "C" {
757
757
758
758
pub fn euidaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
759
759
pub fn eaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
760
+
761
+ pub fn asctime_r ( tm : * const :: tm , buf : * mut :: c_char ) -> * mut :: c_char ;
762
+
763
+ pub fn strftime (
764
+ s : * mut :: c_char ,
765
+ max : :: size_t ,
766
+ format : * const :: c_char ,
767
+ tm : * const :: tm ,
768
+ ) -> :: size_t ;
769
+ pub fn strptime ( s : * const :: c_char , format : * const :: c_char , tm : * mut :: tm ) -> * mut :: c_char ;
760
770
}
761
771
762
772
cfg_if ! {
You can’t perform that action at this time.
0 commit comments