File tree Expand file tree Collapse file tree 4 files changed +30
-2
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -653,4 +653,8 @@ utmpname
653653utmpx
654654utmpxname
655655euidaccess
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
4949reallocarray
5050timex
5151euidaccess
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" {
13351335
13361336 pub fn euidaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
13371337 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 ;
13381349}
13391350
13401351extern "C" {
Original file line number Diff line number Diff line change @@ -757,6 +757,16 @@ extern "C" {
757757
758758 pub fn euidaccess ( pathname : * const :: c_char , mode : :: c_int ) -> :: c_int ;
759759 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 ;
760770}
761771
762772cfg_if ! {
You can’t perform that action at this time.
0 commit comments