version 1.37, 2001/03/13 02:37:49
|
version 1.38, 2001/03/16 20:08:14
|
Line 15
|
Line 15
|
#include <math.h> |
#include <math.h> |
#include <termios.h> |
#include <termios.h> |
#include <netdb.h> |
#include <netdb.h> |
|
#include <sys/mman.h> |
|
|
#if 0 |
#if 0 |
int compint(const void *a,const void *b) { |
int compint(const void *a,const void *b) { |
Line 40 static int rand() {
|
Line 41 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 *t=mmap(0,1024,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0); |
|
#if 0 |
time_t t=time(0); |
time_t t=time(0); |
puts(asctime(localtime(&t))); |
puts(asctime(localtime(&t))); |
|
#endif |
#if 0 |
#if 0 |
struct servent *foo=getservbyname("ident","tcp"); |
struct servent *foo=getservbyname("ident","tcp"); |
if (foo) |
if (foo) |