Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xnswrite(3N) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xnslib(3N)

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

xnslib(3N)

Version 2.5r1  —  December 06, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026