41#include "SocketUtilities.h"
50 if( base > 36 || base < 2 )
57 r = ldiv( labs( val ), base ) ;
61 buf =
ltoa( r.quot, buf, base ) ;
64 *buf++ =
"0123456789abcdefghijklmnopqrstuvwxyz"[(
int)r.rem] ;
74 string s = tempbuf1 + (string)
"_" ;
76 unsigned int t = time( NULL ) - 1000000000 ;
static char * ltoa(long val, char *buf, int base)
static std::string create_temp_name()