Searched refs:fd_new (Results 1 – 3 of 3) sorted by relevance
282 int fd, fd_new; in brand_close_fh() local294 fd_new = fcntl(fd, F_DUPFD, 0); in brand_close_fh()295 if (fd_new == -1) in brand_close_fh()299 (void) dup2(fd_new, fd); in brand_close_fh()300 (void) close(fd_new); in brand_close_fh()
358 struct rlimit fd_new; in wait_init() local361 (void) getrlimit(RLIMIT_NOFILE, &fd_new); in wait_init()363 fd_new.rlim_max = fd_new.rlim_cur = WAIT_FILES; in wait_init()365 (void) setrlimit(RLIMIT_NOFILE, &fd_new); in wait_init()
550 struct rlimit fd_new; in main() local712 fd_new.rlim_max = fd_new.rlim_cur = CONFIGD_MAX_FDS; in main()713 (void) setrlimit(RLIMIT_NOFILE, &fd_new); in main()