version 1.62, 2001/05/15 15:36:15
|
version 1.63, 2001/05/15 15:43:27
|
Line 24
|
Line 24
|
#include <regex.h> |
#include <regex.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/msg.h> |
#include <sys/msg.h> |
|
#include <string.h> |
|
|
#if 0 |
#if 0 |
int compint(const void *a,const void *b) { |
int compint(const void *a,const void *b) { |
Line 51 extern double atof(const char *c);
|
Line 52 extern double atof(const char *c);
|
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
char foo[10]; |
char foo[10]; |
sscanf("abcdefghijklmn","%9s\n",foo); |
strcpy(foo,"foo"); |
|
strncat(foo,"barbaz",3); |
|
foo[6]=0; |
|
puts(foo); |
#if 0 |
#if 0 |
struct hostent * host; |
struct hostent * host; |
struct in_addr i; |
struct in_addr i; |