Home | History | Annotate | Download | only in src

Lines Matching defs:savefd

941 	ep->savefd = NULL;
960 if (ep->savefd != NULL) {
962 /* if ep->savefd[fd] < 0, means fd was closed */
963 if (ep->savefd[fd])
964 restfd(fd, ep->savefd[fd]);
965 if (ep->savefd[2])
1046 /* close all file descriptors hiding in savefd */
1048 if (ep->savefd) {
1050 if (ep->savefd[fd] > 0)
1051 close(ep->savefd[fd]);
1052 afree(ep->savefd, &ep->area);
1053 ep->savefd = NULL;
1415 savefd(int fd)
1450 pv[0] = savefd(lpv[0]);
1453 pv[1] = savefd(lpv[1]);
1650 if ((nfd = savefd(i)) != i) {