XNSREAD(3N) — Silicon Graphics
NAME
xnsread − read from XNS connection
SYNOPSIS
int xnsread(fd,buf,count,&dtype,&control)
int fd,count;
int *buf,*dtype,*control;
DESCRIPTION
xnsread allows you to read a Sequenced Packet Protocol (SPP) stream and recover the data type, dtype, and control bits, control, for each packet. The fd, buf, and count have similar meaning as the arguments to read(2). dtype and control are the addresses in the application program where the extra information is to be stored. xnsread is the “companion” to xnswrite. That is, the dtype and control parameters passed by a sender to xnswrite are returned to a reader on the opposite end of an SPP connection.
SEE ALSO
Version 2.5r1 — December 06, 1986