Differences between version 3 and revision by previous author of select(2).
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Saturday, August 23, 2003 2:48:19 pm | by JohnMcPherson | Revert |
Older page: | version 2 | Last edited on Wednesday, April 16, 2003 12:40:27 am | by PerryLorier | Revert |
@@ -92,9 +92,9 @@
tv.tv_sec = 5;
tv.tv_usec = 0;
retval = select(1, &rfds, NULL, NULL, &tv);
- /* Don’
t rely on the value of tv now! */
+ /* Don'
t rely on the value of tv now! */
if (retval)
printf("Data is available now.\n");
/* FD_ISSET(0, &rfds) will be true. */
@@ -105,12 +105,12 @@
!!CONFORMING TO
-4.4BSD (the __select__ function first appeared in 4.2BSD). Generally portable to/from non-BSD systems supporting clones of the BSD socket layer (including System
+4.4BSD (the __select__ function first appeared in 4.2BSD). Generally portable to/from non-[
BSD]
systems supporting clones of the [
BSD]
socket layer (including System
V variants). However, note that the System V variant typically sets the timeout variable before exit, but the BSD variant does not.
-The __pselect__ function is defined in IEEE Std 1003.1g-2000 (POSIX.1g). It is found in glibc2.1 and later. Glibc2.0 has a function with this name, that however does
+The __pselect__ function is defined in IEEE Std 1003.1g-2000 ([
POSIX]
.1g). It is found in glibc2.1 and later. Glibc2.0 has a function with this name, that however does
not take a ''sigmask'' parameter.
!!SEE ALSO
accept(2), connect(2), poll(2), read(2), recv(2), send(2), sigprocmask(2), write(2)