STREAMS-UX Programmer's Guide (February 2007)

Differences Between STREAMS/UX and System V Release 4 STREAMS
HP-UX Changes to STREAMS/UX Drivers and Modules
Appendix E
270
The STREAMS/UX log driver is named strlog instead of log. The special device file is /dev/strlog. strlog
provides the same functionality for logging as described in the UNIX SVR4.2 System Files and Devices
Reference, with the exceptions described:
•The strlog kernel utility formats binary arguments before sending messages up the stream.
STREAMS/UX does not provide a separate console logger or /dev/console device. The strlog does not
support the I_CONSLOG IOCTL. The strlog prints a log message on the console if the SL_CONSOLE flag is
set.
•The HP-UX log_ctl structure does not contain a pri field. Priority and facility codes are not supported.
sad
Major Number: 74
Module ID Number: 45
Maximum Packet Size: INFPSZ
Minimum Packet Size: 0
High Water Mark: 2048
Low Water Mark: 128
The STREAMS/UX sad driver device file is /dev/sad. The system administrator and users can open
/dev/sad. However, only the system administrator can execute the SAD_SAP IOCTL system call. This differs
from the System V sad driver, which is accessed through the /dev/sad/admin and /dev/sad/user device
files.
The sad provides autopush functionality as described in the UNIX SVR4.2 System Files and Devices
Reference manual.
echo
Major Number: 116
Module ID Number: 5000
Maximum Packet Size: INFPSZ
Minimum Packet Size: 0
High Water Mark: 65536
Low Water Mark: 1024
The echo is a loopback driver used by the strvf STREAMS/UX verification tool. For more information about
strvf see the manpage strvf (1M).
sc
Module ID Number: 5002
Maximum Packet Size: INFPSZ
Minimum Packet Size: 0
High Water Mark: 2048
Low Water Mark: 128