1 |
/* Reentrant time functions like localtime_r. |
/* Reentrant time functions like localtime_r. |
2 |
|
|
3 |
Copyright (C) 2003 Free Software Foundation, Inc. |
Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
4 |
|
|
5 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
6 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
37 |
# define gmtime_r rpl_gmtime_r |
# define gmtime_r rpl_gmtime_r |
38 |
# define localtime_r rpl_localtime_r |
# define localtime_r rpl_localtime_r |
39 |
|
|
40 |
|
/* See the POSIX:2001 specification |
41 |
|
<http://www.opengroup.org/susv3xsh/asctime.html>. */ |
42 |
char *asctime_r (struct tm const * restrict, char * restrict); |
char *asctime_r (struct tm const * restrict, char * restrict); |
43 |
|
|
44 |
|
/* See the POSIX:2001 specification |
45 |
|
<http://www.opengroup.org/susv3xsh/ctime.html>. */ |
46 |
char *ctime_r (time_t const *, char *); |
char *ctime_r (time_t const *, char *); |
47 |
|
|
48 |
|
/* See the POSIX:2001 specification |
49 |
|
<http://www.opengroup.org/susv3xsh/gmtime.html>. */ |
50 |
struct tm *gmtime_r (time_t const * restrict, struct tm * restrict); |
struct tm *gmtime_r (time_t const * restrict, struct tm * restrict); |
51 |
|
|
52 |
|
/* See the POSIX:2001 specification |
53 |
|
<http://www.opengroup.org/susv3xsh/localtime.html>. */ |
54 |
struct tm *localtime_r (time_t const * restrict, struct tm * restrict); |
struct tm *localtime_r (time_t const * restrict, struct tm * restrict); |
55 |
#endif |
#endif |
56 |
|
|