From 843c398e8904ed9d833d2af3103894f909fb4b52 Mon Sep 17 00:00:00 2001 From: Cody Peter Mello Date: Sat, 9 Apr 2016 23:18:13 +0000 Subject: 7042 Fix spelling mistakes in library sections Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/man/man3c/port_get.3c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'usr/src/man/man3c/port_get.3c') diff --git a/usr/src/man/man3c/port_get.3c b/usr/src/man/man3c/port_get.3c index 95b2f8c2b7..2683ebde5d 100644 --- a/usr/src/man/man3c/port_get.3c +++ b/usr/src/man/man3c/port_get.3c @@ -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 PORT_GET 3C "Jan 31, 2007" +.TH PORT_GET 3C "April 9, 2016" .SH NAME port_get, port_getn \- retrieve event information from a port .SH SYNOPSIS @@ -22,7 +22,6 @@ port_get, port_getn \- retrieve event information from a port .fi .SH DESCRIPTION -.sp .LP The \fBport_get()\fR and \fBport_getn()\fR functions retrieve events from a port. The \fBport_get()\fR function retrieves at most a single event. The @@ -66,7 +65,7 @@ in or enters alert mode. See \fBport_alert\fR(3C) for details on alert mode. The \fBport_getn()\fR function can retrieve multiple events from a port. The \fIlist\fR argument is an array of uninitialized \fBport_event_t\fR structures that is filled in by the system when the \fBport_getn()\fR function returns -succesfully. The \fInget\fR argument points to the desired number of events to +successfully. The \fInget\fR argument points to the desired number of events to be retrieved. The \fImax\fR parameter specifies the maximum number of events that can be returned in \fIlist\fR[]. If \fImax\fR is 0, the value pointed to by \fInget\fR is set to the number of events available on the port. The @@ -91,12 +90,10 @@ waiting in the \fBport_getn()\fR function for more than \fIn\fR events. The \fBport_get()\fR and the \fBport_getn()\fR functions ignore non-shareable events (see \fBport_create\fR(3C)) generated by other processes. .SH RETURN VALUES -.sp .LP -Upon succesful completion, 0 is returned. Otherwise, -1 is returned and errno +Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error. .SH ERRORS -.sp .LP The \fBport_get()\fR and \fBport_getn()\fR functions will fail if: .sp @@ -124,7 +121,7 @@ The \fIport\fR argument is not an event port file descriptor. .ad .RS 10n Event or event list can not be delivered (\fIlist\fR[] pointer and/or user -space reserved to accomodate the list of events is not reasonable), or the +space reserved to accommodate the list of events is not reasonable), or the \fItimeout\fR argument is not reasonable. .RE @@ -262,7 +259,6 @@ close(myport); .in -2 .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -282,7 +278,6 @@ MT-Level Safe .TE .SH SEE ALSO -.sp .LP \fBport_alert\fR(3C), \fBport_associate\fR(3C), \fBport_create\fR(3C), \fBport_send\fR(3C), \fBattributes\fR(5) -- cgit v1.2.3