Differences between current version and revision by previous author of pselect(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 4:47:45 pm | by JohnMcPherson | |
Older page: | version 2 | Last edited on Sunday, March 16, 2003 6:48:49 pm | by PerryLorier | Revert |
@@ -75,9 +75,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. */
@@ -86,12 +86,12 @@
return 0;
}
!!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)