Home
last modified time | relevance | path

Searched refs:newfds (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_subprocess.py1081 newfds = []
1084 newfds.append(b)
1101 for b, a in zip(newfds, fds):
1103 for b in newfds:
/external/mdnsresponder/mDNSShared/
Duds_daemon.c4055 struct rlimit maxfds, newfds; in udsserver_init() local
4063 newfds.rlim_max = (maxfds.rlim_max > MIN_OPENFILES) ? maxfds.rlim_max : MIN_OPENFILES; in udsserver_init()
4064 newfds.rlim_cur = (maxfds.rlim_cur > MIN_OPENFILES) ? maxfds.rlim_cur : MIN_OPENFILES; in udsserver_init()
4065 if (newfds.rlim_max != maxfds.rlim_max || newfds.rlim_cur != maxfds.rlim_cur) in udsserver_init()
4066 …if (setrlimit(RLIMIT_NOFILE, &newfds) < 0) my_perror("ERROR: Unable to set maximum file descriptor… in udsserver_init()