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