XNSWRITE(3N) — Silicon Graphics
NAME
xnswrite − write to XNS connection
SYNOPSIS
int xnswrite(fd,buf,count,dtype,control)
int fd,count;
char *buf,*dtype,*control;
DESCRIPTION
xnswrite allows you to write to an Sequenced Packet Protocol (SPP) stream while specifying a particular data type, dtype and control bits, control. This data type can be recognized by the server, and can be used to pass out-of-band information, for example. fd is the source of the bytes written to buf. xnswrite is successful, the number of bytes written is returned. If it is not successful, a -1 is returned. The data type, dtype, is set to the default after each write.
SEE ALSO
Version 2.5r1 — December 06, 1986