Searched refs:rlfd (Results 1 – 3 of 3) sorted by relevance
129 static int rlfd; /* fd for remote comm line */ variable190 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()
133 rlfd; /* fd for remote comm line */ variable200 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);
221 struct rlimit rlfd; in fdlim_get() local223 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() local246 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()