Help with C Header files among *NIX variants

Scott Ehrlich scott at MIT.EDU
Thu Jun 29 07:49:03 EDT 2000


A coworker wrote a C program to perform port scans and system uptimes to
ensure systems are up and running.

He wrote the program using Slackware Linux.   I may want to port some of
the header stuff over to IRIX, SunOS 4.1.x, and Solaris.

Below are the header files.  What paths in the respective UNIX variants
would need to be modified?  I hope not much more would need to be done.

#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/time.h>
#include <sys/types.h>
#include <stdarg.h>
#include <fcntl.h>
#include <linux/ip.h>
#include <linux/icmp.h>

Thanks in advance.

Scott

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list