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