version 1.2, 2000/03/16 07:41:41 |
version 1.4, 2003/03/08 10:47:46 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/doc/oxlib/test3.c,v 1.3 2000/03/16 08:25:35 noro Exp $ */ |
|
#include <stdio.h> |
|
#include <asir/ca.h> |
#include <asir/ox.h> |
#include <asir/ox.h> |
|
#include <signal.h> |
|
|
main(int argc, char **argv) |
main(int argc, char **argv) |
{ |
{ |
Line 13 main(int argc, char **argv) |
|
Line 16 main(int argc, char **argv) |
|
char *kwd,*bdy; |
char *kwd,*bdy; |
unsigned int cmd; |
unsigned int cmd; |
|
|
|
signal(SIGINT,SIG_IGN); |
asir_ox_init(1); /* 1: network byte order; 0: native byte order */ |
asir_ox_init(1); /* 1: network byte order; 0: native byte order */ |
result_len = BUFSIZ; |
result_len = BUFSIZ; |
result = (void *)malloc(BUFSIZ); |
result = (void *)malloc(BUFSIZ); |