Home
last modified time | relevance | path

Searched refs:rlfd (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libnsl/dial/
H A Ddial.c129 static int rlfd; /* fd for remote comm line */ variable
190 rlfd = conn(call.telno); in dial()
222 rlfd = getto(alt); in dial()
224 if (rlfd < 0) in dial()
242 if ((call.attr) && ioctl(rlfd, TCSETA, call.attr) < 0) { in dial()
248 undial(rlfd); in dial()
249 return (rlfd); in dial()
/titanic_44/usr/src/cmd/bnu/
H A Ddial.c133 rlfd; /* fd for remote comm line */ variable
200 rlfd = conn(call.telno);
232 rlfd = getto(alt);
234 if (rlfd < 0)
245 if ((call.attr) && ioctl(rlfd, TCSETA, call.attr) < 0) {
251 undial(rlfd);
252 return(rlfd);
/titanic_44/usr/src/cmd/ssh/ssh-keyscan/
H A Dssh-keyscan.c221 struct rlimit rlfd; in fdlim_get() local
223 if (getrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_get()
225 if ((hard ? rlfd.rlim_max : rlfd.rlim_cur) == RLIM_INFINITY) in fdlim_get()
228 return hard ? rlfd.rlim_max : rlfd.rlim_cur; in fdlim_get()
240 struct rlimit rlfd; in fdlim_set() local
246 if (getrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_set()
248 rlfd.rlim_cur = lim; in fdlim_set()
249 if (setrlimit(RLIMIT_NOFILE, &rlfd) < 0) in fdlim_set()