repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
time
/
ctime_r.c
blob
63aee389086fd23fafa04f8d51000ee2501ac504
1
/*
2
* ctime_r.c
3
*/
4
5
#include <time.h>
6
7
char
*
8
ctime_r
(
const time_t
*
tim_p
,
9
char
*
result
)
10
11
{
12
struct
tm tm
;
13
return
asctime_r
(
localtime_r
(
tim_p
, &
tm
),
result
);
14
}