Searched refs:fdinuse (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1220 static int *fdinuse = NULL; /* The list of files opened by csh */ variable
1221 static int nbytesused = 0; /* no of bytes allocated to fdinuse */
1222 static int max_fd = 0; /* The maximum descriptor in fdinuse */
1233 * hold of them. And initialize fdinuse list and set
1243 * descriptors that we actually opened (as recorded in fdinuse).
1276 CSH_FD_ISSET(fd, fdinuse)) {
1316 if (fdinuse == NULL) {
1319 fdinuse = (int *)xalloc(nbytesused);
1354 CSH_FD_ZERO(fdinuse, nbytesused);
1361 * You only need to remove files in fdinuse lis
[all...]

Completed in 58 milliseconds