summaryrefslogtreecommitdiff
path: root/man2/select_tut.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/select_tut.2')
-rw-r--r--man2/select_tut.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/select_tut.2 b/man2/select_tut.2
index 17c74ac9..d9fb610c 100644
--- a/man2/select_tut.2
+++ b/man2/select_tut.2
@@ -27,7 +27,7 @@
.\" various other changes
.\" 2008-01-26, mtk, substantial changes and rewrites
.\"
-.TH SELECT_TUT 2 2010-06-10 "Linux" "Linux Programmer's Manual"
+.TH SELECT_TUT 2 2012-08-03 "Linux" "Linux Programmer's Manual"
.SH NAME
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
synchronous I/O multiplexing
@@ -561,7 +561,7 @@ listen_socket(int listen_port)
}
yes = 1;
if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR,
- (char *) &yes, sizeof(yes)) == \-1) {
+ &yes, sizeof(yes)) == \-1) {
perror("setsockopt");
close(s);
return \-1;