STREAMS-UX Programmer's Guide (February 2007)
Differences Between STREAMS/UX and System V Release 4 STREAMS
HP-UX Changes to STREAMS/UX System Calls
Appendix E
257
HP-UX Changes to STREAMS/UX System Calls
STREAMS/UX supports the following system calls:
• close
• fattach
• fcntl
• fdetach
• getmsg
• getpmsg
• ioctl
• isastream
• open
• pipe
• poll
• putmsg
• putpmsg
• read
• readv
• select
•signal
• write
• writev
For STREAMS-based termio, see the following manpages (which are part of the STREAMS-TIO product):
grantpt (3C), ptsname (3C), and unlockpt (3C).
There are HP-UX modifications to the fattach, ioctl, pipe, poll, putmsg, putpmsg, select, signal, write,
and writev system calls. These modifications are as follows.
fattach/fdetach Modifications
STREAMS/UX supports the fattach (3) and fdetach (3) library calls and the fdetach (1m) command as
described in the UNIX SVR4.2 Operating System API Reference and the SVR4.2 Command Reference. In
order to use fattach and fdetach, the kernel must have the ffs file system configured. If ffs has been deleted,
reinclude ffs in the system file using the HP-UX kernel configuration command kcmodule, regenerate a
kernel and reboot the system. For more information about how to regenerate the HP-UX kernel, refer to the
HP-UX Driver Development Guide.
ioctl Modifications
STREAMS supports IOCTL as described in the SVR4.2 STREAMS manual.