A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not use non-letter chars in type name so that it's usable from this poor old parsi...
[simgrid.git]
/
win32_test_app
/
src
/
TTime.c
1
#include <TTime.h>
2
3
void __time(char* t)
4
{
5
6
time_t timer;
7
struct tm *tblock;
8
timer = time(NULL);
9
tblock = localtime(&timer);
10
11
sprintf(t,"%02d/%02d/%d %02d:%02d",tblock->tm_mday,tblock->tm_mon,tblock->tm_year + 1900,tblock->tm_hour,tblock->tm_min);
12
}