* Copyright (c) 1983 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)hunt.c 5.1 (Berkeley) 4/30/85";
extern char *getremote();
f
= signal(SIGALRM
, dead
);
while (cp
= getremote(name
)) {
uucplock
= rindex(cp
, '/')+1;
if (mlock(uucplock
) < 0) {
* Straight through call units, such as the BIZCOMP,
* VADIC and the DF, must indicate they're hardwired in
* order to get an open file descriptor placed in FD.
* Otherwise, as for a DN-11, the open will have to
* be done in the "open" routine.
if (setjmp(deadline
) == 0) {
signal(SIGALRM
, SIG_DFL
);
return (deadfl
? -1 : (int)cp
);