Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Berkeley Sockets/iX Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 1 Introduction

Include Files Used

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

The following table shows the include files used for HP-UX and MPE/iX applications.

Table 1-1 Include Files Used for HP-UX and MPE/iX Applications

HP-UX NameMPE/iX Name
<sys/types.h>types.h.sys
<sys/socket.h>socket.h.sys
<sys/un.h>un.h.sys
<sys/file.h>file.h.sys
<sys/errno.h>errno.h.sys
<sys/ioctl.h>ioctl.h.sys
<netinet/in.h>in.h.sys
<netinet/tcp.h>tcp.h.sys
<unistd.h> unistd.h.sys
<fcntl.h> fcntl.h.sys
<time.h> time.h.sys
<uio.h> uio.h.sys
<netdb.h> netdb.h.sys

 

The name service routines and BSD socket routines are stored in a native mode relocatable library file name SOCKETRL.NET.SYS. When linking your programs, you should include this file in the link list. For example,

link objfile,progfile;rl=socketrl.net.sys,libc.lib.sys

Ensure that you link with the POSIX library (/lib/libc.a) instead of libc.lib.sys for POSIX programs. Note that if you are using the POSIX library you must use file indirection as shown in the programming example in Chapter 5.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.