~mdw
/
sgt
/
putty
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Encapsulated most of the pty backend's variables into a proper data
[sgt/putty]
/
time.c
Commit
Line
Data
aca589d9
1
#include <time.h>
2
#include <assert.h>
3
4
struct tm ltime(void)
5
{
6
time_t t;
7
time(&t);
8
assert (t != ((time_t)-1));
9
return *localtime(&t);
10
}