Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sgboot(1M)

sgbounce(1M)

xcp(1C)

xlogin(1C)

xnsd(1M)

xx(1C)

utmp(3N)

xcmd(3N)

xconnect(3N)

xnsfile(3N)

xnsioctl(3N)

xnslib(3N)

XNSWRITE(3N)  —  Silicon Graphics

NAME

xnswrite − write to XNS connection

SYNOPSIS

xnswrite (fd, buf, count, dtype, control)
int fd, count;
char *buf, dtype, control;

xnsread (f, s, cc, dtype, control)
int f, cc;
char *s, *dtype, *control;

xnslisten (x)
int x;

DESCRIPTION

Xnswrite allows you to write to an XNS file descriptor while specifying a particular data type and control bits.  This data type can be recognized by the server, and can be used to pass out-of-band information, for example.  A count of the number of bytes written is returned.  The data type is reset to the default after each write. 

Xnsread reads an XNS file descriptor.  If dtype and control are non-zero, the data type and control fields are copied to the addresses specified.  A count of the number of bytes written is returned. 

Xnslisten waits for a connection on socket x. 

SEE ALSO

sgboot(1M), sgbounce(1M), xcp(1C), xlogin(1C), xnsd(1M), xx(1C), utmp(3N), xcmd(3N), xconnect(3N), xnsfile(3N), xnsioctl(3N), xnslib(3N)

Version 2.3  —  July 04, 1985

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