cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4451 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -55,6 +55,13 @@ const char *asctime()
|
||||
return timestring(true, "%c");
|
||||
}
|
||||
|
||||
const char *numtime()
|
||||
{
|
||||
static string numt;
|
||||
s_sprintf(numt)("%ld", (long long) time(NULL));
|
||||
return numt;
|
||||
}
|
||||
|
||||
char *path(char *s)
|
||||
{
|
||||
for(char *t = s; (t = strpbrk(t, "/\\")); *t++ = PATHDIV);
|
||||
|
||||
Reference in New Issue
Block a user