summaryrefslogtreecommitdiff
path: root/usr/src/man/man7d/poll.7d
diff options
context:
space:
mode:
authorBart Coddens <bart.coddens@gmail.com>2013-09-10 20:33:47 +0200
committerRobert Mustacchi <rm@joyent.com>2013-09-13 17:04:07 -0700
commit98cdf45a92ada981b8c4e22ac69956b4139b1341 (patch)
tree04b04bdbfcbfcc0c197d0c65bf2d337136022874 /usr/src/man/man7d/poll.7d
parenta7fe1d5bb55904d4c79638b8778bc9dd8ed7fd7b (diff)
downloadillumos-gate-98cdf45a92ada981b8c4e22ac69956b4139b1341.tar.gz
4023 Properly escape newlines and carriage returns in man pages
Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man7d/poll.7d')
-rw-r--r--usr/src/man/man7d/poll.7d10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/man/man7d/poll.7d b/usr/src/man/man7d/poll.7d
index 4f91dfb4a1..cd3db77de9 100644
--- a/usr/src/man/man7d/poll.7d
+++ b/usr/src/man/man7d/poll.7d
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH POLL 7D "Mar 28, 2007"
+.TH POLL 7D "Sep 10, 2013"
.SH NAME
poll \- driver for fast poll on many file descriptors
.SH SYNOPSIS
@@ -248,14 +248,14 @@ The following example is part of a test program which shows how
result = ioctl(wfd, DP_ISPOLLED, &dpfd);
if (result < 0) {
perror("/dev/poll ioctl DP_ISPOLLED failed");
- printf("errno = %d\n", errno);
+ printf("errno = %d\en", errno);
close (wfd);
free(pollfd);
error = 1;
goto out1;
}
if (result != 1) {
- printf("DP_ISPOLLED returned incorrect result: %d.\n",
+ printf("DP_ISPOLLED returned incorrect result: %d.\en",
result);
close (wfd);
free(pollfd);
@@ -263,7 +263,7 @@ The following example is part of a test program which shows how
goto out1;
}
if (dpfd.fd != fds[rn]) {
- printf("DP_ISPOLLED returned wrong fd %d, expect %d\n",
+ printf("DP_ISPOLLED returned wrong fd %d, expect %d\en",
dpfd.fd, fds[rn]);
close (wfd);
free(pollfd);
@@ -271,7 +271,7 @@ The following example is part of a test program which shows how
goto out1;
}
if (dpfd.revents != POLLIN) {
- printf("DP_ISPOLLED returned unexpected revents %d\n",
+ printf("DP_ISPOLLED returned unexpected revents %d\en",
dpfd.revents);
close (wfd);
free(pollfd);