| 38 | } |
| 39 | |
| 40 | const char *numtime() |
| 41 | { |
| 42 | static string numt; |
| 43 | time_t t = time(NULL); |
| 44 | int t1 = t / 1000000, t2 = t % 1000000; |
| 45 | formatstring(numt)("%d%06d", t1, t2); |
| 46 | return numt + strspn(numt, "0"); |
| 47 | } |
| 48 | |
| 49 | static const uchar transformenttab[] = { |
| 50 | /* mapformat 1..5 6..7 */ |
no outgoing calls
no test coverage detected