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

/illumos-gate/usr/src/cmd/csh/
H A Dsh.c1222 static int max_fd = 0; /* The maximum descriptor in fdinuse */ variable
1363 * list and max_fd.
1370 for (f = 3; f <= max_fd; f++) {
1377 max_fd = 0;
1422 if (fd > max_fd)
1423 max_fd = fd;
1443 if (fd == max_fd) {
1444 for (i = max_fd-1; i >= 3; i--)
1446 max_fd = i;
1449 max_fd
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c515 int max_fd; /* The maximum file-descriptor being watched */ member in struct:GetLine
1872 gl->max_fd = 0;
5916 if(gl->input_fd > gl->max_fd)
5917 gl->max_fd = gl->input_fd;
6633 if(fileno(gl->file_fp) > gl->max_fd)
6634 gl->max_fd = fileno(gl->file_fp);
8828 if(fd > gl->max_fd)
8829 gl->max_fd = fd;
8979 nready = select(gl->max_fd+1, &rfds, &wfds, &ufds,

Completed in 102 milliseconds