DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
API compatibility

STREAMS interface

The STREAMS interface on SCO OpenServer, SCO UnixWare 2.1.X, and UnixWare 7 are fundamentally the same, with the major differences in the stream head ioctl commands.

On all systems, STREAMS the interface is implemented through a set of system calls and ioctl commands (issued using the ioctl system call).

See the ``System call compatibility tables'' for each STREAMS-related system call for details:


close(2)
Close a stream

ioctl(2)
Control a stream

getmsg(2)
Receive a message at the stream head

open(2)
Open a stream

pipe(2)
Create a channel that provides a communication path between multiple processes

poll(2)
Notify the application program when selected events occur on a stream

putmsg(2)
Send a message down a stream

read(2)
Read data from a stream

write(2)
Write data to a stream

The compatibility provided in UnixWare 7 for STREAMS ioctl commands is described in ``STREAMS ioctl compatibility table''.

Note that applications compiled with the SCO OpenServer Development System must define _SVID3 in the source in order to use the following ioctl commands:

   I_ATMARK
   I_CANPUT
   I_CKBAND
   I_FLUSHBAND
   I_GETBAND
   I_GETCLTIME
   I_GWROPT
   I_LIST
   I_PLINK
   I_PUNLINK
   I_SETCLTIME
   I_SWROPT

Next topic: STREAMS ioctl compatibility table
Previous topic: NetBIOS interface

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004