[7416] in Athena Bugs
pioctl()
daemon@ATHENA.MIT.EDU (John Carr)
Thu Apr 11 01:28:43 1991
To: bugs@ATHENA.MIT.EDU
Date: Thu, 11 Apr 91 01:25:03 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
This file should be added to /source/bsd-4.3/rt/lib/libc/ca/sys, and the
Makefile there changed to compile it into libc. I suggest naming it
"pioctl.c". It allows use of AFS in programs without linking to the AFS
libraries (which includes large amounts of code which attempts every method
that has ever been used to do AFS calls, including remote RPC calls).
----------------------------------------------------------------
#include "SYS.h"
SYSCODE(pioctl)
SVC(afs_pioctl)
bntbr r15
store r2,_errno,r3
brx r15
cal r2,-1(r0)
TTNOFRM
----------------------------------------------------------------