Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xnsfile(3N) — GL1 W2.3

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)

xnsioctl(3N)

xnslib(3N)

xnswrite(3N)

XNSFILE(3N)  —  Silicon Graphics

NAME

xnsfile − find an available network special file
xnspathname − return a pathname of a special file

SYNOPSIS

char _xnsslotname[];
char _xnsfilename[];
xnsfile()

xnspathname(num)
register num;

xnserror(s)
char *s;

DESCRIPTION

Xnsfile returns a file descriptor for an available network special file.  A −1 is returned on failure. 

The pathname of the special file used by xnsfile is left in the external character array _xnsfilename .  The typewriter name, as it would appear in /etc/utmp is left in the external character array _xnsslotname . 

xnspathname returns the pathname of a special file into the register num . 

xnserror writes an error message s into the character array xnsmsg . 

SEE ALSO

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

Version 2.3  —  July 04, 1985

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