diff options
author | Chris Fraire <cfraire@me.com> | 2017-08-25 09:47:09 -0500 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-09-21 13:54:02 +0000 |
commit | d042c5a26452797afc4fe8c2ceddebff94d88745 (patch) | |
tree | bc51db221e6a1f4babc967ba489e20d294d75315 /usr/src/man/man3socket | |
parent | 2cedd8f0ecbd2b29bf0aac72bb8b7413b0326938 (diff) | |
download | illumos-gate-d042c5a26452797afc4fe8c2ceddebff94d88745.tar.gz |
8591 Man pages contain various errors
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3socket')
-rw-r--r-- | usr/src/man/man3socket/accept.3socket | 2 | ||||
-rw-r--r-- | usr/src/man/man3socket/connect.3socket | 2 | ||||
-rw-r--r-- | usr/src/man/man3socket/getipnodebyname.3socket | 2 | ||||
-rw-r--r-- | usr/src/man/man3socket/send.3socket | 2 | ||||
-rw-r--r-- | usr/src/man/man3socket/spray.3socket | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/man/man3socket/accept.3socket b/usr/src/man/man3socket/accept.3socket index c253ba3aea..1cd0dc2546 100644 --- a/usr/src/man/man3socket/accept.3socket +++ b/usr/src/man/man3socket/accept.3socket @@ -223,7 +223,7 @@ accepted. .sp .LP -\fBAdditionally, \fBaccept4()\fR will fail if: +Additionally, \fBaccept4()\fR will fail if: .sp .ne 2 .na diff --git a/usr/src/man/man3socket/connect.3socket b/usr/src/man/man3socket/connect.3socket index 7da31cd712..91ad73b980 100644 --- a/usr/src/man/man3socket/connect.3socket +++ b/usr/src/man/man3socket/connect.3socket @@ -130,7 +130,7 @@ main(int argc, char *argv[]) errno = 0; port = strtol(argv[2], &eptr, 10); - if (errno != 0 || *eptr != '\0') { + if (errno != 0 || *eptr != '\e0') { fprintf(stderr, "failed to parse port %s\\n", argv[2]); return (1); } diff --git a/usr/src/man/man3socket/getipnodebyname.3socket b/usr/src/man/man3socket/getipnodebyname.3socket index e26d2325d1..9b68ea15ff 100644 --- a/usr/src/man/man3socket/getipnodebyname.3socket +++ b/usr/src/man/man3socket/getipnodebyname.3socket @@ -476,7 +476,7 @@ hostname. char **q; bcopy(*p, (caddr_t)&in6, hp->h_length); - (void) printf("%s\t%s", inet_ntop(AF_INET6, (void *)&in6, + (void) printf("%s\et%s", inet_ntop(AF_INET6, (void *)&in6, abuf, sizeof(abuf)), hp->h_name); for (q = hp->h_aliases; *q != 0; q++) (void) printf(" %s", *q); diff --git a/usr/src/man/man3socket/send.3socket b/usr/src/man/man3socket/send.3socket index e50e8a5492..9dc9d47699 100644 --- a/usr/src/man/man3socket/send.3socket +++ b/usr/src/man/man3socket/send.3socket @@ -263,7 +263,7 @@ The \fBsend()\fR function returns errors under the following conditions: The socket is shut down for writing, or the socket is connection-mode and is no longer connected. In the latter case, if the socket is of type \fBSOCK_STREAM\fR, the \fBSIGPIPE\fR signal is generated to the calling thread -unless the \fB\fBMSG_NOSIGNAL\fR flag is set. +unless the \fBMSG_NOSIGNAL\fR flag is set. .RE .SH ATTRIBUTES diff --git a/usr/src/man/man3socket/spray.3socket b/usr/src/man/man3socket/spray.3socket index ed725e2c3d..994d3543d4 100644 --- a/usr/src/man/man3socket/spray.3socket +++ b/usr/src/man/man3socket/spray.3socket @@ -76,7 +76,7 @@ The following code fragment demonstrates how the spray program is used: .nf #include <rpc/rpc.h> #include <rpcsvc/spray.h> - . . . +\&... spraycumul spray_result; sprayarr spray_data; char buf[100]; /* arbitrary data */ |