version 1.31, 2001/03/05 23:28:27
|
version 1.32, 2001/03/05 23:32:28
|
Line 40 static int rand() {
|
Line 40 static int rand() {
|
extern double atof(const char *c); |
extern double atof(const char *c); |
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
char buf[512]; |
char buf[512]="foo"; |
|
strncat(buf,"barbaz",3); |
|
puts(buf); |
|
#if 0 |
time_t oink=time(0); |
time_t oink=time(0); |
struct tm *duh=localtime(&oink); |
struct tm *duh=localtime(&oink); |
strftime(buf,512,"%A %B %Y\n",duh); |
strftime(buf,512,"%A %B %Y\n",duh); |
puts(buf); |
puts(buf); |
|
#endif |
#if 0 |
#if 0 |
struct in_addr bar; |
struct in_addr bar; |
struct hostent *foo; |
struct hostent *foo; |