diff options
Diffstat (limited to 'usr/src/man/man3c')
489 files changed, 4090 insertions, 8462 deletions
diff --git a/usr/src/man/man3c/__fbufsize.3c b/usr/src/man/man3c/__fbufsize.3c index c1193b58f4..e6dc9fe385 100644 --- a/usr/src/man/man3c/__fbufsize.3c +++ b/usr/src/man/man3c/__fbufsize.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 __fbufsize 3C "5 Feb 1998" "SunOS 5.11" "Standard C Library Functions" +.TH __FBUFSIZE 3C "Feb 5, 1998" .SH NAME __fbufsize, __flbf, __fpending, __fpurge, __freadable, __freading, __fsetlocking, __fwritable, __fwriting, _flushlbf \- interfaces to stdio FILE @@ -155,17 +155,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelT{ +MT-Level T{ \fB__fsetlocking()\fR is Unsafe; all others are MT-Safe T} _ -Interface StabilityEvolving +Interface Stability Evolving .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/_longjmp.3c b/usr/src/man/man3c/_longjmp.3c index 75c81cf4c6..ea1baed6ff 100644 --- a/usr/src/man/man3c/_longjmp.3c +++ b/usr/src/man/man3c/_longjmp.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1994, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 _longjmp 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH _LONGJMP 3C "Jul 24, 2002" .SH NAME _longjmp, _setjmp \- non-local goto .SH SYNOPSIS @@ -76,13 +76,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/_stack_grow.3c b/usr/src/man/man3c/_stack_grow.3c index 68bd632800..4d0cad8b91 100644 --- a/usr/src/man/man3c/_stack_grow.3c +++ b/usr/src/man/man3c/_stack_grow.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 _stack_grow 3C "18 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH _STACK_GROW 3C "Jul 18, 2002" .SH NAME _stack_grow \- express an intention to extend the stack .SH SYNOPSIS @@ -65,15 +65,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/a64l.3c b/usr/src/man/man3c/a64l.3c index d469aeecb2..7cf18d0f6c 100644 --- a/usr/src/man/man3c/a64l.3c +++ b/usr/src/man/man3c/a64l.3c @@ -4,7 +4,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 a64l 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH A64L 3C "Jul 24, 2002" .SH NAME a64l, l64a \- convert between long integer and base-64 ASCII string .SH SYNOPSIS @@ -33,17 +33,16 @@ The characters used to represent "digits" are as follows: .sp .TS -tab() box; -lw(2.76i) |lw(2.74i) -lw(2.76i) |lw(2.74i) -. -CharacterDigit +box; +l | l +l | l . +Character Digit _ -\fB\&.\fR\fB0\fR -\fB/\fR\fB1\fR -\fB0-9\fR\fB2-11\fR -\fBA-Z\fR\fB12-37\fR -\fBa-z\fR\fB38-63\fR +\fB\&.\fR \fB0\fR +\fB/\fR \fB1\fR +\fB0-9\fR \fB2-11\fR +\fBA-Z\fR \fB12-37\fR +\fBa-z\fR \fB38-63\fR .TE .sp @@ -75,15 +74,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/abort.3c b/usr/src/man/man3c/abort.3c index a55011fed6..ca9c8c4cc8 100644 --- a/usr/src/man/man3c/abort.3c +++ b/usr/src/man/man3c/abort.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 abort 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ABORT 3C "Jul 24, 2002" .SH NAME abort \- terminate the process abnormally .SH SYNOPSIS @@ -53,15 +53,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/abs.3c b/usr/src/man/man3c/abs.3c index 1754096315..7667e119a0 100644 --- a/usr/src/man/man3c/abs.3c +++ b/usr/src/man/man3c/abs.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 abs 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ABS 3C "Jul 24, 2002" .SH NAME abs, labs, llabs \- return absolute value of integer .SH SYNOPSIS @@ -48,15 +48,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/addsev.3c b/usr/src/man/man3c/addsev.3c index 84ee6c87a5..b5cdb16a68 100644 --- a/usr/src/man/man3c/addsev.3c +++ b/usr/src/man/man3c/addsev.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 addsev 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH ADDSEV 3C "Dec 29, 1996" .SH NAME addsev \- define additional severities .SH SYNOPSIS @@ -76,13 +76,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-safe +MT-Level MT-safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/addseverity.3c b/usr/src/man/man3c/addseverity.3c index dd7b92f3d8..2d005e36e0 100644 --- a/usr/src/man/man3c/addseverity.3c +++ b/usr/src/man/man3c/addseverity.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 addseverity 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH ADDSEVERITY 3C "Dec 29, 1996" .SH NAME addseverity \- build a list of severity levels for an application for use with fmtmsg @@ -39,60 +39,50 @@ If \fBaddseverity()\fR is called with a negative number or an integer value of Identifiers for the standard levels of severity are: .sp .ne 2 -.mk .na \fB\fBMM_HALT\fR\fR .ad .RS 14n -.rt Indicates that the application has encountered a severe fault and is halting. Produces the print string \fBHALT\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_ERROR\fR\fR .ad .RS 14n -.rt Indicates that the application has detected a fault. Produces the print string \fBERROR\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_WARNING\fR\fR .ad .RS 14n -.rt Indicates a condition that is out of the ordinary, that might be a problem, and should be watched. Produces the print string \fBWARNING\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_INFO\fR\fR .ad .RS 14n -.rt Provides information about a condition that is not in error. Produces the print string \fBINFO\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_NOSEV\fR\fR .ad .RS 14n -.rt Indicates that no severity level is supplied for the message. .RE @@ -151,13 +141,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_cancel.3c b/usr/src/man/man3c/aio_cancel.3c index 6af566d54f..bb7a30f097 100644 --- a/usr/src/man/man3c/aio_cancel.3c +++ b/usr/src/man/man3c/aio_cancel.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_cancel 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_CANCEL 3C "Feb 5, 2008" .SH NAME aio_cancel \- cancel asynchronous I/O request .SH SYNOPSIS @@ -65,23 +65,19 @@ and sets \fBerrno\fR to indicate the error. The \fBaio_cancel()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBaio_cancel()\fR function is not supported. .RE @@ -98,17 +94,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_error.3c b/usr/src/man/man3c/aio_error.3c index e8f776c152..e677a53129 100644 --- a/usr/src/man/man3c/aio_error.3c +++ b/usr/src/man/man3c/aio_error.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_error 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_ERROR 3C "Feb 5, 2008" .SH NAME aio_error \- retrieve errors status for an asynchronous I/O operation .SH SYNOPSIS @@ -43,12 +43,10 @@ completed, then \fBEINPROGRESS\fR is returned. The \fBaio_error()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaiocbp\fR argument does not refer to an asynchronous operation whose return status has not yet been retrieved. .RE @@ -109,17 +107,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_fsync.3c b/usr/src/man/man3c/aio_fsync.3c index 32ff99a68d..986fe97a33 100644 --- a/usr/src/man/man3c/aio_fsync.3c +++ b/usr/src/man/man3c/aio_fsync.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_fsync 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_FSYNC 3C "Feb 5, 2008" .SH NAME aio_fsync \- asynchronous file synchronization .SH SYNOPSIS @@ -82,47 +82,39 @@ I/O operation is successfully queued; otherwise, the function returns The \fBaio_fsync()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The requested asynchronous operation was not queued due to temporary resource limitations. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fBaio_fildes\fR member of the \fBaiocb\fR structure referenced by the \fIaiocbp\fR argument is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The system does not support synchronized I/O for this file. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt A value of \fIop\fR other than \fBO_DSYNC\fR or \fBO_SYNC\fR was specified. .RE @@ -145,17 +137,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_read.3c b/usr/src/man/man3c/aio_read.3c index cd5af78265..fc882428f3 100644 --- a/usr/src/man/man3c/aio_read.3c +++ b/usr/src/man/man3c/aio_read.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_read 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_READ 3C "Feb 5, 2008" .SH NAME aio_read \- asynchronous read from a file .SH SYNOPSIS @@ -87,12 +87,10 @@ and sets \fBerrno\fR to indicate the error. The \fBaio_read()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The requested asynchronous I/O operation was not queued due to system resource limitations. .RE @@ -108,24 +106,20 @@ to \(mi1, and the error status of the asynchronous operation will be set to the corresponding value. .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIaiocbp\fR->\fBaio_fildes\fR argument is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The file offset value implied by \fIaiocbp\fR->\fBaio_offset\fR would be invalid, \fIaiocbp->\fR\fBaio_reqprio\fR is not a valid value, or \fIaiocbp\fR->\fBaio_nbytes\fR is an invalid value. @@ -141,36 +135,30 @@ asynchronous operation will be set to one of the error statuses normally set by the \fBread()\fR function call, or one of the following values: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIaiocbp\fR->\fBaio_fildes\fR argument is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBECANCELED\fR\fR .ad .RS 13n -.rt The requested I/O was canceled before the I/O completed due to an explicit \fBaio_cancel\fR(3C) request. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The file offset value implied by \fIaiocbp\fR->\fBaio_offset\fR would be invalid. .RE @@ -180,12 +168,10 @@ invalid. The following condition may be detected synchronously or asynchronously: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The file is a regular file, \fIaiobcp\fR->\fBaio_nbytes\fR is greater than 0 and the starting offset in \fIaiobcp\fR->\fBaio_offset\fR is before the end-of-file and is at or beyond the offset maximum in the open file description @@ -209,17 +195,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_return.3c b/usr/src/man/man3c/aio_return.3c index 2520fbb5dc..5217a57e26 100644 --- a/usr/src/man/man3c/aio_return.3c +++ b/usr/src/man/man3c/aio_return.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_return 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_RETURN 3C "Feb 5, 2008" .SH NAME aio_return \- retrieve return status of an asynchronous I/O operation .SH SYNOPSIS @@ -48,24 +48,20 @@ If the asynchronous I/O operation has not yet completed, the results of The \fBaio_return()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaiocbp\fR argument does not refer to an asynchronous operation whose return status has not yet been retrieved. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBaio_return()\fR function is not supported by the system. .RE @@ -82,17 +78,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_suspend.3c b/usr/src/man/man3c/aio_suspend.3c index c568f48509..6b62a37d93 100644 --- a/usr/src/man/man3c/aio_suspend.3c +++ b/usr/src/man/man3c/aio_suspend.3c @@ -10,7 +10,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 aio_suspend 3C "18 Dec 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_SUSPEND 3C "Dec 18, 2008" .SH NAME aio_suspend \- wait for asynchronous I/O request .SH SYNOPSIS @@ -62,24 +62,20 @@ associated error and return status using \fBaio_error\fR(3C) and The \fBaio_suspend()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt No asynchronous I/O indicated in the list referenced by \fIlist\fR completed in the time interval indicated by \fItimeout\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 11n -.rt A signal interrupted the \fBaio_suspend()\fR function. Since each asynchronous I/O operation might provoke a signal when it completes, this error return can be caused by the completion of one or more of the very I/O operations being @@ -88,12 +84,10 @@ awaited. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The \fInent\fR argument is less than or equal to 0 or greater than \fB_AIO_LISTIO_MAX\fR, or the \fBtimespec\fR structure pointed to by \fItimeout\fR is not properly set because \fItv_sec\fR is less than 0 or @@ -102,24 +96,20 @@ The \fInent\fR argument is less than or equal to 0 or greater than .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt There is currently not enough available memory; the application can try again later. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBaio_suspend()\fR function is not supported by the system. .RE @@ -136,17 +126,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_waitn.3c b/usr/src/man/man3c/aio_waitn.3c index b218a77422..756eaa187e 100644 --- a/usr/src/man/man3c/aio_waitn.3c +++ b/usr/src/man/man3c/aio_waitn.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 aio_waitn 3C "18 Dec 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_WAITN 3C "Dec 18, 2008" .SH NAME aio_waitn \- wait for completion of asynchronous I/O operations .SH SYNOPSIS @@ -74,23 +74,19 @@ Upon successful completion, \fBaio_waitn()\fR returns 0. Otherwise, it returns The \fBaio_waitn()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There are no outstanding asynchronous I/O requests. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIlist\fR[], \fInwait\fR, or \fItimeout\fR argument points to an address outside the address space of the process. The \fBerrno\fR variable is set to \fBEFAULT\fR only if this condition is detected by the application process. @@ -98,23 +94,19 @@ outside the address space of the process. The \fBerrno\fR variable is set to .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The execution of \fBaio_waitn()\fR was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fItimeout\fR element \fItv_sec\fR or \fItv_nsec\fR is < 0, \fInent\fR is set to 0 or > \fB_AIO_LISTIO_MAX\fR, or \fInwait\fR is either set to 0 or is > \fInent\fR. @@ -122,24 +114,20 @@ set to 0 or > \fB_AIO_LISTIO_MAX\fR, or \fInwait\fR is either set to 0 or is > .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is currently not enough available memory. The application can try again later. .RE .sp .ne 2 -.mk .na \fB\fBETIME\fR\fR .ad .RS 10n -.rt The time interval expired before \fInwait\fR outstanding requests have completed. .RE @@ -157,15 +145,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aio_write.3c b/usr/src/man/man3c/aio_write.3c index c71172a15c..bd5298c438 100644 --- a/usr/src/man/man3c/aio_write.3c +++ b/usr/src/man/man3c/aio_write.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 aio_write 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIO_WRITE 3C "Feb 5, 2008" .SH NAME aio_write \- asynchronous write to a file .SH SYNOPSIS @@ -89,12 +89,10 @@ I/O operation is successfully queued; otherwise, the function returns The \fBaio_write()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The requested asynchronous I/O operation was not queued due to system resource limitations. .RE @@ -110,24 +108,20 @@ asynchronous operation is set to \fB\(mi1\fR, and the error status of the asynchronous operation will be set to the corresponding value. .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIaiocbp\fR\(->\fBaio_fildes\fR argument is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The file offset value implied by \fIaiocbp\fR->\fBaio_offset\fR would be invalid, \fIaiocbp->\fR\fBaio_reqprio\fR is not a valid value, or \fIaiocbp\fR\(->\fBaio_nbytes\fR is an invalid value. @@ -143,36 +137,30 @@ error status for the asynchronous operation contains one of the values normally set by the \fBwrite()\fR function call, or one of the following: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIaiocbp\fR\(->\fBaio_fildes\fR argument is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The file offset value implied by \fIaiocbp\fR->\fBaio_offset\fR would be invalid. .RE .sp .ne 2 -.mk .na \fB\fBECANCELED\fR\fR .ad .RS 13n -.rt The requested I/O was canceled before the I/O completed due to an explicit \fBaio_cancel\fR(3C) request. .RE @@ -182,12 +170,10 @@ The requested I/O was canceled before the I/O completed due to an explicit The following condition may be detected synchronously or asynchronously: .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 9n -.rt The file is a regular file, \fIaiobcp\fR\(->\fBaio_nbytes\fR is greater than 0 and the starting offset in \fIaiobcp\fR\(->\fBaio_offset\fR is at or beyond the offset maximum in the open file description associated with @@ -207,17 +193,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aiocancel.3c b/usr/src/man/man3c/aiocancel.3c index 66316636a9..3ab34f9e44 100644 --- a/usr/src/man/man3c/aiocancel.3c +++ b/usr/src/man/man3c/aiocancel.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 aiocancel 3C "5 Feb 1997" "SunOS 5.11" "Standard C Library Functions" +.TH AIOCANCEL 3C "Feb 5, 1997" .SH NAME aiocancel \- cancel an asynchronous operation .SH SYNOPSIS @@ -39,36 +39,30 @@ error. \fBaiocancel()\fR will fail if any of the following are true: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The parameter \fIresultp\fR does not correspond to any outstanding asynchronous operation, although there is at least one currently outstanding. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt \fIresultp\fR points to an address outside the address space of the requesting process. See \fBNOTES\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are not any outstanding requests to cancel. .RE @@ -80,13 +74,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aioread.3c b/usr/src/man/man3c/aioread.3c index f1457b282e..03ebaa704d 100644 --- a/usr/src/man/man3c/aioread.3c +++ b/usr/src/man/man3c/aioread.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 aioread 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIOREAD 3C "Feb 5, 2008" .SH NAME aioread, aiowrite \- read or write asynchronous I/O operations .SH SYNOPSIS @@ -108,35 +108,29 @@ and set \fBerrno\fR to indicate the error. The \fBaioread()\fR and \fBaiowrite()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The number of asynchronous requests that the system can handle at any one time has been exceeded .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt At least one of \fIbufp\fR or \fIresultp\fR points to an address outside the address space of the requesting process. This condition is reported only if detected by the application process. @@ -144,35 +138,29 @@ detected by the application process. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIresultp\fR argument is currently being used by an outstanding asynchronous request. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIoffset\fR argument is not a valid offset for this file system type. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Memory resources are unavailable to initiate request. .RE @@ -189,13 +177,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/aiowait.3c b/usr/src/man/man3c/aiowait.3c index 6e36689d35..14408ea7fb 100644 --- a/usr/src/man/man3c/aiowait.3c +++ b/usr/src/man/man3c/aiowait.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 aiowait 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH AIOWAIT 3C "Feb 5, 2008" .SH NAME aiowait \- wait for completion of asynchronous I/O operation .SH SYNOPSIS @@ -53,46 +53,38 @@ indicate the error. \fBaiowait()\fR returns \fB0\fR if the time limit expires. The \fBaiowait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fItimeout\fR argument points to an address outside the address space of the requesting process. See \fBNOTES\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The execution of \fBaiowait()\fR was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are no outstanding asynchronous I/O requests. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fBtv_secs\fR member of the \fBtimeval\fR structure pointed to by \fItimeout\fR is less than 0 or the \fBtv_usecs\fR member is greater than the number of seconds in a microsecond. @@ -106,13 +98,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/assert.3c b/usr/src/man/man3c/assert.3c index dee17803b0..b393225010 100644 --- a/usr/src/man/man3c/assert.3c +++ b/usr/src/man/man3c/assert.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 assert 3C "30 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ASSERT 3C "Mar 30, 2005" .SH NAME assert \- verify program assertion .SH SYNOPSIS @@ -55,17 +55,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atexit.3c b/usr/src/man/man3c/atexit.3c index ed1bdbe074..b3e353b31d 100644 --- a/usr/src/man/man3c/atexit.3c +++ b/usr/src/man/man3c/atexit.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 atexit 3C "25 May 2001" "SunOS 5.11" "Standard C Library Functions" +.TH ATEXIT 3C "May 25, 2001" .SH NAME atexit \- register a function to run at process termination or object unloading .SH SYNOPSIS @@ -56,12 +56,10 @@ it returns a non-zero value. The \fBatexit()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -82,15 +80,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_add.3c b/usr/src/man/man3c/atomic_add.3c index 8fd5808a54..670efab3fb 100644 --- a/usr/src/man/man3c/atomic_add.3c +++ b/usr/src/man/man3c/atomic_add.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 atomic_add 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_ADD 3C "May 13, 2005" .SH NAME atomic_add, atomic_add_8, atomic_add_char, atomic_add_16, atomic_add_short, atomic_add_32, atomic_add_int, atomic_add_long, atomic_add_64, atomic_add_ptr, @@ -125,15 +125,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_and.3c b/usr/src/man/man3c/atomic_and.3c index 1b241f1da4..c8c15fd251 100644 --- a/usr/src/man/man3c/atomic_and.3c +++ b/usr/src/man/man3c/atomic_and.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 atomic_and 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_AND 3C "May 13, 2005" .SH NAME atomic_and, atomic_and_8, atomic_and_uchar, atomic_and_16, atomic_and_ushort, atomic_and_32, atomic_and_uint, atomic_and_ulong, atomic_and_64, @@ -115,15 +115,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_bits.3c b/usr/src/man/man3c/atomic_bits.3c index 3103fc1eab..41edc51bfe 100644 --- a/usr/src/man/man3c/atomic_bits.3c +++ b/usr/src/man/man3c/atomic_bits.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 atomic_bits 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_BITS 3C "May 13, 2005" .SH NAME atomic_bits, atomic_set_long_excl, atomic_clear_long_excl \- atomic set and clear bit operations @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_cas.3c b/usr/src/man/man3c/atomic_cas.3c index c916d448ae..2100933443 100644 --- a/usr/src/man/man3c/atomic_cas.3c +++ b/usr/src/man/man3c/atomic_cas.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 atomic_cas 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_CAS 3C "May 13, 2005" .SH NAME atomic_cas, atomic_cas_8, atomic_cas_uchar, atomic_cas_16, atomic_cas_ushort, atomic_cas_32, atomic_cas_uint, atomic_cas_ulong, atomic_cas_64, atomic_cas_ptr @@ -89,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_dec.3c b/usr/src/man/man3c/atomic_dec.3c index 5f3b1c7776..9ab7c5937c 100644 --- a/usr/src/man/man3c/atomic_dec.3c +++ b/usr/src/man/man3c/atomic_dec.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 atomic_dec 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_DEC 3C "May 13, 2005" .SH NAME atomic_dec, atomic_dec_8, atomic_dec_uchar, atomic_dec_16, atomic_dec_ushort, atomic_dec_32, atomic_dec_uint, atomic_dec_ulong, atomic_dec_64, @@ -126,15 +126,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_inc.3c b/usr/src/man/man3c/atomic_inc.3c index 0b445ee2b1..46f58a75ef 100644 --- a/usr/src/man/man3c/atomic_inc.3c +++ b/usr/src/man/man3c/atomic_inc.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 atomic_inc 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_INC 3C "May 13, 2005" .SH NAME atomic_inc, atomic_inc_8, atomic_inc_uchar, atomic_inc_16, atomic_inc_ushort, atomic_inc_32, atomic_inc_uint, atomic_inc_ulong, atomic_inc_64, @@ -126,15 +126,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_ops.3c b/usr/src/man/man3c/atomic_ops.3c index d2be8c3340..d3a23af862 100644 --- a/usr/src/man/man3c/atomic_ops.3c +++ b/usr/src/man/man3c/atomic_ops.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 atomic_ops 3C "12 Aug 2004" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_OPS 3C "Aug 12, 2004" .SH NAME atomic_ops \- atomic operations .SH SYNOPSIS @@ -19,45 +19,37 @@ This collection of functions provides atomic memory operations. There are 8 different classes of atomic operations: .sp .ne 2 -.mk .na \fB\fBatomic_add\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic addition of a signed value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_and\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic logical 'and' of a value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_bits\fR(3C)\fR .ad .RS 19n -.rt These functions provide atomic bit setting and clearing within a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_cas\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic comparison of a value with a variable. If the comparison is equal, then swap in a new value for the variable, returning the old value of the variable in either case. @@ -65,45 +57,37 @@ old value of the variable in either case. .sp .ne 2 -.mk .na \fB\fBatomic_dec\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic decrement on a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_inc\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic increment on a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_or\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic logical 'or' of a value to a variable. .RE .sp .ne 2 -.mk .na \fB\fBatomic_swap\fR(3C)\fR .ad .RS 19n -.rt These functions provide an atomic swap of a value with a variable, returning the old value of the variable. .RE @@ -116,15 +100,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_or.3c b/usr/src/man/man3c/atomic_or.3c index 8d36fa6e62..63a57c66dd 100644 --- a/usr/src/man/man3c/atomic_or.3c +++ b/usr/src/man/man3c/atomic_or.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 atomic_or 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_OR 3C "May 13, 2005" .SH NAME atomic_or, atomic_or_8, atomic_or_uchar, atomic_or_16, atomic_or_ushort, atomic_or_32, atomic_or_uint, atomic_or_ulong, atomic_or_64, atomic_or_8_nv, @@ -114,15 +114,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/atomic_swap.3c b/usr/src/man/man3c/atomic_swap.3c index 7db86beeb0..fa9964d092 100644 --- a/usr/src/man/man3c/atomic_swap.3c +++ b/usr/src/man/man3c/atomic_swap.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 atomic_swap 3C "13 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH ATOMIC_SWAP 3C "May 13, 2005" .SH NAME atomic_swap, atomic_swap_8, atomic_swap_uchar, atomic_swap_16, atomic_swap_ushort, atomic_swap_32, atomic_swap_uint, atomic_swap_ulong, @@ -78,15 +78,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/attropen.3c b/usr/src/man/man3c/attropen.3c index 23d6e18f9a..43dc5c3578 100644 --- a/usr/src/man/man3c/attropen.3c +++ b/usr/src/man/man3c/attropen.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 attropen 3C "1 Aug 2001" "SunOS 5.11" "Standard C Library Functions" +.TH ATTROPEN 3C "Aug 1, 2001" .SH NAME attropen \- open a file .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/basename.3c b/usr/src/man/man3c/basename.3c index 98a131f819..36b27b33c6 100644 --- a/usr/src/man/man3c/basename.3c +++ b/usr/src/man/man3c/basename.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 basename 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH BASENAME 3C "Jul 24, 2002" .SH NAME basename \- return the last element of a path name .SH SYNOPSIS @@ -55,17 +55,16 @@ applications. .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBInput String\fR\fBOutput String\fR +box; +c | c +l | l . +\fBInput String\fR \fBOutput String\fR _ -"/usr/lib""lib" +"/usr/lib" "lib" _ -"/usr/""usr" +"/usr/" "usr" _ -"/""/" +"/" "/" .TE .SH ATTRIBUTES @@ -76,15 +75,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/bsd_signal.3c b/usr/src/man/man3c/bsd_signal.3c index e098f0d1fa..b8f7784015 100644 --- a/usr/src/man/man3c/bsd_signal.3c +++ b/usr/src/man/man3c/bsd_signal.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 bsd_signal 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH BSD_SIGNAL 3C "Jul 24, 2002" .SH NAME bsd_signal \- simplified signal facilities .SH SYNOPSIS @@ -89,13 +89,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/bsearch.3c b/usr/src/man/man3c/bsearch.3c index 500106c541..4d14152369 100644 --- a/usr/src/man/man3c/bsearch.3c +++ b/usr/src/man/man3c/bsearch.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 bsearch 3C "6 Dec 2004" "SunOS 5.11" "Standard C Library Functions" +.TH BSEARCH 3C "Dec 6, 2004" .SH NAME bsearch \- binary search a sorted table .SH SYNOPSIS @@ -131,15 +131,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/bstring.3c b/usr/src/man/man3c/bstring.3c index 2baf57c7f2..f65f221ac5 100644 --- a/usr/src/man/man3c/bstring.3c +++ b/usr/src/man/man3c/bstring.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 bstring 3C "15 Apr 2002" "SunOS 5.11" "Standard C Library Functions" +.TH BSTRING 3C "Apr 15, 2002" .SH NAME bstring, bcopy, bcmp, bzero \- memory operations .SH SYNOPSIS @@ -59,15 +59,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/btowc.3c b/usr/src/man/man3c/btowc.3c index f6d3fa4403..ad5c197974 100644 --- a/usr/src/man/man3c/btowc.3c +++ b/usr/src/man/man3c/btowc.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 btowc 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH BTOWC 3C "Jul 24, 2002" .SH NAME btowc \- single-byte to wide-character conversion .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/catgets.3c b/usr/src/man/man3c/catgets.3c index 6b85f4b32c..313a932200 100644 --- a/usr/src/man/man3c/catgets.3c +++ b/usr/src/man/man3c/catgets.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 catgets 3C "22 Mar 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CATGETS 3C "Mar 22, 2002" .SH NAME catgets \- read a program message .SH SYNOPSIS @@ -40,24 +40,20 @@ pointer to \fIs\fR and \fBerrno\fR may be set to indicate the error. The \fBcatgets()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 11n -.rt The \fIcatd\fR argument is not a valid message catalogue descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEBADMSG\fR\fR .ad .RS 11n -.rt The number of \fB%n\fR specifiers that appear in the message string specified by \fIs\fR does not match the number of \fB%n\fR specifiers that appear in the message identified by \fIset_id\fR and \fImsg_id\fR in the specified message @@ -66,35 +62,29 @@ catalog. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 11n -.rt The read operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The message catalog identified by \fIcatd\fR is corrupted. .RE .sp .ne 2 -.mk .na \fB\fBENOMSG\fR\fR .ad .RS 11n -.rt The message identified by \fIset_id\fR and \fImsg_id\fR is not in the message catalog. .RE @@ -112,15 +102,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/catopen.3c b/usr/src/man/man3c/catopen.3c index 6edfd036b2..4adcfa7562 100644 --- a/usr/src/man/man3c/catopen.3c +++ b/usr/src/man/man3c/catopen.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 1995, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 catopen 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH CATOPEN 3C "Dec 29, 1996" .SH NAME catopen, catclose \- open/close a message catalog .SH SYNOPSIS @@ -50,7 +50,7 @@ catalog files. For example: .sp .in +2 .nf -NLSPATH=/nlslib/%L/%N.cat:/nlslib/%N/%L +NLSPATH=/nlslib/%L/%N.cat:/nlslib/%N/%L .fi .in -2 @@ -74,67 +74,55 @@ associated with message catalogs transparent to both programs and users. The full set of metacharacters is: .sp .ne 2 -.mk .na \fB\fB%N\fR\fR .ad .RS 6n -.rt The value of the name parameter passed to \fBcatopen()\fR. .RE .sp .ne 2 -.mk .na \fB\fB%L\fR\fR .ad .RS 6n -.rt The value of \fBLANG\fR or \fBLC_MESSAGES\fR. .RE .sp .ne 2 -.mk .na \fB\fB%l\fR\fR .ad .RS 6n -.rt The value of the \fIlanguage\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR. .RE .sp .ne 2 -.mk .na \fB\fB%t\fR\fR .ad .RS 6n -.rt The value of the \fIterritory\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR. .RE .sp .ne 2 -.mk .na \fB\fB%c\fR\fR .ad .RS 6n -.rt The value of the \fIcodeset\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR. .RE .sp .ne 2 -.mk .na \fB\fB%%\fR\fR .ad .RS 6n -.rt A single %. .RE @@ -209,94 +197,78 @@ Upon successful completion, \fBcatclose()\fR returns 0. Otherwise it returns The \fBcatopen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for the component of the path prefix of the message catalogue or read permission is denied for the message catalogue. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt There are \fBOPEN_MAX\fR file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the pathname of the message catalogue exceeds \fIPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds \fIPATH_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt Too many files are currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt The message catalogue does not exist or the \fIname\fR argument points to an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix of the message catalogue is not a directory. .RE @@ -305,23 +277,19 @@ A component of the path prefix of the message catalogue is not a directory. The \fBcatclose()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The catalogue descriptor is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 9n -.rt The \fBcatclose()\fR function was interrupted by a signal. .RE @@ -339,15 +307,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/cfgetispeed.3c b/usr/src/man/man3c/cfgetispeed.3c index df53a01c69..566513a5ec 100644 --- a/usr/src/man/man3c/cfgetispeed.3c +++ b/usr/src/man/man3c/cfgetispeed.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 cfgetispeed 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CFGETISPEED 3C "Jul 24, 2002" .SH NAME cfgetispeed, cfgetospeed \- get input and output baud rate .SH SYNOPSIS @@ -57,15 +57,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/cfsetispeed.3c b/usr/src/man/man3c/cfsetispeed.3c index abfb8a352c..08f95d9b37 100644 --- a/usr/src/man/man3c/cfsetispeed.3c +++ b/usr/src/man/man3c/cfsetispeed.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 cfsetispeed 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CFSETISPEED 3C "Jul 24, 2002" .SH NAME cfsetispeed, cfsetospeed \- set input and output baud rate .SH SYNOPSIS @@ -48,23 +48,19 @@ indicate the error. The \fBcfsetispeed()\fR and \fBcfsetospeed()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIspeed\fR value is not a valid baud rate. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIspeed\fR is outside the range of possible speed values as specified in \fB<termios.h>\fR\&. .RE @@ -77,15 +73,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/clock.3c b/usr/src/man/man3c/clock.3c index 3eed93c744..602f80e3d0 100644 --- a/usr/src/man/man3c/clock.3c +++ b/usr/src/man/man3c/clock.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 clock 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CLOCK 3C "Jul 24, 2002" .SH NAME clock \- report CPU time used .SH SYNOPSIS @@ -44,15 +44,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/clock_nanosleep.3c b/usr/src/man/man3c/clock_nanosleep.3c index 3b27bf2ba2..6871a2b676 100644 --- a/usr/src/man/man3c/clock_nanosleep.3c +++ b/usr/src/man/man3c/clock_nanosleep.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 clock_nanosleep 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH CLOCK_NANOSLEEP 3C "Feb 5, 2008" .SH NAME clock_nanosleep \- high resolution sleep with specifiable clock .SH SYNOPSIS @@ -87,23 +87,19 @@ value. The \fBclock_nanosleep()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 11n -.rt The \fBclock_nanosleep()\fR function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The \fIrqtp\fR argument specified a nanosecond value less than zero or greater than or equal to 1,000 million; or the TIMER_ABSTIME flag was specified in \fIflags\fR and the \fIrqtp\fR argument is outside the range for the clock @@ -113,12 +109,10 @@ known clock, or specifies the CPU-time clock of the calling thread. .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The \fIclock_id\fR argument specifies a clock for which \fBclock_nanosleep()\fR is not supported, such as a CPU-time clock. .RE @@ -131,17 +125,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/clock_settime.3c b/usr/src/man/man3c/clock_settime.3c index 3ae62de1e9..2eb447bc32 100644 --- a/usr/src/man/man3c/clock_settime.3c +++ b/usr/src/man/man3c/clock_settime.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 clock_settime 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH CLOCK_SETTIME 3C "Feb 5, 2008" .SH NAME clock_settime, clock_gettime, clock_getres \- high-resolution clock operations .SH SYNOPSIS @@ -88,23 +88,19 @@ The \fBclock_settime()\fR, \fBclock_gettime()\fR and \fBclock_getres()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIclock_id\fR argument does not specify a known clock. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The functions \fBclock_settime()\fR, \fBclock_gettime()\fR, and \fBclock_getres()\fR are not supported by this implementation. .RE @@ -114,12 +110,10 @@ The functions \fBclock_settime()\fR, \fBclock_gettime()\fR, and The \fBclock_settime()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fItp\fR argument to \fBclock_settime()\fR is outside the range for the given clock ID; or the \fItp\fR argument specified a nanosecond value less than zero or greater than or equal to 1000 million. @@ -130,12 +124,10 @@ zero or greater than or equal to 1000 million. The \fBclock_settime()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The requesting process does not have the appropriate privilege to set the specified clock. .RE @@ -148,17 +140,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-Level\fBclock_gettime()\fR is Async-Signal-Safe +MT-Level \fBclock_gettime()\fR is Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/closedir.3c b/usr/src/man/man3c/closedir.3c index 0a15f47853..1c14187f52 100644 --- a/usr/src/man/man3c/closedir.3c +++ b/usr/src/man/man3c/closedir.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 closedir 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CLOSEDIR 3C "Jul 24, 2002" .SH NAME closedir \- close a directory stream .SH SYNOPSIS @@ -39,23 +39,19 @@ Upon successful completion, \fBclosedir()\fR returns \fB0\fR. Otherwise, The \fBclosedir()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The \fIdirp\fR argument does not refer to an open directory stream. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 9n -.rt The \fBclosedir()\fR function was interrupted by a signal. .RE @@ -67,15 +63,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/closefrom.3c b/usr/src/man/man3c/closefrom.3c index ad207d80b0..d3730393ba 100644 --- a/usr/src/man/man3c/closefrom.3c +++ b/usr/src/man/man3c/closefrom.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 closefrom 3C "27 Apr 2000" "SunOS 5.11" "Standard C Library Functions" +.TH CLOSEFROM 3C "Apr 27, 2000" .SH NAME closefrom, fdwalk \- close or iterate over open file descriptors .SH SYNOPSIS @@ -109,12 +109,10 @@ function called by the callback function, \fIfunc\fR(). .SH FILES .sp .ne 2 -.mk .na \fB\fB/proc/self/fd\fR\fR .ad .RS 17n -.rt directory (list of open files) .RE @@ -132,13 +130,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/cond_init.3c b/usr/src/man/man3c/cond_init.3c index 3f17dcabce..47e1910e9d 100644 --- a/usr/src/man/man3c/cond_init.3c +++ b/usr/src/man/man3c/cond_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 cond_init 3C "5 Jun 2007" "SunOS 5.11" "Standard C Library Functions" +.TH COND_INIT 3C "Jun 5, 2007" .SH NAME cond_init, cond_wait, cond_timedwait, cond_reltimedwait, cond_signal, cond_broadcast, cond_destroy \- condition variables @@ -17,8 +17,8 @@ cond_broadcast, cond_destroy \- condition variables .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] -#include <thread.h> -#include <synch.h> +#include <thread.h> +#include <synch.h> \fBint\fR \fBcond_init\fR(\fBcond_t *\fR\fIcvp\fR, \fBint\fR \fItype\fR, \fBvoid *\fR\fIarg\fR); .fi @@ -89,24 +89,20 @@ may specify additional behavior parameters with \fIarg\fR. The \fItype\fR argument c take one of the following values: .sp .ne 2 -.mk .na \fB\fBUSYNC_THREAD\fR\fR .ad .RS 17n -.rt The condition variable can synchronize threads only in this process. This is the default. .RE .sp .ne 2 -.mk .na \fB\fBUSYNC_PROCESS\fR\fR .ad .RS 17n -.rt The condition variable can synchronize threads in this process and other processes. Only one process should initialize the condition variable. The object initialized with this attribute must be allocated in memory shared @@ -131,7 +127,7 @@ Default condition variable initialization (intra-process): .nf cond_t cvp; -cond_init(&cvp, NULL, NULL); /*initialize condition variable +cond_init(&cvp, NULL, NULL); /*initialize condition variable with default*/ .fi .in -2 @@ -238,12 +234,10 @@ The \fBcond_timedwait()\fR and \fBcond_reltimedwait()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBETIME\fR\fR .ad .RS 9n -.rt The time specified by \fIabstime\fR or \fIreltime\fR has passed. .RE @@ -253,12 +247,10 @@ The \fBcond_wait()\fR, \fBcond_timedwait()\fR, and \fBcond_reltimedwait()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 9n -.rt Interrupted. The calling thread was awakened by the delivery of a UNIX signal. .RE @@ -272,24 +264,20 @@ description of the \fBmutex_lock()\fR function on the \fBmutex_init\fR(3C) manual page. .sp .ne 2 -.mk .na \fB\fBENOTRECOVERABLE\fR\fR .ad .RS 19n -.rt The mutex was protecting the state that has now been left irrecoverable. The mutex has not been acquired. .RE .sp .ne 2 -.mk .na \fB\fBEOWNERDEAD\fR\fR .ad .RS 19n -.rt The last owner of the mutex died while holding the mutex, possibly leaving the state it was protecting inconsistent. The mutex is now owned by the caller. .RE @@ -299,24 +287,20 @@ state it was protecting inconsistent. The mutex is now owned by the caller. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIcond\fR, \fIattr\fR, \fIcvp\fR, \fIarg\fR, \fIabstime\fR, or \fImutex\fR argument points to an illegal address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid argument. For \fBcond_init()\fR, \fItype\fR is not a recognized type. For \fBcond_timedwait()\fR, the number of nanoseconds is greater than or equal to 1,000,000,000. @@ -401,13 +385,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/confstr.3c b/usr/src/man/man3c/confstr.3c index a985bdd984..934e952694 100644 --- a/usr/src/man/man3c/confstr.3c +++ b/usr/src/man/man3c/confstr.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 confstr 3C "15 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH CONFSTR 3C "Dec 15, 2003" .SH NAME confstr \- get configurable variables .SH SYNOPSIS @@ -47,7 +47,6 @@ The \fBconfstr()\fR function supports the following values for \fIname\fR, defined in \fB<unistd.h>\fR, for both SPARC and x86: .sp .ne 2 -.mk .na \fB\fB_CS_LFS64_CFLAGS\fR\fR .ad @@ -61,7 +60,6 @@ an application using the Large File Summit transitional compilation environment .sp .ne 2 -.mk .na \fB\fB_CS_LFS64_LDFLAGS\fR\fR .ad @@ -75,7 +73,6 @@ an application using the Large File Summit transitional compilation environment .sp .ne 2 -.mk .na \fB\fB_CS_LFS64_LIBS\fR\fR .ad @@ -89,7 +86,6 @@ application using the Large File Summit transitional compilation environment .sp .ne 2 -.mk .na \fB\fB_CS_LFS64_LINTFLAGS\fR\fR .ad @@ -103,7 +99,6 @@ using the Large File Summit transitional compilation environment (see .sp .ne 2 -.mk .na \fB\fB_CS_LFS_CFLAGS\fR\fR .ad @@ -117,7 +112,6 @@ for 32-bit applications (see \fBlfcompile\fR(5)). .sp .ne 2 -.mk .na \fB\fB_CS_LFS_LDFLAGS\fR\fR .ad @@ -131,7 +125,6 @@ for 32-bit applications (see \fBlfcompile\fR(5)). .sp .ne 2 -.mk .na \fB\fB_CS_LFS_LIBS\fR\fR .ad @@ -145,7 +138,6 @@ application using the Large File Summit large file compilation environment for .sp .ne 2 -.mk .na \fB\fB_CS_LFS_LINTFLAGS\fR\fR .ad @@ -159,7 +151,6 @@ applications (see \fBlfcompile\fR(5)). .sp .ne 2 -.mk .na \fB\fB_CS_PATH\fR\fR .ad @@ -172,7 +163,6 @@ of this value is unspecified. .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFF32_CFLAGS\fR\fR .ad @@ -186,7 +176,6 @@ model with 32-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and \fBoff_t\fR types. .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFF32_LDFLAGS\fR\fR .ad @@ -200,7 +189,6 @@ model with 32-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and \fBoff_t\fR types. .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFF32_LIBS\fR\fR .ad @@ -214,7 +202,6 @@ to the \fBc99\fR utility to build an application using a programming model with .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS\fR\fR .ad @@ -229,7 +216,6 @@ model with 32-bit \fBint\fR, \fBlong\fR, and \fBpointer\fR types, and an .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS\fR\fR .ad @@ -244,7 +230,6 @@ model with 32-bit \fBint\fR, \fBlong\fR, and \fBpointer\fR types, and an .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_ILP32_OFFBIG_LIBS\fR\fR .ad @@ -259,7 +244,6 @@ using at least 64 bits. .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LP64_OFF64_CFLAGS\fR\fR .ad @@ -273,7 +257,6 @@ to the \fBc99\fR utility to build an application using a programming model with .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LP64_OFF64_LDFLAGS\fR\fR .ad @@ -287,7 +270,6 @@ to the \fBc99\fR utility to build an application using a programming model with .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LP64_OFF64_LIBS\fR\fR .ad @@ -301,7 +283,6 @@ the \fBc99\fR utility to build an application using a programming model with .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS\fR\fR .ad @@ -316,7 +297,6 @@ model with an \fBint\fR type using at least 32 bits and \fBlong\fR, .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS\fR\fR .ad @@ -331,7 +311,6 @@ model with an \fBint\fR type using at least 32 bits and \fBlong\fR, .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_LPBIG_OFFBIG_LIBS\fR\fR .ad @@ -346,7 +325,6 @@ an \fBint\fR type using at least 32 bits and \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS\fR\fR .ad @@ -362,7 +340,6 @@ width of type \fBlong\fR. .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFF32_CFLAGS\fR\fR .ad @@ -377,7 +354,6 @@ programming model with 32-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFF32_LDFLAGS\fR\fR .ad @@ -392,7 +368,6 @@ programming model with 32-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFF32_LIBS\fR\fR .ad @@ -407,7 +382,6 @@ programming model with 32-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFF32_LINTFLAGS\fR\fR .ad @@ -421,7 +395,6 @@ is unspecified. Otherwise, this value is the set of options to be given to the .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFFBIG_CFLAGS\fR\fR .ad @@ -436,7 +409,6 @@ and an \fBoff_t\fR type using at least 64 bits. .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFFBIG_LDFLAGS\fR\fR .ad @@ -451,7 +423,6 @@ and an \fBoff_t\fR type using at least 64 bits. .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFFBIG_LIBS\fR\fR .ad @@ -466,7 +437,6 @@ and an \fBoff_t\fR type using at least 64 bits. .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_ILP32_OFFBIG_LINTFLAGS\fR\fR .ad @@ -485,7 +455,6 @@ The \fBconfstr()\fR function supports the following values for \fIname\fR, defined in \fB<unistd.h>\fR, for SPARC only: .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LP64_OFF64_CFLAGS\fR\fR .ad @@ -500,7 +469,6 @@ programming model with 64-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LP64_OFF64_LDFLAGS\fR\fR .ad @@ -515,7 +483,6 @@ programming model with 64-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LP64_OFF64_LIBS\fR\fR .ad @@ -530,7 +497,6 @@ programming model with 64-bit \fBint\fR, \fBlong\fR, \fBpointer\fR, and .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LP64_OFF64_LINTFLAGS\fR\fR .ad @@ -544,7 +510,6 @@ is unspecified. Otherwise, this value is the set of options to be given to the .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LPBIG_OFFBIG_CFLAGS\fR\fR .ad @@ -559,7 +524,6 @@ programming model with an \fBint\fR type using at least 32 bits and \fBlong\fR, .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LPBIG_OFFBIG_LDFLAGS\fR\fR .ad @@ -574,7 +538,6 @@ programming model with an \fBint\fR type using at least 32 bits and \fBlong\fR, .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LPBIG_OFFBIG_LIBS\fR\fR .ad @@ -589,7 +552,6 @@ programming model with an \fBint\fR type using at least 32 bits and \fBlong\fR, .sp .ne 2 -.mk .na \fB\fB_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS\fR\fR .ad @@ -623,12 +585,10 @@ returns \fB0\fR and leaves \fBerrno\fR unchanged. The \fBconfstr()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIname\fR argument is invalid. .RE @@ -640,15 +600,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMt-Safe +MT-Level Mt-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/crypt.3c b/usr/src/man/man3c/crypt.3c index b5c9afa0e9..2bba8fe3ef 100644 --- a/usr/src/man/man3c/crypt.3c +++ b/usr/src/man/man3c/crypt.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 crypt 3C "28 Sep 2004" "SunOS 5.11" "Standard C Library Functions" +.TH CRYPT 3C "Sep 28, 2004" .SH NAME crypt \- string encoding function .SH SYNOPSIS @@ -60,45 +60,37 @@ The return value points to static data that is overwritten by each call. The \fBcrypt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt An entry in \fBcrypt.conf\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBELIBACC\fR\fR .ad .RS 11n -.rt The required shared library was not found. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt There is insufficient memory to generate the hash. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 11n -.rt The functionality is not supported on this system. .RE @@ -119,15 +111,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/crypt_genhash_impl.3c b/usr/src/man/man3c/crypt_genhash_impl.3c index ec2805d0e6..f3107a522e 100644 --- a/usr/src/man/man3c/crypt_genhash_impl.3c +++ b/usr/src/man/man3c/crypt_genhash_impl.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 crypt_genhash_impl 3C "10 Jun 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CRYPT_GENHASH_IMPL 3C "Jun 10, 2002" .SH NAME crypt_genhash_impl \- generate encrypted password .SH SYNOPSIS @@ -51,34 +51,28 @@ encoded version of \fIplaintext\fR. Otherwise a null pointer is returned and The \fBcrypt_genhash_impl()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The configuration file \fBcrypt.conf\fR contains an invalid entry. .RE .sp .ne 2 -.mk .na \fB\fBELIBACC\fR\fR .ad .RS 11n -.rt The required shared library was not found. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt There is insufficient memory to perform hashing. .RE @@ -90,15 +84,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/crypt_gensalt.3c b/usr/src/man/man3c/crypt_gensalt.3c index c6fa5eeeb9..e310aec43c 100644 --- a/usr/src/man/man3c/crypt_gensalt.3c +++ b/usr/src/man/man3c/crypt_gensalt.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 crypt_gensalt 3C "10 Jun 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CRYPT_GENSALT 3C "Jun 10, 2002" .SH NAME crypt_gensalt \- generate salt string for string encoding .SH SYNOPSIS @@ -50,34 +50,28 @@ the error. The \fBcrypt_gensalt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The configuration file \fBcrypt.conf\fR contains an invalid entry. .RE .sp .ne 2 -.mk .na \fB\fBELIBACC\fR\fR .ad .RS 11n -.rt The required shared library was not found. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt There is insufficient memory to perform hashing. .RE @@ -99,15 +93,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/crypt_gensalt_impl.3c b/usr/src/man/man3c/crypt_gensalt_impl.3c index 74e53bdea6..c40338aa87 100644 --- a/usr/src/man/man3c/crypt_gensalt_impl.3c +++ b/usr/src/man/man3c/crypt_gensalt_impl.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 crypt_gensalt_impl 3C "10 Jun 2002" "SunOS 5.11" "Standard C Library Functions" +.TH CRYPT_GENSALT_IMPL 3C "Jun 10, 2002" .SH NAME crypt_gensalt_impl \- generate salt for password encryption .SH SYNOPSIS @@ -54,34 +54,28 @@ indicate the error. The \fBcrypt_gensalt_impl()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The configuration file \fBcrypt.conf\fR contains an invalid entry. .RE .sp .ne 2 -.mk .na \fB\fBELIBACC\fR\fR .ad .RS 11n -.rt The required crypt shared library was not found. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt There is insufficient memory to perform hashing. .RE @@ -93,15 +87,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/cset.3c b/usr/src/man/man3c/cset.3c index 106d69df49..5d6b7f8a39 100644 --- a/usr/src/man/man3c/cset.3c +++ b/usr/src/man/man3c/cset.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 cset 3C "16 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH CSET 3C "Nov 16, 2003" .SH NAME cset, csetlen, csetcol, csetno, wcsetno \- get information on EUC codesets .SH SYNOPSIS @@ -49,8 +49,8 @@ For example, .in +2 .nf #include<euc.h> -\|.\|.\|. -x+=csetcol(csetno(c)); +\|.\|.\|. +x+=csetcol(csetno(c)); .fi .in -2 @@ -94,12 +94,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) cw(2.75i) -lw(2.75i) lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE -MT-LevelMT-Safe with exceptions +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ctermid.3c b/usr/src/man/man3c/ctermid.3c index b4a8820c85..4fec552f59 100644 --- a/usr/src/man/man3c/ctermid.3c +++ b/usr/src/man/man3c/ctermid.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 ctermid 3C "25 Jul 2000" "SunOS 5.11" "Standard C Library Functions" +.TH CTERMID 3C "Jul 25, 2000" .SH NAME ctermid, ctermid_r \- generate path name for controlling terminal .SH SYNOPSIS @@ -64,15 +64,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBctermid()\fR is Standard +Interface Stability \fBctermid()\fR is Standard _ -MT-LevelT{ +MT-Level T{ \fBctermid()\fR is Unsafe; \fBctermid_r()\fR is MT-Safe T} .TE diff --git a/usr/src/man/man3c/ctime.3c b/usr/src/man/man3c/ctime.3c index 7bb23cb23f..db871e73ba 100644 --- a/usr/src/man/man3c/ctime.3c +++ b/usr/src/man/man3c/ctime.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ctime 3C "27 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH CTIME 3C "May 27, 2005" .SH NAME ctime, ctime_r, localtime, localtime_r, gmtime, gmtime_r, asctime, asctime_r, tzset \- convert date and time to string @@ -218,12 +218,10 @@ return a null pointer and set \fBerrno\fR to indicate the error. The \fBctime_r()\fR and \fBasctime_r()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The length of the buffer supplied by the caller is not large enough to store the result. .RE @@ -234,12 +232,10 @@ The \fBgmtime()\fR, \fBgmtime_r()\fR, \fBlocaltime()\fR, and \fBlocaltime_r()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The result cannot be represented. .RE @@ -327,17 +323,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/ctype.3c b/usr/src/man/man3c/ctype.3c index 3f518acd5a..e9849003cc 100644 --- a/usr/src/man/man3c/ctype.3c +++ b/usr/src/man/man3c/ctype.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 1992, X/Open Company Limited All Rights Reserved. Portions Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ctype 3C "28 Jan 2005" "SunOS 5.11" "Standard C Library Functions" +.TH CTYPE 3C "Jan 28, 2005" .SH NAME ctype, isalpha, isalnum, isascii, isblank, iscntrl, isdigit, islower, isprint, isspace, isupper, ispunct, isgraph, isxdigit \- character handling @@ -109,24 +109,20 @@ standard-conforming behavior is provided for standard-conforming applications .SS "Default" .sp .ne 2 -.mk .na \fB\fBisalpha()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBisupper()\fR or \fBislower()\fR is true. .RE .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fBisalpha()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBisupper()\fR or \fBislower()\fR is true, or any character that is one of the current locale-defined set of characters for which none of \fBiscntrl()\fR, \fBisdigit()\fR, \fBispunct()\fR, or @@ -136,35 +132,29 @@ the characters for which \fBisupper()\fR or \fBislower()\fR is true. .sp .ne 2 -.mk .na \fB\fBisalnum()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBisalpha()\fR or \fBisdigit()\fR is true (letter or digit). .RE .sp .ne 2 -.mk .na \fB\fBisascii()\fR\fR .ad .RS 13n -.rt Tests for any ASCII character, code between \fB0\fR and \fB0177\fR inclusive. .RE .sp .ne 2 -.mk .na \fB\fBisblank()\fR\fR .ad .RS 13n -.rt Tests whether \fIc\fR is a character of class blank in the current locale. This macro/function is not available to applications conforming to standards prior to SUSv3. See \fBstandards\fR(5) @@ -172,35 +162,29 @@ to SUSv3. See \fBstandards\fR(5) .sp .ne 2 -.mk .na \fB\fBiscntrl()\fR\fR .ad .RS 13n -.rt Tests for any ``control character'' as defined by the character set. .RE .sp .ne 2 -.mk .na \fB\fBisdigit()\fR\fR .ad .RS 13n -.rt Tests for any decimal-digit character. .RE .SS "Default" .sp .ne 2 -.mk .na \fB\fBisgraph()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBispunct()\fR, \fBisupper()\fR, \fBislower()\fR, and \fBisdigit()\fR is true. .RE @@ -208,12 +192,10 @@ Tests for any character for which \fBispunct()\fR, \fBisupper()\fR, .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fBisgraph()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBisalnum()\fR and \fBispunct()\fR are true, or any character in the current locale-defined "graph" class which is neither a space ("\|") nor a character for which \fBiscntrl()\fR is true. @@ -221,12 +203,10 @@ space ("\|") nor a character for which \fBiscntrl()\fR is true. .sp .ne 2 -.mk .na \fB\fBislower()\fR\fR .ad .RS 13n -.rt Tests for any character that is a lower-case letter or is one of the current locale-defined set of characters for which none of \fBiscntrl()\fR, \fBisdigit()\fR, \fBispunct()\fR, \fBisspace()\fR, or \fBisupper()\fR is true. @@ -237,12 +217,10 @@ as lower-case \fBASCII\fR characters. .SS "Default" .sp .ne 2 -.mk .na \fB\fBisprint()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBispunct()\fR, \fBisupper()\fR, \fBislower()\fR, \fBisdigit()\fR, and the space character ("\|") is true. .RE @@ -250,12 +228,10 @@ Tests for any character for which \fBispunct()\fR, \fBisupper()\fR, .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fBisprint()\fR\fR .ad .RS 13n -.rt Tests for any character for which \fBiscntrl()\fR is false, and \fBisalnum()\fR, \fBisgraph()\fR, \fBispunct()\fR, the space character ("\|"), and the characters in the current locale-defined "print" class are true. @@ -263,24 +239,20 @@ and the characters in the current locale-defined "print" class are true. .sp .ne 2 -.mk .na \fB\fBispunct()\fR\fR .ad .RS 13n -.rt Tests for any printing character which is neither a space ("\|") nor a character for which \fBisalnum()\fR or \fBiscntrl()\fR is true. .RE .sp .ne 2 -.mk .na \fB\fBisspace()\fR\fR .ad .RS 13n -.rt Tests for any space, tab, carriage-return, newline, vertical-tab or form-feed (standard white-space characters) or for one of the current locale-defined set of characters for which \fBisalnum()\fR is false. In the "C" locale, @@ -289,12 +261,10 @@ of characters for which \fBisalnum()\fR is false. In the "C" locale, .sp .ne 2 -.mk .na \fB\fBisupper()\fR\fR .ad .RS 13n -.rt Tests for any character that is an upper-case letter or is one of the current locale-defined set of characters for which none of \fBiscntrl()\fR, \fBisdigit()\fR, \fBispunct()\fR, \fBisspace()\fR, or \fBislower()\fR is true. @@ -305,12 +275,10 @@ as upper-case \fBASCII\fR characters. .SS "Default" .sp .ne 2 -.mk .na \fB\fBisxdigit()\fR\fR .ad .RS 14n -.rt Tests for any hexadecimal-digit character (\fB[0\(mi9]\fR, \fB[A\(miF]\fR, or \fB[a\(mif]\fR). .RE @@ -318,12 +286,10 @@ Tests for any hexadecimal-digit character (\fB[0\(mi9]\fR, \fB[A\(miF]\fR, or .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fBisxdigit()\fR\fR .ad .RS 14n -.rt Tests for any hexadecimal-digit character (\fB[0\(mi9]\fR, \fB[A\(miF]\fR, or \fB[a\(mif]\fR or the current locale-defined sets of characters representing the hexadecimal digits \fB10\fR to \fB15\fR inclusive). In the "C" locale, only @@ -357,14 +323,13 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE -CSIEnabled -Interface StabilityStandard -MT-LevelMT-Safe with exceptions +box; +l l +l l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +CSI Enabled +Interface Stability Standard +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/cuserid.3c b/usr/src/man/man3c/cuserid.3c index 02bf30287d..5785756c66 100644 --- a/usr/src/man/man3c/cuserid.3c +++ b/usr/src/man/man3c/cuserid.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 cuserid 3C "30 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH CUSERID 3C "Dec 30, 1996" .SH NAME cuserid \- get character login name of the user .SH SYNOPSIS @@ -42,13 +42,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/daemon.3c b/usr/src/man/man3c/daemon.3c index b82c45b9d6..f0b473e2ec 100644 --- a/usr/src/man/man3c/daemon.3c +++ b/usr/src/man/man3c/daemon.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 daemon 3C "15 Sep 2009" "SunOS 5.11" "Standard C Library Functions" +.TH DAEMON 3C "Sep 15, 2009" .SH NAME daemon \- basic daemonization function .SH SYNOPSIS @@ -100,15 +100,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/decimal_to_floating.3c b/usr/src/man/man3c/decimal_to_floating.3c index 8357ae14ab..d7a43fd9de 100644 --- a/usr/src/man/man3c/decimal_to_floating.3c +++ b/usr/src/man/man3c/decimal_to_floating.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 decimal_to_floating 3C "1 Oct 2001" "SunOS 5.11" "Standard C Library Functions" +.TH DECIMAL_TO_FLOATING 3C "Oct 1, 2001" .SH NAME decimal_to_floating, decimal_to_single, decimal_to_double, decimal_to_extended, decimal_to_quadruple \- convert decimal record to floating-point value @@ -85,13 +85,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/difftime.3c b/usr/src/man/man3c/difftime.3c index 6b26ff0a9d..fccfc9e747 100644 --- a/usr/src/man/man3c/difftime.3c +++ b/usr/src/man/man3c/difftime.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 difftime 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH DIFFTIME 3C "Jul 24, 2002" .SH NAME difftime \- computes the difference between two calendar times .SH SYNOPSIS @@ -37,15 +37,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/directio.3c b/usr/src/man/man3c/directio.3c index 8b08fdbb40..9ca847bec3 100644 --- a/usr/src/man/man3c/directio.3c +++ b/usr/src/man/man3c/directio.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 directio 3C "9 Apr 2003" "SunOS 5.11" "Standard C Library Functions" +.TH DIRECTIO 3C "Apr 9, 2003" .SH NAME directio \- provide advice to file system .SH SYNOPSIS @@ -34,12 +34,10 @@ sets the \fIadvice\fR for all applications using the file associated with Values for \fIadvice\fR are defined in \fB<sys/fcntl.h>\fR\&. .sp .ne 2 -.mk .na \fB\fBDIRECTIO_OFF\fR\fR .ad .RS 16n -.rt Applications get the default system behavior when accessing file data. .sp When an application reads data from a file, the data is first cached in system @@ -62,12 +60,10 @@ The system behavior for \fBDIRECTIO_OFF\fR can change without notice. .sp .ne 2 -.mk .na \fB\fBDIRECTIO_ON\fR\fR .ad .RS 16n -.rt The system behaves as though the application is not going to reuse the file data in the near future. In other words, the file data is not cached in the system's memory pages. @@ -97,35 +93,29 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBdirectio()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not associated with a file system that accepts advisory functions. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value in \fIadvice\fR is invalid. .RE @@ -150,13 +140,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dirfd.3c b/usr/src/man/man3c/dirfd.3c index adde122cf7..69f1f38cfc 100644 --- a/usr/src/man/man3c/dirfd.3c +++ b/usr/src/man/man3c/dirfd.3c @@ -4,7 +4,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 dirfd 3C "24 Oct 2007" "SunOS 5.11" "Standard C Library Functions" +.TH DIRFD 3C "Oct 24, 2007" .SH NAME dirfd \- get directory stream file descriptor .SH SYNOPSIS @@ -59,15 +59,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dirname.3c b/usr/src/man/man3c/dirname.3c index ba5bf81069..c9e2c12b64 100644 --- a/usr/src/man/man3c/dirname.3c +++ b/usr/src/man/man3c/dirname.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 dirname 3C "18 Mar 2002" "SunOS 5.11" "Standard C Library Functions" +.TH DIRNAME 3C "Mar 18, 2002" .SH NAME dirname \- report the parent directory name of a file path name .SH SYNOPSIS @@ -72,23 +72,22 @@ and the output string is the return value of the \fBdirname()\fR function. .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBInput String\fR\fBOutput String\fR +box; +c | c +l | l . +\fBInput String\fR \fBOutput String\fR _ -"/usr/lib"""/usr" +"/usr/lib"" "/usr" _ -"/usr/""/" +"/usr/" "/" _ -"usr""/" +"usr" "/" _ -"/""/" +"/" "/" _ -".""." +"." "." _ -"..""." +".." "." .TE .SH USAGE @@ -108,15 +107,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/div.3c b/usr/src/man/man3c/div.3c index 1b7b2916a4..245d045803 100644 --- a/usr/src/man/man3c/div.3c +++ b/usr/src/man/man3c/div.3c @@ -4,7 +4,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 div 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH DIV 3C "Jul 24, 2002" .SH NAME div, ldiv, lldiv \- compute the quotient and remainder .SH SYNOPSIS @@ -79,15 +79,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dladdr.3c b/usr/src/man/man3c/dladdr.3c index 646358f997..151932ebc5 100644 --- a/usr/src/man/man3c/dladdr.3c +++ b/usr/src/man/man3c/dladdr.3c @@ -4,7 +4,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 dladdr 3C "4 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH DLADDR 3C "Feb 4, 2009" .SH NAME dladdr, dladdr1 \- translate address to symbolic information .SH SYNOPSIS @@ -51,34 +51,28 @@ The \fBDl_info_t\fR structure includes the following members: The \fBDl_info_t\fR members provide the following information. .sp .ne 2 -.mk .na \fB\fBdli_fname\fR\fR .ad .RS 13n -.rt Contains a pointer to the filename of the containing object. .RE .sp .ne 2 -.mk .na \fB\fBdli_fbase\fR\fR .ad .RS 13n -.rt Contains the base address of the containing object. .RE .sp .ne 2 -.mk .na \fB\fBdli_sname\fR\fR .ad .RS 13n -.rt Contains a pointer to the symbol name that is nearest to the specified address. This symbol either represents the exact address that was specified, or is the nearest symbol with a lower address. @@ -86,12 +80,10 @@ nearest symbol with a lower address. .sp .ne 2 -.mk .na \fB\fBdli_saddr\fR\fR .ad .RS 13n -.rt Contains the actual address of the symbol pointed to by \fBdli_sname\fR. .RE @@ -101,12 +93,10 @@ The \fBdladdr1()\fR function provides for addition information to be returned as specified by the \fIflags\fR argument: .sp .ne 2 -.mk .na \fB\fBRTLD_DL_SYMENT\fR\fR .ad .RS 19n -.rt Obtain the \fBELF\fR symbol table entry for the matched symbol. The \fIinfo\fR argument points to a symbol pointer as defined in <\fBsys/elf.h\fR> (\fBElf32_Sym **\fR\fIinfo\fR or \fBElf64_Sym **\fR\fIinfo\fR). Most of the @@ -119,12 +109,10 @@ attributes. See the \fILinker and Libraries Guild\fR for more information. .sp .ne 2 -.mk .na \fB\fBRTLD_DL_LINKMAP\fR\fR .ad .RS 19n -.rt Obtain the \fBLink_map\fR for the matched file. The \fIinfo\fR argument points to a \fBLink_map\fR pointer as defined in <\fBsys/link.h\fR> (\fBLink_map **\fR\fIinfo\fR). @@ -151,13 +139,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dlclose.3c b/usr/src/man/man3c/dlclose.3c index 6e0536d598..c65eb03f8b 100644 --- a/usr/src/man/man3c/dlclose.3c +++ b/usr/src/man/man3c/dlclose.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 dlclose 3C "1 March 2004" "SunOS 5.11" "Standard C Library Functions" +.TH DLCLOSE 3C "Mar 1, 2004" .SH NAME dlclose \- close a shared object .SH SYNOPSIS @@ -49,15 +49,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dldump.3c b/usr/src/man/man3c/dldump.3c index bd195dc22a..8f8860345e 100644 --- a/usr/src/man/man3c/dldump.3c +++ b/usr/src/man/man3c/dldump.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 dldump 3C "1 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH DLDUMP 3C "Mar 1, 2004" .SH NAME dldump \- create a new file from a dynamic object component of the calling process @@ -71,12 +71,10 @@ affect the relocations that are applied to the new object. \fINon-symbolic\fR relocations can be applied using the following: .sp .ne 2 -.mk .na \fB\fBRTLD_REL_RELATIVE\fR\fR .ad .RS 21n -.rt Relocation records from the object \fIipath\fR, that define \fIrelative\fR relocations, are applied to the object \fIopath\fR. .RE @@ -87,12 +85,10 @@ A variety of \fIsymbolic\fR relocations can be applied using the following flags (each of these flags also implies \fBRTLD_REL_RELATIVE\fR is in effect): .sp .ne 2 -.mk .na \fB\fBRTLD_REL_EXEC\fR\fR .ad .RS 20n -.rt Symbolic relocations that result in binding \fIipath\fR to the dynamic object that started the process, commonly a dynamic executable, are applied to the object \fIopath\fR. @@ -100,24 +96,20 @@ object \fIopath\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_REL_DEPENDS\fR\fR .ad .RS 20n -.rt Symbolic relocations that result in binding \fIipath\fR to any of the dynamic dependencies of the process are applied to the object \fIopath\fR. .RE .sp .ne 2 -.mk .na \fB\fBRTLD_REL_PRELOAD\fR\fR .ad .RS 20n -.rt Symbolic relocations that result in binding \fIipath\fR to any objects preloaded with the process are applied to the object \fIopath\fR. See \fBLD_PRELOAD\fR in \fBld.so.1\fR(1). @@ -125,36 +117,30 @@ preloaded with the process are applied to the object \fIopath\fR. See .sp .ne 2 -.mk .na \fB\fBRTLD_REL_SELF\fR\fR .ad .RS 20n -.rt Symbolic relocations that result in binding \fIipath\fR to itself, are applied to the object \fIopath\fR. .RE .sp .ne 2 -.mk .na \fB\fBRTLD_REL_WEAK\fR\fR .ad .RS 20n -.rt Weak relocations that remain unresolved are applied to the object \fIopath\fR as \fB0\fR. .RE .sp .ne 2 -.mk .na \fB\fBRTLD_REL_ALL\fR\fR .ad .RS 20n -.rt \fIAll\fR relocation records defined in the object \fIipath\fR are applied to the new object \fIopath\fR. This is basically a concatenation of all the above relocation flags. @@ -182,12 +168,10 @@ The following additional attributes for creating the new dynamic object \fIopath\fR can be specified using the \fIflags\fR parameter: .sp .ne 2 -.mk .na \fB\fBRTLD_MEMORY\fR\fR .ad .RS 15n -.rt The new object \fIopath\fR is constructed from the current memory contents of the \fIipath\fR image as it exists in the calling process. This option allows data modified by the calling process to be captured in the new object. Note @@ -206,12 +190,10 @@ returned to the value as it existed in the \fIipath\fR disc file. .sp .ne 2 -.mk .na \fB\fBRTLD_STRIP\fR\fR .ad .RS 15n -.rt Only collect allocatable sections within the object \fIopath\fR. Sections that are not part of the dynamic objects' memory image are removed. \fBRTLD_STRIP\fR reduces the size of the \fIopath\fR disc file and is comparable to having run @@ -220,12 +202,10 @@ the new object through \fBstrip\fR(1). .sp .ne 2 -.mk .na \fB\fBRTLD_NOHEAP\fR\fR .ad .RS 15n -.rt Do not save any heap to the new object. This option is only meaningful when processing a dynamic executable with the \fBRTLD_MEMORY\fR attribute and allows for reducing the size of the \fIopath\fR disc file. The executable must confine @@ -428,13 +408,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dlerror.3c b/usr/src/man/man3c/dlerror.3c index a2e9b692d4..670b813611 100644 --- a/usr/src/man/man3c/dlerror.3c +++ b/usr/src/man/man3c/dlerror.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 dlerror 3C "1 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH DLERROR 3C "Mar 1, 2004" .SH NAME dlerror \- get diagnostic information .SH SYNOPSIS @@ -37,15 +37,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dlinfo.3c b/usr/src/man/man3c/dlinfo.3c index 53dc20e518..9118e591b1 100644 --- a/usr/src/man/man3c/dlinfo.3c +++ b/usr/src/man/man3c/dlinfo.3c @@ -4,7 +4,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 dlinfo 3C "4 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH DLINFO 3C "Feb 4, 2009" .SH NAME dlinfo \- dynamic load information .SH SYNOPSIS @@ -42,7 +42,6 @@ to the caller. The \fIrequest\fR argument can take the following values: .sp .ne 2 -.mk .na \fB\fBRTLD_DI_ARGSINFO\fR\fR .ad @@ -53,34 +52,28 @@ Obtain process argument information. The \fIp\fR argument is a pointer initialized: .sp .ne 2 -.mk .na \fB\fBdla_argc\fR\fR .ad .RS 12n -.rt The number of arguments passed to the process. .RE .sp .ne 2 -.mk .na \fB\fBdla_argv\fR\fR .ad .RS 12n -.rt The argument array passed to the process. .RE .sp .ne 2 -.mk .na \fB\fBdla_envp\fR\fR .ad .RS 12n -.rt The active environment variable array that is available to the process. This element initially points to the environment variable array that is made available to \fBexec\fR(2). This element can be updated should an alternative @@ -89,12 +82,10 @@ environment be established by the process. See \fBputenv\fR(3C). .sp .ne 2 -.mk .na \fB\fBdla_auxv\fR\fR .ad .RS 12n -.rt The auxiliary vector array passed to the process. .RE @@ -106,7 +97,6 @@ of how the runtime linker has been invoked. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_CONFIGADDR\fR\fR .ad @@ -117,23 +107,19 @@ Obtain the configuration file information. The \fIp\fR argument is a this structure are initialized: .sp .ne 2 -.mk .na \fB\fBdli_fname\fR\fR .ad .RS 13n -.rt The full name of the configuration file. .RE .sp .ne 2 -.mk .na \fB\fBdli_fbase\fR\fR .ad .RS 13n -.rt The base address of the configuration file loaded into memory. .RE @@ -141,7 +127,6 @@ The base address of the configuration file loaded into memory. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_LINKMAP\fR\fR .ad @@ -166,46 +151,38 @@ The \fBLink_map\fR structure includes the following members: .sp .ne 2 -.mk .na \fB\fBl_addr\fR\fR .ad .RS 13n -.rt The base address of the object loaded into memory. .RE .sp .ne 2 -.mk .na \fB\fBl_name\fR\fR .ad .RS 13n -.rt The full name of the loaded object. This full name is the filename of the object as referenced by \fBld.so.1\fR. .RE .sp .ne 2 -.mk .na \fB\fBl_ld\fR\fR .ad .RS 13n -.rt Points to the \fBSHT_DYNAMIC\fR structure. .RE .sp .ne 2 -.mk .na \fB\fBl_next\fR\fR .ad .RS 13n -.rt The next \fBLink_map\fR on the link-map list. Other objects on the same link-map list as the current object can be examined by following the \fBl_next\fR and \fBl_prev\fR members. @@ -213,23 +190,19 @@ link-map list as the current object can be examined by following the .sp .ne 2 -.mk .na \fB\fBl_prev\fR\fR .ad .RS 13n -.rt The previous \fBLink_map\fR on the link-map list. .RE .sp .ne 2 -.mk .na \fB\fBl_refname\fR\fR .ad .RS 13n -.rt If the object that is referenced is a \fIfilter\fR, this member points to the name of the object being filtered. If the object is not a \fIfilter\fR, this member is \fB0\fR. See the \fILinker and Libraries Guide\fR. @@ -239,7 +212,6 @@ member is \fB0\fR. See the \fILinker and Libraries Guide\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_LMID\fR\fR .ad @@ -251,7 +223,6 @@ loaded. The \fIp\fR argument is a \fBLmid_t\fR pointer (\fBLmid_t *\fR\fIp\fR). .sp .ne 2 -.mk .na \fB\fBRTLD_DI_MMAPCNT\fR\fR .ad @@ -274,7 +245,6 @@ This initialized structure is then passed to a \fBRTLD_DI_MMAPS\fR request. See .sp .ne 2 -.mk .na \fB\fBRTLD_DI_MMAPS\fR\fR .ad @@ -298,7 +268,6 @@ request, where the segment mapping information is copied to the .sp .ne 2 -.mk .na \fB\fBRTLD_DI_SERINFO\fR\fR .ad @@ -318,7 +287,6 @@ defined in <\fBlink.h\fR>. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_SERINFOSIZE\fR\fR .ad @@ -341,7 +309,6 @@ then passed to a \fBRTLD_DI_SERINFO\fR request. See \fBEXAMPLES\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_ORIGIN\fR\fR .ad @@ -356,7 +323,6 @@ the pointer \fIp\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_DI_GETSIGNAL\fR\fR .ad @@ -375,7 +341,6 @@ variable \fBLD_SIGNAL\fR. See \fBld.so.1\fR(1). .sp .ne 2 -.mk .na \fB\fBRTLD_DI_SETSIGNAL\fR\fR .ad @@ -479,15 +444,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dlopen.3c b/usr/src/man/man3c/dlopen.3c index 48d536af43..6555f23003 100644 --- a/usr/src/man/man3c/dlopen.3c +++ b/usr/src/man/man3c/dlopen.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 dlopen 3C "4 Feb 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DLOPEN 3C "Feb 4, 2005" .SH NAME dlopen, dlmopen \- gain access to an executable object file .SH SYNOPSIS @@ -68,12 +68,10 @@ governs when these references take place. The \fImode\fR argument can be one of the following values: .sp .ne 2 -.mk .na \fB\fBRTLD_LAZY\fR\fR .ad .RS 13n -.rt Only immediate symbol references are relocated when the object is first loaded. Lazy references are not relocated until a given function is called for the first time. This value for \fImode\fR should improve performance, since a @@ -84,12 +82,10 @@ initialization. See \fBNOTES\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_NOW\fR\fR .ad .RS 13n -.rt All necessary relocations are performed when the object is first loaded. This process might waste some processing if relocations are performed for lazy references that are never used. However, this mode ensures that when an object @@ -110,12 +106,10 @@ a \fBdlopen()\fR call, \fImode\fR should be a bitwise-inclusive OR with one of the following values: .sp .ne 2 -.mk .na \fB\fBRTLD_GLOBAL\fR\fR .ad .RS 15n -.rt The object's global symbols are made available for the relocation processing of any other object. In addition, symbol lookup using \fBdlopen(0,\fR \fImode\fR\fB)\fR and an associated \fBdlsym()\fR allows objects that are @@ -124,12 +118,10 @@ loaded with \fBRTLD_GLOBAL\fR to be searched. .sp .ne 2 -.mk .na \fB\fBRTLD_LOCAL\fR\fR .ad .RS 15n -.rt The object's globals symbols are only available for the relocation processing of other objects that include the same group. .RE @@ -153,12 +145,10 @@ be a bitwise-inclusive \fBOR\fR with one of the following values to affect the scope of symbol availability: .sp .ne 2 -.mk .na \fB\fBRTLD_GROUP\fR\fR .ad .RS 15n -.rt Only symbols from the associated group are made available for relocation. A group is established from the defined object and all the dependencies of that object. A group must be completely self-contained. All dependency relationships @@ -168,12 +158,10 @@ requirements of each object that defines the group. .sp .ne 2 -.mk .na \fB\fBRTLD_PARENT\fR\fR .ad .RS 15n -.rt The symbols of the object initiating the \fBdlopen()\fR call are made available to the objects obtained by \fBdlopen()\fR. This option is useful when hierarchical \fBdlopen()\fR families are created. Although the parent object @@ -183,12 +171,10 @@ available to \fBdlsym()\fR through the returned \fIhandle\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_WORLD\fR\fR .ad .RS 15n -.rt Only symbols from \fBRTLD_GLOBAL\fR objects are made available for relocation. .RE @@ -204,24 +190,20 @@ The following modes provide additional capabilities outside of relocation processing: .sp .ne 2 -.mk .na \fB\fBRTLD_NODELETE\fR\fR .ad .RS 17n -.rt The specified object is tagged to prevent its deletion from the address space as part of a \fBdlclose()\fR. .RE .sp .ne 2 -.mk .na \fB\fBRTLD_NOLOAD\fR\fR .ad .RS 17n -.rt The specified object is not loaded as part of the \fBdlopen()\fR. However, a valid \fIhandle\fR is returned if the object already exists as part of the process address space. Additional modes can be specified as a bitwise-inclusive @@ -238,12 +220,10 @@ loaded from \fBdlopen()\fR. The \fImode\fR parameter can also be a bitwise-inclusive OR with the following value to restrict this symbol search: .sp .ne 2 -.mk .na \fB\fBRTLD_FIRST\fR\fR .ad .RS 14n -.rt Use of this \fIhandle\fR with \fBdlsym()\fR, restricts the symbol search to the first object associated with the \fIhandle\fR. .RE @@ -267,34 +247,28 @@ the object is loaded. This parameter can be any valid \fBLmid_t\fR returned by \fBdlinfo()\fR or one of the following special values: .sp .ne 2 -.mk .na \fB\fBLM_ID_BASE\fR\fR .ad .RS 15n -.rt Load the object on the applications link-map list. .RE .sp .ne 2 -.mk .na \fB\fBLM_ID_LDSO\fR\fR .ad .RS 15n -.rt Load the object on the dynamic linkers (\fBld.so.1\fR) link-map list. .RE .sp .ne 2 -.mk .na \fB\fBLM_ID_NEWLM\fR\fR .ad .RS 15n -.rt Cause the object to create a new link-map list as part of loading. Objects that are opened on a new link-map list must express all of their dependencies. .RE @@ -323,15 +297,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT\(miLevelMT\(miSafe +MT\(miLevel MT\(miSafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dlsym.3c b/usr/src/man/man3c/dlsym.3c index 94ee17b99e..a4d55288ed 100644 --- a/usr/src/man/man3c/dlsym.3c +++ b/usr/src/man/man3c/dlsym.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 dlsym 3C "26 Sep 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DLSYM 3C "Sep 26, 2005" .SH NAME dlsym \- get the address of a symbol in a shared object or executable .SH SYNOPSIS @@ -37,12 +37,10 @@ automatically as a result of loading the object referenced by \fIhandle\fR. See The following special handles are supported. .sp .ne 2 -.mk .na \fB\fBRTLD_DEFAULT\fR\fR .ad .RS 16n -.rt Instructs \fBdlsym()\fR to search for the named symbol starting with the first object loaded, typically the dynamic executable. The search continues through the list of initial dependencies that are loaded with the process, followed by @@ -58,12 +56,10 @@ However, this compensation can undermine the advantages of lazy loading. .sp .ne 2 -.mk .na \fB\fBRTLD_PROBE\fR\fR .ad .RS 16n -.rt Instructs \fBdlsym()\fR to search for the named symbol in the same manner as occurs with a \fIhandle\fR of \fBRTLD_DEFAULT\fR. However, this model only searches for symbols in the presently loaded objects, together with any lazy @@ -75,24 +71,20 @@ optimal search than would occur using \fBRTLD_DEFAULT\fR. .sp .ne 2 -.mk .na \fB\fBRTLD_NEXT\fR\fR .ad .RS 16n -.rt Instructs \fBdlsym()\fR to search for the named symbol in the objects that were loaded following the object from which the \fBdlsym()\fR call is being made. .RE .sp .ne 2 -.mk .na \fB\fBRTLD_SELF\fR\fR .ad .RS 16n -.rt Instructs \fBdlsym()\fR to search for the named symbol in the objects that were loaded starting with the object from which the \fBdlsym()\fR call is being made. @@ -188,15 +180,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_bind.3c b/usr/src/man/man3c/door_bind.3c index cc00575aa1..277758508f 100644 --- a/usr/src/man/man3c/door_bind.3c +++ b/usr/src/man/man3c/door_bind.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 door_bind 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_BIND 3C "Mar 22, 2005" .SH NAME door_bind, door_unbind \- bind or unbind the current thread with the door server pool @@ -68,35 +68,29 @@ returned and \fBerrno\fR is set to indicate the error. The \fBdoor_bind()\fR and \fBdoor_unbind()\fR functions fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIdid\fR argument is not a valid door. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fBdoor_unbind()\fR function was called by a thread that is currently not bound. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIdid\fR was not created with the \fBDOOR_PRIVATE\fR attribute. .RE @@ -187,17 +181,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_call.3c b/usr/src/man/man3c/door_call.3c index 90a4c9851d..dda79a90a8 100644 --- a/usr/src/man/man3c/door_call.3c +++ b/usr/src/man/man3c/door_call.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 door_call 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_CALL 3C "Mar 22, 2005" .SH NAME door_call \- invoke the function associated with a door descriptor .SH SYNOPSIS @@ -87,81 +87,67 @@ passes a system-wide unique number associated with each door in the attributes associated with a door including the following: .sp .ne 2 -.mk .na \fB\fBDOOR_LOCAL\fR\fR .ad .RS 20n -.rt The door received was created by this process using \fBdoor_create()\fR. See \fBdoor_create\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBDOOR_PRIVATE\fR\fR .ad .RS 20n -.rt The door received has a private pool of server threads associated with the door. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF\fR\fR .ad .RS 20n -.rt The door received is expecting an unreferenced notification. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF_MULTI\fR\fR .ad .RS 20n -.rt Similar to \fBDOOR_UNREF\fR, except multiple unreferenced notifications may be delivered for the same door. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_REFUSE_DESC\fR\fR .ad .RS 20n -.rt This door does not accept argument descriptors. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_NO_CANCEL\fR\fR .ad .RS 20n -.rt This door does not cancel the server thread upon client abort. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_REVOKED\fR\fR .ad .RS 20n -.rt The door received has been revoked by the server. .RE @@ -193,90 +179,74 @@ returned and \fBerrno\fR is set to indicate the error. The \fBdoor_call()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 13n -.rt Arguments were too big for server thread stack. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 13n -.rt Server was out of available resources. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt Invalid door descriptor was passed. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 13n -.rt Argument pointers pointed outside the allocated address space. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 13n -.rt A signal was caught in the client, the client called \fBfork\fR(2), or the server exited during invocation. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt Bad arguments were passed. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 13n -.rt The client or server has too many open descriptors. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 13n -.rt The \fIdesc_num\fR argument is larger than the door's \fBDOOR_PARAM_DESC_MAX\fR parameter (see \fBdoor_getparam\fR(3C)), and the door does not have the \fBDOOR_REFUSE_DESC\fR set. @@ -284,12 +254,10 @@ parameter (see \fBdoor_getparam\fR(3C)), and the door does not have the .sp .ne 2 -.mk .na \fB\fBENOBUFS\fR\fR .ad .RS 13n -.rt The \fIdata_size\fR argument is larger than the door's \fBDOOR_PARAM_DATA_MAX\fR parameter, or smaller than the door's \fBDOOR_PARAM_DATA_MIN\fR parameter (see \fBdoor_getparam\fR(3C)). @@ -297,24 +265,20 @@ The \fIdata_size\fR argument is larger than the door's .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 13n -.rt The \fIdesc_num\fR argument is non-zero and the door has the \fBDOOR_REFUSE_DESC\fR flag set. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt System could not create overflow area in caller for results. .RE @@ -326,17 +290,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_create.3c b/usr/src/man/man3c/door_create.3c index b3907ecff7..74965be5f4 100644 --- a/usr/src/man/man3c/door_create.3c +++ b/usr/src/man/man3c/door_create.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 door_create 3C "22 Jan 2008" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_CREATE 3C "Jan 22, 2008" .SH NAME door_create \- create a door descriptor .SH SYNOPSIS @@ -33,7 +33,6 @@ attributes associated with the newly created door. Valid values for \fIattributes\fR are constructed by OR-ing one or more of the following values: .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF\fR\fR .ad @@ -50,7 +49,6 @@ invocation, the values for \fIarg_size\fR, \fIdp\fR and \fIn_did\fR are .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF_MULTI\fR\fR .ad @@ -66,7 +64,6 @@ the door is still unreferenced. .sp .ne 2 -.mk .na \fB\fBDOOR_PRIVATE\fR\fR .ad @@ -79,7 +76,6 @@ threads are associated with a door's private server pool using .sp .ne 2 -.mk .na \fB\fBDOOR_REFUSE_DESC\fR\fR .ad @@ -92,7 +88,6 @@ procedure will always be invoked with an \fIn_desc\fR argument of 0. .sp .ne 2 -.mk .na \fB\fBDOOR_NO_CANCEL\fR\fR .ad @@ -136,23 +131,19 @@ indicate the error. The \fBdoor_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid attributes are passed. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt The process has too many open descriptors. .RE @@ -218,17 +209,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_cred.3c b/usr/src/man/man3c/door_cred.3c index 3d699eeffa..41578519b1 100644 --- a/usr/src/man/man3c/door_cred.3c +++ b/usr/src/man/man3c/door_cred.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 door_cred 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_CRED 3C "Mar 22, 2005" .SH NAME door_cred \- return credential information associated with the client .SH SYNOPSIS @@ -51,23 +51,19 @@ error. The \fBdoor_cred()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The address of the \fIinfo\fR argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There is no associated door client. .RE @@ -84,17 +80,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityObsolete +Interface Stability Obsolete _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_getparam.3c b/usr/src/man/man3c/door_getparam.3c index 0c2bddf96e..969a8a61ba 100644 --- a/usr/src/man/man3c/door_getparam.3c +++ b/usr/src/man/man3c/door_getparam.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 door_getparam 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_GETPARAM 3C "Mar 22, 2005" .SH NAME door_getparam, door_setparam \- retrieve and set door parameters .SH SYNOPSIS @@ -30,12 +30,10 @@ descriptor \fId\fR to \fIval\fR. The \fIparam\fR argument names the parameter to view or change and can be one of the following values: .sp .ne 2 -.mk .na \fB\fBDOOR_PARAM_DATA_MAX\fR\fR .ad .RS 23n -.rt This parameter represents the maximum amount of data that can be passed to the door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a \fIdata_size\fR value larger than the door's \fBDOOR_PARAM_DATA_MAX\fR @@ -47,12 +45,10 @@ is initialized to \fBSIZE_MAX\fR and can be set to any value from 0 to .sp .ne 2 -.mk .na \fB\fBDOOR_PARAM_DATA_MIN\fR\fR .ad .RS 23n -.rt This parameter represents the the minimum amount of data that can be passed to the door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a \fIdata_size\fR value smaller than the door's \fBDOOR_PARAM_DATA_MIN\fR @@ -64,12 +60,10 @@ inclusive. This parameter must be less than or equal to the .sp .ne 2 -.mk .na \fB\fBDOOR_PARAM_DESC_MAX\fR\fR .ad .RS 23n -.rt This parameter represents the the maximum number of argument descriptors that can be passed to the door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a \fIdesc_nu\fRm value larger than the door's @@ -94,45 +88,37 @@ Upon successful completion, 0 is returned. Otherwise, -1 is returned and The \fBdoor_getparam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fId\fR argument is not a door descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 13n -.rt The \fIout\fR argument is not a valid address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The \fIparam\fR argument is not a recognized parameter. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The value of the parameter is larger than the \fBSIZE_MAX\fR. This condition can occur only if the calling process is 32-bit and the door targets a 64-bit process or the kernel. @@ -143,58 +129,48 @@ process or the kernel. The \fBdoor_setparam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 11n -.rt The \fId\fR argument is not a door descriptor or has been revoked. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The \fIparam\fR argument is not a recognized parameter, or the requested change would make \fBDOOR_PARAM_DATA_MIN\fR greater than \fBDOOR_PARAM_DATA_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The \fIparam\fR argument is \fBDOOR_PARAM_DESC_MAX\fR, \fId\fR was created with the \fBDOOR_REFUSE_DESC\fR flag, and \fIval\fR is not zero. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 11n -.rt The \fId\fR argument was not created by this process. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 11n -.rt The \fIval\fR argument is not in supported range of \fIparam\fR. .RE @@ -234,15 +210,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_info.3c b/usr/src/man/man3c/door_info.3c index 4abb8c5395..c687f71cf9 100644 --- a/usr/src/man/man3c/door_info.3c +++ b/usr/src/man/man3c/door_info.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 door_info 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_INFO 3C "Mar 22, 2005" .SH NAME door_info \- return information associated with a door descriptor .SH SYNOPSIS @@ -46,93 +46,77 @@ The \fBdi_target\fR member is the process \fBID\fR of the door server, or The values for \fBdi_attributes\fR may be composed of the following: .sp .ne 2 -.mk .na \fB\fBDOOR_LOCAL\fR\fR .ad .RS 20n -.rt The door descriptor refers to a service procedure in this process. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF\fR\fR .ad .RS 20n -.rt The door has requested notification when all but the last reference has gone away. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_UNREF_MULTI\fR\fR .ad .RS 20n -.rt Similar to \fBDOOR_UNREF\fR, except multiple unreferenced notifications may be delivered for this door. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_IS_UNREF\fR\fR .ad .RS 20n -.rt There is currently only one descriptor referring to the door. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_REFUSE_DESC\fR\fR .ad .RS 20n -.rt The door refuses any attempt to \fBdoor_call\fR(3C) it with argument descriptors. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_NO_CANCEL\fR\fR .ad .RS 20n -.rt Clients who abort a \fBdoor_call\fR(3C) call on this door will not cause the \fBcancellation\fR(5) of the server thread handling the request. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_REVOKED\fR\fR .ad .RS 20n -.rt The door descriptor refers to a door that has been revoked. .RE .sp .ne 2 -.mk .na \fB\fBDOOR_PRIVATE\fR\fR .ad .RS 20n -.rt The door has a separate pool of server threads associated with it. .RE @@ -155,23 +139,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fBdoor_info()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The address of argument \fIinfo\fR is an invalid address. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt \fId\fR is not a door descriptor. .RE @@ -183,17 +163,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_return.3c b/usr/src/man/man3c/door_return.3c index d6c828792f..9c30ea3db1 100644 --- a/usr/src/man/man3c/door_return.3c +++ b/usr/src/man/man3c/door_return.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 door_return 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_RETURN 3C "Mar 22, 2005" .SH NAME door_return \- return from a door invocation .SH SYNOPSIS @@ -39,46 +39,38 @@ process and sets \fBerrno\fR to indicate the error. The \fBdoor_return()\fR function fails and returns to the calling process if: .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt Arguments were too big for client. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The address of \fIdata_ptr\fR or \fIdesc_ptr\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Invalid \fBdoor_return()\fR arguments were passed or a thread is bound to a door that no longer exists. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt The client has too many open descriptors. .RE @@ -90,17 +82,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_revoke.3c b/usr/src/man/man3c/door_revoke.3c index 03355baed6..5273d293eb 100644 --- a/usr/src/man/man3c/door_revoke.3c +++ b/usr/src/man/man3c/door_revoke.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 door_revoke 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_REVOKE 3C "Mar 22, 2005" .SH NAME door_revoke \- revoke access to a door descriptor .SH SYNOPSIS @@ -38,23 +38,19 @@ Upon successful completion, \fBdoor_revoke()\fR returns \fB0\fR. Otherwise, The \fBdoor_revoke()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt An invalid door descriptor was passed. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The door descriptor was not created by this process (with \fBdoor_create\fR(3C)). .RE @@ -67,17 +63,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_server_create.3c b/usr/src/man/man3c/door_server_create.3c index f2a59a828b..1e8511fb04 100644 --- a/usr/src/man/man3c/door_server_create.3c +++ b/usr/src/man/man3c/door_server_create.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 door_server_create 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_SERVER_CREATE 3C "Mar 22, 2005" .SH NAME door_server_create \- specify an alternative door server thread creation function @@ -111,7 +111,7 @@ my_thread(void *arg) void my_create(door_info_t *dip) { - thr_create(NULL, 8192, my_thread, NULL, + thr_create(NULL, 8192, my_thread, NULL, THR_BOUND | THR_DETACHED, NULL); } main(\|) @@ -130,17 +130,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/door_ucred.3c b/usr/src/man/man3c/door_ucred.3c index 552e72eaf5..20aeff1250 100644 --- a/usr/src/man/man3c/door_ucred.3c +++ b/usr/src/man/man3c/door_ucred.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 door_ucred 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH DOOR_UCRED 3C "Mar 22, 2005" .SH NAME door_ucred \- return credential information associated with the client .SH SYNOPSIS @@ -50,46 +50,38 @@ location pointed to by the \fIinfo\fR argument is unchanged. The \fBdoor_ucred()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The location pointed to by \fIinfo\fR was \fINULL\fR and allocating memory sufficient to hold a ucred failed. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The address of the \fIinfo\fR argument is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There is no associated door client. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The location pointed to by \fIinfo\fR was \fINULL\fR and allocating memory sufficient to hold a ucred failed. .RE @@ -102,15 +94,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/drand48.3c b/usr/src/man/man3c/drand48.3c index 0c427cebd6..36b820a864 100644 --- a/usr/src/man/man3c/drand48.3c +++ b/usr/src/man/man3c/drand48.3c @@ -4,14 +4,14 @@ .\" 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 drand48 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH DRAND48 3C "Jul 24, 2002" .SH NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 \- generate uniformly distributed pseudo-random numbers .SH SYNOPSIS .LP .nf -#include <stdlib.h> +#include <stdlib.h> \fBdouble\fR \fBdrand48\fR(void) .fi @@ -158,15 +158,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/dup2.3c b/usr/src/man/man3c/dup2.3c index 5e1282d9b5..eb19b74ff5 100644 --- a/usr/src/man/man3c/dup2.3c +++ b/usr/src/man/man3c/dup2.3c @@ -4,7 +4,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 dup2 3C "19 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH DUP2 3C "Dec 19, 2003" .SH NAME dup2 \- duplicate an open file descriptor .SH SYNOPSIS @@ -42,46 +42,38 @@ set to indicate the error. The \fBdup2()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes2\fR argument is negative or is not less than the current resource limit returned by \fBgetrlimit(RLIMIT_NOFILE, .\|.\|.)\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during the \fBdup2()\fR call. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt The process has too many open files. See \fBfcntl\fR(2). .RE @@ -93,15 +85,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/econvert.3c b/usr/src/man/man3c/econvert.3c index b62be6a180..e8f7ae6814 100644 --- a/usr/src/man/man3c/econvert.3c +++ b/usr/src/man/man3c/econvert.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 econvert 3C "3 May 1999" "SunOS 5.11" "Standard C Library Functions" +.TH ECONVERT 3C "May 3, 1999" .SH NAME econvert, fconvert, gconvert, seconvert, sfconvert, sgconvert, qeconvert, qfconvert, qgconvert \- output conversion @@ -136,13 +136,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ecvt.3c b/usr/src/man/man3c/ecvt.3c index e8ae911e92..a75876a701 100644 --- a/usr/src/man/man3c/ecvt.3c +++ b/usr/src/man/man3c/ecvt.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited, All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ecvt 3C "18 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH ECVT 3C "May 18, 2004" .SH NAME ecvt, fcvt, gcvt \- convert floating-point number to string .SH SYNOPSIS @@ -102,15 +102,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/enable_extended_FILE_stdio.3c b/usr/src/man/man3c/enable_extended_FILE_stdio.3c index 7ffb1c144b..8d43af859d 100644 --- a/usr/src/man/man3c/enable_extended_FILE_stdio.3c +++ b/usr/src/man/man3c/enable_extended_FILE_stdio.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 enable_extended_FILE_stdio 3C "18 Apr 2006" "SunOS 5.11" "Standard C Library Functions" +.TH ENABLE_EXTENDED_FILE_STDIO 3C "Apr 18, 2006" .SH NAME enable_extended_FILE_stdio \- enable extended FILE facility within standard I/O .SH SYNOPSIS @@ -85,47 +85,39 @@ Otherwise, \(mi1 is returned and \fBerrno\fR is set to indicate the error. The \fBenable_extended_FILE_stdio()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt All file descriptors in the inclusive range 3 through 255 refer to files that are currently open in the process. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIlow_fd\fR argument is greater than 255, or is less than 3 and not equal to -1. .RE .sp .ne 2 -.mk .na \fB\fBEEXIST\fR\fR .ad .RS 10n -.rt A file descriptor has already been marked by an earlier call to \fBfcntl()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsignal_action\fR argument is not \(mi1, is not 0, and is not a valid signal number. .RE @@ -187,15 +179,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/encrypt.3c b/usr/src/man/man3c/encrypt.3c index 44cab1d42e..222d1b5256 100644 --- a/usr/src/man/man3c/encrypt.3c +++ b/usr/src/man/man3c/encrypt.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 encrypt 3C "2 May 2001" "SunOS 5.11" "Standard C Library Functions" +.TH ENCRYPT 3C "May 2, 2001" .SH NAME encrypt \- encoding function .SH SYNOPSIS @@ -51,12 +51,10 @@ The \fBencrypt()\fR function returns no value. The \fBencrypt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The functionality is not supported on this implementation. .RE @@ -82,15 +80,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/end.3c b/usr/src/man/man3c/end.3c index 3152ee0f71..27e08e521c 100644 --- a/usr/src/man/man3c/end.3c +++ b/usr/src/man/man3c/end.3c @@ -4,7 +4,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 end 3C "31 Mar 2006" "SunOS 5.11" "Standard C Library Functions" +.TH END 3C "Mar 31, 2006" .SH NAME end, _end, etext, _etext, edata, _edata \- last locations in program .SH SYNOPSIS @@ -30,36 +30,30 @@ These names refer neither to routines nor to locations with interesting contents; only their addresses are meaningful. .sp .ne 2 -.mk .na \fB\fB_etext\fR\fR .ad .RS 10n -.rt The address of \fB_etext\fR is the first location after the last read-only loadable segment. .RE .sp .ne 2 -.mk .na \fB\fB_edata\fR\fR .ad .RS 10n -.rt The address of \fB_edata\fR is the first location after the last read-write loadable segment. .RE .sp .ne 2 -.mk .na \fB\fB_end\fR\fR .ad .RS 10n -.rt If the address of \fB_edata\fR is greater than the address of \fB_etext\fR, the address of _end is same as the address of \fB_edata\fR. .sp diff --git a/usr/src/man/man3c/err.3c b/usr/src/man/man3c/err.3c index ea217cd170..05bf1df544 100644 --- a/usr/src/man/man3c/err.3c +++ b/usr/src/man/man3c/err.3c @@ -5,7 +5,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 err 3C "20 Aug 2007" "SunOS 5.11" "Standard C Library Functions" +.TH ERR 3C "Aug 20, 2007" .SH NAME err, verr, errx, verrx, warn, vwarn, warnx, vwarnx \- formatted error messages .SH SYNOPSIS @@ -134,15 +134,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe with Exceptions +MT-Level Safe with Exceptions .TE .sp diff --git a/usr/src/man/man3c/euclen.3c b/usr/src/man/man3c/euclen.3c index 603cfb7790..e616e446f7 100644 --- a/usr/src/man/man3c/euclen.3c +++ b/usr/src/man/man3c/euclen.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 euclen 3C "20 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH EUCLEN 3C "Dec 20, 1996" .SH NAME euclen, euccol, eucscol \- get byte length and display width of EUC characters .SH SYNOPSIS @@ -60,12 +60,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe with exceptions +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/exit.3c b/usr/src/man/man3c/exit.3c index 294de4a471..fe58c304e2 100644 --- a/usr/src/man/man3c/exit.3c +++ b/usr/src/man/man3c/exit.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 exit 3C "1 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH EXIT 3C "Mar 1, 2004" .SH NAME exit, _exithandle \- terminate process .SH SYNOPSIS @@ -50,13 +50,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fattach.3c b/usr/src/man/man3c/fattach.3c index ff69f99be2..263ef2358f 100644 --- a/usr/src/man/man3c/fattach.3c +++ b/usr/src/man/man3c/fattach.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 fattach 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FATTACH 3C "Jul 24, 2002" .SH NAME fattach \- attach a STREAMS- or doors-based file descriptor to an object in the file system name space @@ -48,80 +48,66 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate an error. The \fBfattach()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt The user is the owner of \fIpath\fR but does not have write permissions on \fIpath\fR or \fIfildes\fR is locked. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument is currently a mount point or has a STREAMS or doors file descriptor attached to it. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument is a file in a remotely mounted directory. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument does not represent a STREAMS or doors file. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in translating \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The size of \fIpath\fR exceeds {\fB\fR\fBPATH\fR\fB_MAX\fR}, or the component of a path name is longer than {\fBNAME_MAX\fR} while {\fB_POSIX_NO_TRUNC\fR} is in effect. @@ -129,34 +115,28 @@ in effect. .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of a path prefix is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 16n -.rt The effective user ID is not the owner of \fIpath\fR or a user with the appropriate privileges. .RE @@ -169,15 +149,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fclose.3c b/usr/src/man/man3c/fclose.3c index 90eaca3603..dd271156f1 100644 --- a/usr/src/man/man3c/fclose.3c +++ b/usr/src/man/man3c/fclose.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fclose 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FCLOSE 3C "Nov 1, 2003" .SH NAME fclose \- close a stream .SH SYNOPSIS @@ -52,35 +52,29 @@ returns \fBEOF\fR and sets \fBerrno\fR to indicate the error. The \fBfclose()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the write operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying stream is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt An attempt was made to write a file that exceeds the maximum file size or the process's file size limit; or the file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding @@ -89,23 +83,19 @@ stream. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The \fBfclose()\fR function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt The process is a member of a background process group attempting to write to its controlling terminal, \fBTOSTOP\fR is set, the process is neither ignoring nor blocking \fBSIGTTOU\fR and the process group of the process is orphaned. @@ -113,23 +103,19 @@ nor blocking \fBSIGTTOU\fR and the process group of the process is orphaned. .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt An attempt is made to write to a pipe or \fBFIFO\fR that is not open for reading by any process. A \fBSIGPIPE\fR signal will also be sent to the calling thread. @@ -140,12 +126,10 @@ thread. The \fBfclose()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 9n -.rt A request was made of a non-existent device, or the request was beyond the limits of the device. .RE @@ -158,15 +142,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fdatasync.3c b/usr/src/man/man3c/fdatasync.3c index dc0e5543ee..8b6d2fbfca 100644 --- a/usr/src/man/man3c/fdatasync.3c +++ b/usr/src/man/man3c/fdatasync.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fdatasync 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH FDATASYNC 3C "Feb 5, 2008" .SH NAME fdatasync \- synchronize a file's data .SH SYNOPSIS @@ -44,34 +44,28 @@ to have been completed. The \fBfdatasync()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The system does not support synchronized I/O for this file. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The function \fBfdatasync()\fR is not supported by the system. .RE @@ -87,17 +81,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fdetach.3c b/usr/src/man/man3c/fdetach.3c index f775900e16..766dda9484 100644 --- a/usr/src/man/man3c/fdetach.3c +++ b/usr/src/man/man3c/fdetach.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fdetach 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FDETACH 3C "Jul 24, 2002" .SH NAME fdetach \- detach a name from a STREAMS-based file descriptor .SH SYNOPSIS @@ -50,81 +50,67 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBfdetach()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied on a component of the path prefix. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 16n -.rt The effective user \fBID\fR is not the owner of \fIpath\fR and the process does not have appropriate privileges. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIpath\fR does not name an existing file or \fIpath\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument names a file that is not currently attached. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The size of a pathname exceeds \fBPATH_MAX\fR, or a pathname component is longer than \fBNAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE @@ -133,12 +119,10 @@ Too many symbolic links were encountered in resolving \fIpath\fR. The \fBfdetach()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds \fBPATH_MAX\fR. .RE @@ -151,13 +135,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fdopen.3c b/usr/src/man/man3c/fdopen.3c index fd1d5e0350..ee9f3c95ee 100644 --- a/usr/src/man/man3c/fdopen.3c +++ b/usr/src/man/man3c/fdopen.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fdopen 3C "18 Apr 2006" "SunOS 5.11" "Standard C Library Functions" +.TH FDOPEN 3C "Apr 18, 2006" .SH NAME fdopen \- associate a stream with a file descriptor .SH SYNOPSIS @@ -32,20 +32,18 @@ values: .sp .TS -tab(); -lw(1.9i) lw(3.6i) -lw(1.9i) lw(3.6i) -. -\fBr\fR or \fBrb\fROpen a file for reading. -\fBw\fR or \fBwb\fROpen a file for writing. -\fBa\fR or \fBab\fROpen a file for writing at end of file. -\fBr+\fR, \fBrb+\fR or \fBr+b\fRT{ +l l +l l . +\fBr\fR or \fBrb\fR Open a file for reading. +\fBw\fR or \fBwb\fR Open a file for writing. +\fBa\fR or \fBab\fR Open a file for writing at end of file. +\fBr+\fR, \fBrb+\fR or \fBr+b\fR T{ Open a file for update (reading and writing). T} -\fBw+\fR, \fBwb+\fR or \fBw+b\fRT{ +\fBw+\fR, \fBwb+\fR or \fBw+b\fR T{ Open a file for update (reading and writing). T} -\fBa+\fR, \fBab+\fR or \fBa+b\fRT{ +\fBa+\fR, \fBab+\fR or \fBa+b\fR T{ Open a file for update (reading and writing) at end of file. T} .TE @@ -90,34 +88,28 @@ free \fBstdio\fR streams. The \fBfdopen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fImode\fR argument is not a valid mode. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt {\fBFOPEN_MAX\fR} streams are currently open in the calling process. .sp {\fBSTREAM_MAX\fR} streams are currently open in the calling process. @@ -125,12 +117,10 @@ The \fImode\fR argument is not a valid mode. .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is insufficient space to allocate a buffer. .RE @@ -157,15 +147,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/ferror.3c b/usr/src/man/man3c/ferror.3c index 3e3f04c4ae..97ffb7046c 100644 --- a/usr/src/man/man3c/ferror.3c +++ b/usr/src/man/man3c/ferror.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 ferror 3C "17 Feb 2005" "SunOS 5.11" "Standard C Library Functions" +.TH FERROR 3C "Feb 17, 2005" .SH NAME ferror, feof, clearerr, fileno \- stream status inquiries .SH SYNOPSIS @@ -56,15 +56,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fflush.3c b/usr/src/man/man3c/fflush.3c index 0a9cb328b4..5accfa6855 100644 --- a/usr/src/man/man3c/fflush.3c +++ b/usr/src/man/man3c/fflush.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fflush 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FFLUSH 3C "Nov 1, 2003" .SH NAME fflush \- flush a stream .SH SYNOPSIS @@ -52,35 +52,29 @@ returns \fBEOF\fR and sets \fBerrno\fR to indicate the error. The \fBfflush()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the write operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt An attempt was made to write a file that exceeds the maximum file size or the process's file size limit; or the file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding @@ -89,23 +83,19 @@ stream. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The \fBfflush()\fR function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt The process is a member of a background process group attempting to write to its controlling terminal, \fBTOSTOP\fR is set, the process is neither ignoring nor blocking \fBSIGTTOU\fR, and the process group of the process is orphaned. @@ -113,23 +103,19 @@ nor blocking \fBSIGTTOU\fR, and the process group of the process is orphaned. .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt An attempt is made to write to a pipe or \fBFIFO\fR that is not open for reading by any process. A \fBSIGPIPE\fR signal will also be sent to the calling process. @@ -140,12 +126,10 @@ process. The \fBfflush()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 9n -.rt A request was made of a non-existent device, or the request was beyond the limits of the device. .RE @@ -158,15 +142,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ffs.3c b/usr/src/man/man3c/ffs.3c index 97c4538a68..88d5e5b92f 100644 --- a/usr/src/man/man3c/ffs.3c +++ b/usr/src/man/man3c/ffs.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ffs 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FFS 3C "Jul 24, 2002" .SH NAME ffs \- find first set bit .SH SYNOPSIS @@ -41,15 +41,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fgetattr.3c b/usr/src/man/man3c/fgetattr.3c index 25c6d1bded..efae0e0ace 100644 --- a/usr/src/man/man3c/fgetattr.3c +++ b/usr/src/man/man3c/fgetattr.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 fgetattr 3C "4 Aug 2008" "SunOS 5.11" "Standard C Library Functions" +.TH FGETATTR 3C "Aug 4, 2008" .SH NAME fgetattr, fsetattr, getattrat, setattrat \- get and set system attributes .SH SYNOPSIS @@ -81,30 +81,28 @@ each view: .sp .TS -tab(); -cw(1.83i) cw(1.83i) cw(1.83i) -lw(1.83i) lw(1.83i) lw(1.83i) -. -ViewAttributeData type +c c c +l l l . +View Attribute Data type _ -\fBXATTR_VIEW_READONLY\fR\fBA_FSID\fR\fBuint64_value\fR -\fBA_OPAQUE\fR\fBboolean_value\fR -\fBA_AV_SCANSTAMP\fR\fBuint8_array[]\fR -\fBXATTR_VIEW_READWRITE\fR\fBA_READONLY\fR\fBboolean_value\fR -\fBA_HIDDEN\fR\fBboolean_value\fR -\fBA_SYSTEM\fR\fBboolean_value\fR -\fBA_ARCHIVE\fR\fBboolean_value\fR -\fBA_CRTIME\fR\fBuint64_array\fR[2] -\fBA_NOUNLINK\fR\fBboolean_value\fR -\fBA_IMMUTABLE\fR\fBboolean_value\fR -\fBA_APPENDONLY\fR\fBboolean_value\fR -\fBA_NODUMP\fR\fBboolean_value\fR -\fBA_AV_QUARANTINED\fR\fBboolean_value\fR -\fBA_AV_MODIFIED\fR\fBboolean_value\fR -\fBA_OWNERSID\fRT{ +\fBXATTR_VIEW_READONLY\fR \fBA_FSID\fR \fBuint64_value\fR + \fBA_OPAQUE\fR \fBboolean_value\fR + \fBA_AV_SCANSTAMP\fR \fBuint8_array[]\fR +\fBXATTR_VIEW_READWRITE\fR \fBA_READONLY\fR \fBboolean_value\fR + \fBA_HIDDEN\fR \fBboolean_value\fR + \fBA_SYSTEM\fR \fBboolean_value\fR + \fBA_ARCHIVE\fR \fBboolean_value\fR + \fBA_CRTIME\fR \fBuint64_array\fR[2] + \fBA_NOUNLINK\fR \fBboolean_value\fR + \fBA_IMMUTABLE\fR \fBboolean_value\fR + \fBA_APPENDONLY\fR \fBboolean_value\fR + \fBA_NODUMP\fR \fBboolean_value\fR + \fBA_AV_QUARANTINED\fR \fBboolean_value\fR + \fBA_AV_MODIFIED\fR \fBboolean_value\fR + \fBA_OWNERSID\fR T{ nvlist composed of \fBuint32_value\fR and \fBstring\fR T} -\fBA_GROUPSID\fRT{ + \fBA_GROUPSID\fR T{ nvlist composed of \fBuint32_value\fR and \fBstring\fR T} .TE @@ -121,34 +119,28 @@ The \fBfgetattr()\fR, \fBgetattrat()\fR, \fBfsetattr()\fR, and \fBsetattrat()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The underlying file system does not support extended file attributes. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An error occurred while reading from the file system. .RE @@ -157,35 +149,29 @@ An error occurred while reading from the file system. The \fBgetattrat()\fR and \fBsetattrat()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt Search permission or write permission for \fIfilename\fR is denied. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt The \fIfilename\fR argument does not name an existing file in the extended attribute directory represented by \fIfildes\fR. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt There are insufficient privileges to manipulate attributes. .RE @@ -308,15 +294,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fgetc.3c b/usr/src/man/man3c/fgetc.3c index e1eee49f3f..e5ae39b779 100644 --- a/usr/src/man/man3c/fgetc.3c +++ b/usr/src/man/man3c/fgetc.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fgetc 3C "15 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FGETC 3C "Oct 15, 2003" .SH NAME fgetc, getc, getc_unlocked, getchar, getchar_unlocked, getw \- get a byte from a stream @@ -116,48 +116,40 @@ The \fBfgetc()\fR, \fBgetc()\fR, \fBgetc_unlocked()\fR, \fBgetchar()\fR, be read and: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 13n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the \fBfgetc()\fR operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The file descriptor underlying \fIstream\fR is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 13n -.rt The read operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 13n -.rt A physical I/O error has occurred, or the process is in a background process group attempting to read from its controlling terminal, and either the process is ignoring or blocking the \fBSIGTTIN\fR signal or the process group is @@ -167,12 +159,10 @@ reasons. .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The file is a regular file and an attempt was made to read at or beyond the offset maximum associated with the corresponding stream. .RE @@ -183,23 +173,19 @@ The \fBfgetc()\fR, \fBgetc()\fR, \fBgetc_unlocked()\fR, \fBgetchar()\fR, \fBgetchar_unlocked()\fR, and \fBgetw()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE @@ -248,17 +234,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityT{ +Interface Stability T{ \fBfgetc()\fR, \fBgetc()\fR, \fBgetc_unlocked()\fR, \fBgetchar()\fR, and \fBgetchar_unlocked()\fR are Standard. T} _ -MT-LevelSee \fBNOTES\fR below. +MT-Level See \fBNOTES\fR below. .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fgetpos.3c b/usr/src/man/man3c/fgetpos.3c index 4c991b3110..c9da494148 100644 --- a/usr/src/man/man3c/fgetpos.3c +++ b/usr/src/man/man3c/fgetpos.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fgetpos 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FGETPOS 3C "Jul 24, 2002" .SH NAME fgetpos \- get current file position information .SH SYNOPSIS @@ -37,35 +37,29 @@ returns a non-zero value and sets \fBerrno\fR to indicate the error. The \fBfgetpos()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The file descriptor underlying \fIstream\fR is not valid. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 13n -.rt The file descriptor underlying \fIstream\fR is associated with a pipe, a FIFO, or a socket. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The current value of the file position cannot be represented correctly in an object of type \fBfpos_t\fR. .RE @@ -83,13 +77,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fgetwc.3c b/usr/src/man/man3c/fgetwc.3c index 2ab2fb84af..4e9302bdcf 100644 --- a/usr/src/man/man3c/fgetwc.3c +++ b/usr/src/man/man3c/fgetwc.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 2003, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fgetwc 3C "15 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FGETWC 3C "Oct 15, 2003" .SH NAME fgetwc \- get a wide-character code from a stream .SH SYNOPSIS .LP .nf -#include <stdio.h> -#include <wchar.h> +#include <stdio.h> +#include <wchar.h> \fBwint_t\fR \fBfgetwc\fR(\fBFILE*\fR\fIstream\fR); .fi @@ -65,48 +65,40 @@ error. The \fBfgetwc()\fR function will fail if data needs to be read and: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 14n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the \fBfgetwc()\fR operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 14n -.rt The file descriptor underlying \fIstream\fR is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 14n -.rt The read operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 14n -.rt A physical I/O error has occurred, or the process is in a background process group attempting to read from its controlling terminal and either the process is ignoring or blocking the \fBSIGTTIN\fR signal or the process group is @@ -115,12 +107,10 @@ orphaned. .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR \fR .ad .RS 14n -.rt The file is a regular file and an attempt was made to read at or beyond the offset maximum associated with the corresponding \fIstream\fR. .RE @@ -130,35 +120,29 @@ offset maximum associated with the corresponding \fIstream\fR. The \fBfgetwc()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt The data obtained from the input stream does not form a valid character. .RE @@ -175,17 +159,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/floating_to_decimal.3c b/usr/src/man/man3c/floating_to_decimal.3c index d4ee81f55a..0900c3e76d 100644 --- a/usr/src/man/man3c/floating_to_decimal.3c +++ b/usr/src/man/man3c/floating_to_decimal.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 floating_to_decimal 3C "7 Jun 2005" "SunOS 5.11" "Standard C Library Functions" +.TH FLOATING_TO_DECIMAL 3C "Jun 7, 2005" .SH NAME floating_to_decimal, single_to_decimal, double_to_decimal, extended_to_decimal, quadruple_to_decimal \- convert floating-point value to decimal record @@ -112,13 +112,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/flockfile.3c b/usr/src/man/man3c/flockfile.3c index d78d57a517..a447d503a3 100644 --- a/usr/src/man/man3c/flockfile.3c +++ b/usr/src/man/man3c/flockfile.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 flockfile 3C "10 Sep 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FLOCKFILE 3C "Sep 10, 2003" .SH NAME flockfile, funlockfile, ftrylockfile \- acquire and release stream lock .SH SYNOPSIS @@ -100,15 +100,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fmtmsg.3c b/usr/src/man/man3c/fmtmsg.3c index 36e14dfa82..ad389bfa34 100644 --- a/usr/src/man/man3c/fmtmsg.3c +++ b/usr/src/man/man3c/fmtmsg.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 fmtmsg 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FMTMSG 3C "Jul 24, 2002" .SH NAME fmtmsg \- display a message on stderr or system console .SH SYNOPSIS @@ -32,12 +32,10 @@ displayed to the user, but rather defines the source of the message and directs the display of the formatted message. .sp .ne 2 -.mk .na \fB\fIclassification\fR\fR .ad .RS 18n -.rt Contains identifiers from the following groups of major classifications and subclassifications. Any one identifier from a subclass may be used in combination by ORing the values together with a single identifier from a @@ -89,12 +87,10 @@ component is supplied for the message. .sp .ne 2 -.mk .na \fB\fIlabel\fR\fR .ad .RS 18n -.rt Identifies the source of the message. The format of this component is two fields separated by a colon. The first field is up to 10 characters long; the second is up to 14 characters. Suggested usage is that \fIlabel\fR identifies @@ -105,12 +101,10 @@ application name. For example, the \fIlabel\fR \fBUX:cat\fR indicates the .sp .ne 2 -.mk .na \fB\fIseverity\fR\fR .ad .RS 18n -.rt Indicates the seriousness of the condition. Identifiers for the standard levels of \fIseverity\fR are: .RS +4 @@ -152,24 +146,20 @@ Other severity levels may be added by using the \fBaddseverity()\fR routine. .sp .ne 2 -.mk .na \fB\fItext\fR\fR .ad .RS 18n -.rt Describes the condition that produced the message. The \fItext\fR string is not limited to a specific size. .RE .sp .ne 2 -.mk .na \fB\fIaction\fR\fR .ad .RS 18n -.rt Describes the first step to be taken in the error recovery process. \fBfmtmsg()\fR precedes each action string with the prefix: \fBTO\fRFIX\fB:.\fR The \fIaction\fR string is not limited to a specific size. @@ -177,12 +167,10 @@ The \fIaction\fR string is not limited to a specific size. .sp .ne 2 -.mk .na \fB\fItag\fR\fR .ad .RS 18n -.rt An identifier which references on-line documentation for the message. Suggested usage is that \fItag\fR includes the \fIlabel\fR and a unique identifying number. A sample \fItag\fR is \fBUX:cat:146\fR. @@ -195,12 +183,10 @@ The \fBMSGVERB\fR and \fBSEV_LEVEL\fR environment variables control the behavior of \fBfmtmsg()\fR as follows: .sp .ne 2 -.mk .na \fB\fBMSGVERB\fR\fR .ad .RS 13n -.rt This variable determines which message components \fBfmtmsg()\fR selects when writing messages to \fBstderr\fR. Its value is a colon-separated list of optional keywords and can be set as follows: @@ -235,12 +221,10 @@ included in console messages. .sp .ne 2 -.mk .na \fB\fBSEV_LEVEL\fR\fR .ad .RS 13n -.rt This variable defines severity levels and associates print strings with them for use by \fBfmtmsg()\fR. The standard severity levels listed below cannot be modified. Additional severity levels can also be defined, redefined, and @@ -249,56 +233,46 @@ severity level is defined by both \fBSEV_LEVEL\fR and \fBaddseverity()\fR, the definition by \fBaddseverity()\fR takes precedence. .sp .ne 2 -.mk .na \fB0\fR .ad .RS 5n -.rt (no severity is used) .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 5n -.rt \fBHALT\fR .RE .sp .ne 2 -.mk .na \fB2\fR .ad .RS 5n -.rt \fBERROR\fR .RE .sp .ne 2 -.mk .na \fB3\fR .ad .RS 5n -.rt \fBWARNING\fR .RE .sp .ne 2 -.mk .na \fB4\fR .ad .RS 5n -.rt \fBINFO\fR .RE @@ -353,17 +327,16 @@ arguments. .sp .TS -tab() box; -lw(1.38i) lw(1.38i) lw(1.38i) lw(1.38i) -lw(1.38i) lw(1.38i) lw(1.38i) lw(1.38i) -. -ArgumentTypeNull-ValueIdentifier -\fIlabel\fR\fBchar*\fR\fB(char*) NULL\fR\fBMM_NULLLBL\fR -\fIseverity\fR\fBint\fR\fB0\fR\fBMM_NULLSEV\fR -\fIclass\fR\fBlong\fR\fB0L\fR\fBMM_NULLMC\fR -\fItext\fR\fBchar*\fR\fB(char*) NULL\fR\fBMM_NULLTXT\fR -\fIaction\fR\fBchar*\fR\fB(char*) NULL\fR\fBMM_NULLACT\fR -\fItag\fR\fBchar*\fR\fB(char*) NULL\fR\fBMM_NULLTAG\fR +box; +l l l l +l l l l . +Argument Type Null-Value Identifier +\fIlabel\fR \fBchar*\fR \fB(char*) NULL\fR \fBMM_NULLLBL\fR +\fIseverity\fR \fBint\fR \fB0\fR \fBMM_NULLSEV\fR +\fIclass\fR \fBlong\fR \fB0L\fR \fBMM_NULLMC\fR +\fItext\fR \fBchar*\fR \fB(char*) NULL\fR \fBMM_NULLTXT\fR +\fIaction\fR \fBchar*\fR \fB(char*) NULL\fR \fBMM_NULLACT\fR +\fItag\fR \fBchar*\fR \fB(char*) NULL\fR \fBMM_NULLTAG\fR .TE .sp @@ -377,46 +350,38 @@ the \fBEnvironment Variables\fR section above). The \fBfmtmsg()\fR returns the following values: .sp .ne 2 -.mk .na \fB\fBMM_OK\fR\fR .ad .RS 12n -.rt The function succeeded. .RE .sp .ne 2 -.mk .na \fB\fBMM_NOTOK\fR\fR .ad .RS 12n -.rt The function failed completely. .RE .sp .ne 2 -.mk .na \fB\fBMM_NOMSG\fR\fR .ad .RS 12n -.rt The function was unable to generate a message on the standard error stream, but otherwise succeeded. .RE .sp .ne 2 -.mk .na \fB\fBMM_NOCON\fR\fR .ad .RS 12n -.rt The function was unable to generate a console message, but otherwise succeeded. .RE @@ -506,15 +471,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fnmatch.3c b/usr/src/man/man3c/fnmatch.3c index 075bd6fd55..06c032069b 100644 --- a/usr/src/man/man3c/fnmatch.3c +++ b/usr/src/man/man3c/fnmatch.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fnmatch 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FNMATCH 3C "Jul 24, 2002" .SH NAME fnmatch \- match filename or path name .SH SYNOPSIS @@ -31,12 +31,10 @@ The \fIflags\fR argument modifies the interpretation of \fIpattern\fR and following flags defined in the header <\fBfnmatch.h\fR>. .sp .ne 2 -.mk .na \fB\fBFNM_PATHNAME\fR \fR .ad .RS 18n -.rt If set, a slash (\fB/\fR) character in \fIstring\fR will be explicitly matched by a slash in \fIpattern\fR; it will not be matched by either the asterisk (\fB*\fR) or question-mark (\fB?\fR) special characters, nor by a bracket @@ -47,12 +45,10 @@ If not set, the slash character is treated as an ordinary character. .sp .ne 2 -.mk .na \fB\fBFNM_NOESCAPE\fR\fR .ad .RS 18n -.rt If not set, a backslash character (\fB\e\fR) in \fIpattern\fR followed by any other character will match that second character in \fIstring\fR. In particular, "\fB\e\e\fR" will match a backslash in \fIstring\fR. @@ -62,12 +58,10 @@ If set, a backslash character will be treated as an ordinary character. .sp .ne 2 -.mk .na \fB\fBFNM_PERIOD\fR\fR .ad .RS 18n -.rt If set, a leading period in \fIstring\fR will match a period in \fIpattern\fR; where the location of "leading" is indicated by the value of \fBFNM_PATHNAME\fR: @@ -125,17 +119,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fopen.3c b/usr/src/man/man3c/fopen.3c index df3a9ad119..ef177a4264 100644 --- a/usr/src/man/man3c/fopen.3c +++ b/usr/src/man/man3c/fopen.3c @@ -2,14 +2,14 @@ .\" Copyright 1989 AT&T. .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fopen 3C "18 Apr 2006" "SunOS 5.11" "Standard C Library Functions" +.TH FOPEN 3C "Apr 18, 2006" .SH NAME fopen \- open a stream .SH SYNOPSIS @@ -31,67 +31,55 @@ The argument \fImode\fR points to a string beginning with one of the following sequences: .sp .ne 2 -.mk .na \fB\fBr\fR or \fBrb\fR\fR .ad .RS 20n -.rt Open file for reading. .RE .sp .ne 2 -.mk .na \fB\fBw\fR or \fBwb\fR\fR .ad .RS 20n -.rt Truncate to zero length or create file for writing. .RE .sp .ne 2 -.mk .na \fB\fBa\fR or \fBab\fR\fR .ad .RS 20n -.rt Append; open or create file for writing at end-of-file. .RE .sp .ne 2 -.mk .na \fB\fBr+\fR or \fBrb+\fR or \fBr+b\fR\fR .ad .RS 20n -.rt Open file for update (reading and writing). .RE .sp .ne 2 -.mk .na \fB\fBw+\fR or \fBwb+\fR or \fBw+b\fR\fR .ad .RS 20n -.rt Truncate to zero length or create file for update. .RE .sp .ne 2 -.mk .na \fB\fBa+\fR or \fBab+\fR or \fBa+b\fR\fR .ad .RS 20n -.rt Append; open or create file for update, writing at end-of-file. .RE @@ -175,12 +163,10 @@ free \fBstdio\fR streams. The \fBfopen()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied on a component of the path prefix, or the file exists and the permissions specified by \fImode\fR are denied, or the file does not exist and write permission is denied for the parent directory of the file @@ -189,139 +175,115 @@ to be created. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 16n -.rt A signal was caught during the execution of \fBfopen()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEISDIR\fR\fR .ad .RS 16n -.rt The named file is a directory and \fImode\fR requires write access. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIfilename\fR exceeds \fIPATH_MAX\fR or a pathname component is longer than \fINAME_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt The maximum allowable number of files is currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIfilename\fR does not name an existing file or \fIfilename\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 16n -.rt The directory or file system that would contain the new file cannot be expanded, the file does not exist, and it was to be created. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 16n -.rt The named file is a character special or block special file, and the device associated with this special file does not exist. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 16n -.rt The current value of the file position cannot be represented correctly in an object of type \fBfpos_t\fR. .RE .sp .ne 2 -.mk .na \fB\fBEROFS\fR\fR .ad .RS 16n -.rt The named file resides on a read-only file system and \fImode\fR requires write access. .RE @@ -331,23 +293,19 @@ access. The \fBfopen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The value of the \fImode\fR argument is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt {\fBFOPEN_MAX\fR} streams are currently open in the calling process. .sp {\fBSTREAM_MAX\fR} streams are currently open in the calling process. @@ -355,35 +313,29 @@ The value of the \fImode\fR argument is not valid. .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds {\fBPATH_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBETXTBSY\fR\fR .ad .RS 16n -.rt The file is a pure procedure (shared text) file that is being executed and \fImode\fR requires write access. .RE @@ -421,15 +373,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/fpgetround.3c b/usr/src/man/man3c/fpgetround.3c index 142e199da9..55fdf178a3 100644 --- a/usr/src/man/man3c/fpgetround.3c +++ b/usr/src/man/man3c/fpgetround.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 fpgetround 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH FPGETROUND 3C "Dec 29, 1996" .SH NAME fpgetround, fpsetround, fpgetmask, fpsetmask, fpgetsticky, fpsetsticky \- IEEE floating-point environment control @@ -163,13 +163,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fputc.3c b/usr/src/man/man3c/fputc.3c index 03f1b8a563..4943c8ce60 100644 --- a/usr/src/man/man3c/fputc.3c +++ b/usr/src/man/man3c/fputc.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fputc 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FPUTC 3C "Nov 1, 2003" .SH NAME fputc, putc, putc_unlocked, putchar, putchar_unlocked, putw \- put a byte on a stream @@ -114,72 +114,60 @@ The \fBfputc()\fR, \fBputc()\fR, \fBputc_unlocked()\fR, \fBputchar()\fR, and: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the write operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt An attempt was made to write to a file that exceeds the maximum file size or the process' file size limit. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt The file is a regular file and an attempt was made to write at or beyond the offset maximum. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The write operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt A physical I/O error has occurred, or the process is a member of a background process group attempting to write to its controlling terminal, \fBTOSTOP\fR is set, the process is neither ignoring nor blocking \fBSIGTTOU\fR and the process @@ -189,23 +177,19 @@ implementation-dependent conditions. .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt An attempt is made to write to a pipe or \fBFIFO\fR that is not open for reading by any process. A \fBSIGPIPE\fR signal will also be sent to the calling thread. @@ -217,23 +201,19 @@ The \fBfputc()\fR, \fBputc()\fR, \fBputc_unlocked()\fR, \fBputchar()\fR, \fBputchar_unlocked()\fR, and \fBputw()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE @@ -271,17 +251,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityT{ +Interface Stability T{ \fBfputc()\fR, \fBputc()\fR, \fBputc_unlocked()\fR, \fBputchar()\fR, and \fBputchar_unlocked()\fR are Standard. T} _ -MT-LevelSee \fBNOTES\fR below. +MT-Level See \fBNOTES\fR below. .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fputwc.3c b/usr/src/man/man3c/fputwc.3c index 1ddeb4395d..52c73572cf 100644 --- a/usr/src/man/man3c/fputwc.3c +++ b/usr/src/man/man3c/fputwc.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fputwc 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FPUTWC 3C "Nov 1, 2003" .SH NAME fputwc, putwc, putwchar \- put wide-character code on a stream .SH SYNOPSIS .LP .nf -#include <stdio.h> -#include <wchar.h> +#include <stdio.h> +#include <wchar.h> \fBwint_t\fR \fBfputwc\fR(\fBwchar_t\fR \fIwc\fR, \fBFILE*\fR\fIstream\fR); .fi @@ -26,7 +26,7 @@ fputwc, putwc, putwchar \- put wide-character code on a stream .LP .nf -#include <wchar.h> +#include <wchar.h> \fBwint_t\fR \fBputwchar\fR(\fBwchar_t\fR \fIwc\fR); .fi @@ -71,36 +71,30 @@ either the stream is unbuffered or data in the \fIstream\fR's buffer needs to be written, and: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor underlying \fIstream\fR and the process would be delayed in the write operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt An attempt was made to write to a file that exceeds the maximum file size or the process's file size limit; or the file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding @@ -109,24 +103,20 @@ stream. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The write operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt A physical I/O error has occurred, or the process is a member of a background process group attempting to write to its controlling terminal, \fBTOSTOP\fR is set, the process is neither ignoring nor blocking \fBSIGTTOU\fR, and the @@ -135,23 +125,19 @@ process group of the process is orphaned. .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt An attempt is made to write to a pipe or \fBFIFO\fR that is not open for reading by any process. A \fBSIGPIPE\fR signal will also be sent to the calling thread. @@ -162,35 +148,29 @@ thread. The \fBfputwc()\fR, \fBputwc()\fR, and \fBputwchar()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt The wide-character code \fIwc\fR does not correspond to a valid character. .RE @@ -214,15 +194,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fputws.3c b/usr/src/man/man3c/fputws.3c index a0f2668776..dadbd3d481 100644 --- a/usr/src/man/man3c/fputws.3c +++ b/usr/src/man/man3c/fputws.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fputws 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FPUTWS 3C "Nov 1, 2003" .SH NAME fputws \- put wide character string on a stream .SH SYNOPSIS .LP .nf -#include <stdio.h> -#include <wchar.h> +#include <stdio.h> +#include <wchar.h> \fBint\fR \fBfputws\fR(\fBconst wchar_t *restrict\fR \fIs\fR, \fBFILE *restrict\fR \fIstream\fR); .fi @@ -50,15 +50,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fread.3c b/usr/src/man/man3c/fread.3c index 8e16e43dee..86206c8ade 100644 --- a/usr/src/man/man3c/fread.3c +++ b/usr/src/man/man3c/fread.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fread 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FREAD 3C "Jul 24, 2002" .SH NAME fread \- binary input .SH SYNOPSIS @@ -95,15 +95,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/freopen.3c b/usr/src/man/man3c/freopen.3c index c1ec395061..9944f3e153 100644 --- a/usr/src/man/man3c/freopen.3c +++ b/usr/src/man/man3c/freopen.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 freopen 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FREOPEN 3C "Jul 24, 2002" .SH NAME freopen \- open a stream .SH SYNOPSIS @@ -89,12 +89,10 @@ error. The \fBfreopen()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied on a component of the path prefix, or the file exists and the permissions specified by \fImode\fR are denied, or the file does not exist and write permission is denied for the parent directory of the file @@ -103,12 +101,10 @@ to be created. .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 16n -.rt The application comforms to SUSv3, the \fIfilename\fR argument is a null pointer, and either the underlying file descriptor is not valid or the mode specified when the underlying file descriptor was opened does not support the @@ -117,151 +113,125 @@ file access modes requested by the \fImode\fR argument. .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt The application does not comform to SUSv3 and the \fIfilename\fR argument is a null pointer. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 16n -.rt A signal was caught during \fBfreopen()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEISDIR\fR\fR .ad .RS 16n -.rt The named file is a directory and \fImode\fR requires write access. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIfilename\fR exceeds {\fIPATH_MAX\fR} or a pathname component is longer than {\fINAME_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt The maximum allowable number of files is currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIfilename\fR does not name an existing file or \fIfilename\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 16n -.rt The directory or file system that would contain the new file cannot be expanded, the file does not exist, and it was to be created. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 16n -.rt The named file is a character special or block special file, and the device associated with this special file does not exist. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 16n -.rt The current value of the file position cannot be represented correctly in an object of type \fBoff_t\fR. .RE .sp .ne 2 -.mk .na \fB\fBEROFS\fR\fR .ad .RS 16n -.rt The named file resides on a read-only file system and \fImode\fR requires write access. .RE @@ -271,58 +241,48 @@ access. The \fBfreopen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The value of the \fImode\fR argument is not valid. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds {\fIPATH_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 16n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE .sp .ne 2 -.mk .na \fB\fBETXTBSY\fR\fR .ad .RS 16n -.rt The file is a pure procedure (shared text) file that is being executed and \fImode\fR requires write access. .RE @@ -346,15 +306,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fseek.3c b/usr/src/man/man3c/fseek.3c index 41007501b1..7db56303c2 100644 --- a/usr/src/man/man3c/fseek.3c +++ b/usr/src/man/man3c/fseek.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 20023, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fseek 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FSEEK 3C "Nov 1, 2003" .SH NAME fseek, fseeko \- reposition a file-position indicator in a stream .SH SYNOPSIS @@ -36,34 +36,28 @@ by adding \fIoffset\fR to the position specified by \fIwhence\fR, whose values are defined in <\fBstdio.h\fR> as follows: .sp .ne 2 -.mk .na \fB\fBSEEK_SET\fR\fR .ad .RS 12n -.rt Set position equal to \fIoffset\fR bytes. .RE .sp .ne 2 -.mk .na \fB\fBSEEK_CUR\fR\fR .ad .RS 12n -.rt Set position to current location plus \fIoffset\fR. .RE .sp .ne 2 -.mk .na \fB\fBSEEK_END\fR\fR .ad .RS 12n -.rt Set position to \fBEOF\fR plus \fIoffset\fR. .RE @@ -113,36 +107,30 @@ and the call to \fBfseek()\fR or \fBfseeko()\fR causes an underlying \fBlseek\fR(2) or \fBwrite\fR(2) to be invoked: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The \fBO_NONBLOCK\fR flag is set for the file descriptor and the process would be delayed in the write operation. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying the stream file is not open for writing or the stream's buffer needed to be flushed and the file is not open. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt An attempt was made to write a file that exceeds the maximum file size or the process's file size limit, or the file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding @@ -151,36 +139,30 @@ stream. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The write operation was terminated due to the receipt of a signal, and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIwhence\fR argument is invalid. The resulting file-position indicator would be set to a negative value. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt A physical I/O error has occurred; or the process is a member of a background process group attempting to perform a \fBwrite\fR(2) operation to its controlling terminal, \fBTOSTOP\fR is set, the process is neither ignoring nor @@ -189,46 +171,38 @@ blocking \fBSIGTTOU\fR, and the process group of the process is orphaned. .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt A request was made of a non-existent device, or the request was outside the capabilities of the device. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is associated with a pipe or FIFO. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 10n -.rt An attempt was made to write to a pipe or \fBFIFO\fR that is not open for reading by any process. A \fBSIGPIPE\fR signal will also be sent to the calling thread. @@ -239,12 +213,10 @@ thread. The \fBfseek()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The resulting file offset would be a value which cannot be represented correctly in an object of type \fBlong\fR. .RE @@ -254,12 +226,10 @@ correctly in an object of type \fBlong\fR. The \fBfseeko()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The resulting file offset would be a value which cannot be represented correctly in an object of type \fBoff_t\fR. .RE @@ -285,15 +255,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fsetpos.3c b/usr/src/man/man3c/fsetpos.3c index 8c8c4723d3..25c314f642 100644 --- a/usr/src/man/man3c/fsetpos.3c +++ b/usr/src/man/man3c/fsetpos.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fsetpos 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FSETPOS 3C "Jul 24, 2002" .SH NAME fsetpos \- reposition a file pointer in a stream .SH SYNOPSIS @@ -42,23 +42,19 @@ returns a non-zero value and sets \fBerrno\fR to indicate the error. The \fBfsetpos()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is not valid. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is associated with a pipe, a FIFO, or a socket. .RE @@ -76,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fsync.3c b/usr/src/man/man3c/fsync.3c index 695e4e1b27..fae57398b1 100644 --- a/usr/src/man/man3c/fsync.3c +++ b/usr/src/man/man3c/fsync.3c @@ -4,7 +4,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 fsync 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH FSYNC 3C "Feb 5, 2008" .SH NAME fsync \- synchronize changes to a file .SH SYNOPSIS @@ -45,56 +45,46 @@ completed. The \fBfsync()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 13n -.rt A signal was caught during execution of the \fBfsync()\fR function. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 13n -.rt An I/O error occurred while reading from or writing to the file system. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 13n -.rt There was no free space remaining on the device containing the file. .RE .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt Remote connection timed out. This occurs when the file is on an \fBNFS\fR file system mounted with the \fIsoft\fR option. See \fBmount_nfs\fR(1M). .RE @@ -123,17 +113,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ftell.3c b/usr/src/man/man3c/ftell.3c index 060539fd75..5eae642cd2 100644 --- a/usr/src/man/man3c/ftell.3c +++ b/usr/src/man/man3c/ftell.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ftell 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FTELL 3C "Jul 24, 2002" .SH NAME ftell, ftello \- return a file offset in a stream .SH SYNOPSIS @@ -42,23 +42,19 @@ sets \fBerrno\fR to indicate the error. The \fBftell()\fR and \fBftello()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is not an open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 10n -.rt The file descriptor underlying \fIstream\fR is associated with a pipe, a FIFO, or a socket. .RE @@ -68,12 +64,10 @@ or a socket. The \fBftell()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The current file offset cannot be represented correctly in an object of type \fBlong\fR. .RE @@ -83,12 +77,10 @@ The current file offset cannot be represented correctly in an object of type The \fBftello()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The current file offset cannot be represented correctly in an object of type \fBoff_t\fR. .RE @@ -106,15 +98,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ftime.3c b/usr/src/man/man3c/ftime.3c index fd5ef1f7f7..8c84776c3c 100644 --- a/usr/src/man/man3c/ftime.3c +++ b/usr/src/man/man3c/ftime.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ftime 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FTIME 3C "Jul 24, 2002" .SH NAME ftime \- get date and time .SH SYNOPSIS @@ -75,13 +75,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ftok.3c b/usr/src/man/man3c/ftok.3c index f466f86d4d..ac6d52c4d7 100644 --- a/usr/src/man/man3c/ftok.3c +++ b/usr/src/man/man3c/ftok.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ftok 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FTOK 3C "Jul 24, 2002" .SH NAME ftok \- generate an IPC key .SH SYNOPSIS @@ -52,58 +52,48 @@ error. The \fBftok()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for a component of the path prefix. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIpath\fR argument exceeds \fB{\fR\fBPATH\fR\fB_MAX} \fR or a pathname component is longer than \fB{NAME_MAX}\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIpath\fR does not name an existing file or \fIpath\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE @@ -112,12 +102,10 @@ A component of the path prefix is not a directory. The \fBftok()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds \fB{PATH_MAX} \fR. .RE @@ -151,15 +139,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ftw.3c b/usr/src/man/man3c/ftw.3c index 224d1aee47..1cb4905684 100644 --- a/usr/src/man/man3c/ftw.3c +++ b/usr/src/man/man3c/ftw.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ftw 3C "30 Jan 2007" "SunOS 5.11" "Standard C Library Functions" +.TH FTW 3C "Jan 30, 2007" .SH NAME ftw, nftw \- walk a file tree .SH SYNOPSIS @@ -40,46 +40,38 @@ integer. Possible values of the integer, defined in the <\fBftw.h\fR> header, are: .sp .ne 2 -.mk .na \fB\fBFTW_F\fR\fR .ad .RS 11n -.rt The object is a file. .RE .sp .ne 2 -.mk .na \fB\fBFTW_D\fR\fR .ad .RS 11n -.rt The object is a directory. .RE .sp .ne 2 -.mk .na \fB\fBFTW_DNR\fR\fR .ad .RS 11n -.rt The object is a directory that cannot be read. Descendants of the directory are not processed. .RE .sp .ne 2 -.mk .na \fB\fBFTW_NS\fR\fR .ad .RS 11n -.rt The \fBstat()\fR function failed on the object because of lack of appropriate permission or the object is a symbolic link that points to a non-existent file. The \fBstat\fR buffer passed to \fIfn\fR is undefined. @@ -103,12 +95,10 @@ additional argument \fIflags\fR, which is a bitwise-inclusive OR of zero or more of the following flags: .sp .ne 2 -.mk .na \fB\fBFTW_CHDIR\fR\fR .ad .RS 13n -.rt If set, \fBnftw()\fR changes the current working directory to each directory as it reports files in that directory. If clear, \fBnftw()\fR does not change the current working directory. @@ -116,12 +106,10 @@ current working directory. .sp .ne 2 -.mk .na \fB\fBFTW_DEPTH\fR\fR .ad .RS 13n -.rt If set, \fBnftw()\fR reports all files in a directory before reporting the directory itself. If clear, \fBnftw()\fR reports any directory before reporting the files in that directory. @@ -129,24 +117,20 @@ the files in that directory. .sp .ne 2 -.mk .na \fB\fBFTW_MOUNT\fR\fR .ad .RS 13n -.rt If set, \fBnftw()\fR reports only files in the same file system as path. If clear, \fBnftw()\fR reports all files encountered during the walk. .RE .sp .ne 2 -.mk .na \fB\fBFTW_PHYS\fR\fR .ad .RS 13n -.rt If set, \fBnftw()\fR performs a physical walk and does not follow symbolic links. .RE @@ -185,82 +169,68 @@ one of the following: .sp .ne 2 -.mk .na \fB\fBFTW_F\fR\fR .ad .RS 11n -.rt The object is a file. .RE .sp .ne 2 -.mk .na \fB\fBFTW_D\fR\fR .ad .RS 11n -.rt The object is a directory. .RE .sp .ne 2 -.mk .na \fB\fBFTW_DP\fR\fR .ad .RS 11n -.rt The object is a directory and subdirectories have been visited. (This condition only occurs if the FTW_DEPTH flag is included in flags.) .RE .sp .ne 2 -.mk .na \fB\fBFTW_SL\fR\fR .ad .RS 11n -.rt The object is a symbolic link. (This condition only occurs if the FTW_PHYS flag is included in flags.) .RE .sp .ne 2 -.mk .na \fB\fBFTW_SLN\fR\fR .ad .RS 11n -.rt The object is a symbolic link that points to a non-existent file. (This condition only occurs if the FTW_PHYS flag is not included in flags.) .RE .sp .ne 2 -.mk .na \fB\fBFTW_DNR\fR\fR .ad .RS 11n -.rt The object is a directory that cannot be read. The user-defined function \fIfn\fR will not be called for any of its descendants. .RE .sp .ne 2 -.mk .na \fB\fBFTW_NS\fR\fR .ad .RS 11n -.rt The \fBstat()\fR function failed on the object because of lack of appropriate permission. The stat buffer passed to \fIfn\fR is undefined. Failure of \fBstat()\fR for any other reason is considered an error and \fBnftw()\fR @@ -327,59 +297,49 @@ of the \fBstat\fR functions is executed on a directory or file. The \fBftw()\fR and \fBnftw()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt A loop exists in symbolic links encountered during resolution of the \fIpath\fR argument .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the path name pointed to by the \fIpath\fR argument exceeds {\fBPATH_MAX\fR}, or a path name component is longer than {\fBNAME_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIpath\fR does not name an existing file or \fIpath\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of \fIpath\fR is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 16n -.rt A field in the \fBstat\fR structure cannot be represented correctly in the current programming environment for one or more files found in the file hierarchy. @@ -390,24 +350,20 @@ hierarchy. The \fBftw()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for any component of \fIpath\fR or read permission is denied for \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The \fBftw()\fR function has descended to a path that exceeds {\fBPATH_MAX\fR} and the depth argument specified by the application is less than 2 and \fBFTW_CHDIR\fR is not set. @@ -418,12 +374,10 @@ and the depth argument specified by the application is less than 2 and The \fBnftw()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt Search permission is denied for any component of \fIpath\fR or read permission is denied for \fIpath\fR, or \fIfn\fR() returns \(mi1 and does not reset \fBerrno\fR. @@ -434,24 +388,20 @@ is denied for \fIpath\fR, or \fIfn\fR() returns \(mi1 and does not reset The \fBnftw()\fR and \fBftw()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered during resolution of the \fIpath\fR argument. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link in the path name pointed to by the \fIpath\fR argument produced an intermediate result whose length exceeds {\fBPATH_MAX\fR}. @@ -462,12 +412,10 @@ Pathname resolution of a symbolic link in the path name pointed to by the The \fBftw()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIdepth\fR argument is invalid. .RE @@ -476,24 +424,20 @@ The value of the \fIdepth\fR argument is invalid. The \fBnftw()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt Too many files are currently open in the system. .RE @@ -532,7 +476,7 @@ levels deep. .sp .in +2 .nf -#include <ftw.h> +#include <ftw.h> \&... int nftwfunc(const char *, const struct stat *, int, struct FTW *); int nftwfunc(const char *filename, const struct stat *statptr, @@ -581,15 +525,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fwide.3c b/usr/src/man/man3c/fwide.3c index 108e76ca4c..b7466c1582 100644 --- a/usr/src/man/man3c/fwide.3c +++ b/usr/src/man/man3c/fwide.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fwide 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FWIDE 3C "Jul 24, 2002" .SH NAME fwide \- set stream orientation .SH SYNOPSIS @@ -49,12 +49,10 @@ byte-orientation, or 0 if the stream has no orientation. The \fBfwide()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The \fIstream\fR argument is not a valid stream. .RE @@ -71,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fwprintf.3c b/usr/src/man/man3c/fwprintf.3c index 24cd7c1bb6..05c19c89c5 100644 --- a/usr/src/man/man3c/fwprintf.3c +++ b/usr/src/man/man3c/fwprintf.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fwprintf 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH FWPRINTF 3C "Nov 1, 2003" .SH NAME fwprintf, wprintf, swprintf \- print formatted wide-character output .SH SYNOPSIS @@ -164,12 +164,10 @@ the format wide-character string. The flag wide-characters and their meanings are: .sp .ne 2 -.mk .na \fB\fB\&'\fR\fR .ad .RS 9n -.rt The integer portion of the result of a decimal conversion (\fB%i\fR, \fB%d\fR, \fB%u\fR, \fB%f\fR, \fB%F\fR, \fB%g\fR, or \fB%G\fR) will be formatted with thousands' grouping wide-characters. For other conversions the behavior is @@ -178,24 +176,20 @@ undefined. The non-monetary grouping wide-character is used. .sp .ne 2 -.mk .na \fB\fB\(mi\fR\fR .ad .RS 9n -.rt The result of the conversion will be left-justified within the field. The conversion will be right-justified if this flag is not specified. .RE .sp .ne 2 -.mk .na \fB\fB+\fR\fR .ad .RS 9n -.rt The result of a signed conversion will always begin with a sign (\fB+\fR or \fB\(mi\fR). The conversion will begin with a sign only when a negative value is converted if this flag is not specified. @@ -203,12 +197,10 @@ is converted if this flag is not specified. .sp .ne 2 -.mk .na \fBspace\fR .ad .RS 9n -.rt If the first wide-character of a signed conversion is not a sign or if a signed conversion results in no wide-characters, a space will be prefixed to the result. This means that if the space and \fB+\fR flags both appear, the space @@ -217,12 +209,10 @@ flag will be ignored. .sp .ne 2 -.mk .na \fB\fB#\fR\fR .ad .RS 9n -.rt This flag specifies that the value is to be converted to an alternative form. For \fBo\fR conversion, it increases the precision (if necessary) to force the first digit of the result to be 0. For \fBx\fR or \fBX\fR conversions, a @@ -237,12 +227,10 @@ conversions, the behavior is undefined. .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt For \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, and \fBG\fR conversions, leading zeros (following any indication of sign or base) are used to pad to the field @@ -259,12 +247,10 @@ conversions, the behavior is undefined. The length modifiers and their meanings: .sp .ne 2 -.mk .na \fB\fBhh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBsigned char\fR or \fBunsigned char\fR argument (the argument will have been promoted according to the integer @@ -275,12 +261,10 @@ specifier applies to a pointer to a \fBsigned char\fR argument. .sp .ne 2 -.mk .na \fB\fBh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBshort\fR or \fBunsigned short\fR argument (the argument will have been promoted according to the integer @@ -291,12 +275,10 @@ applies to a pointer to a \fBshort\fR argument. .sp .ne 2 -.mk .na \fB\fBl\fR (ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBlong\fR or \fBunsigned long\fR argument; that a following n conversion specifier applies to a pointer to a @@ -309,12 +291,10 @@ specifier. .sp .ne 2 -.mk .na \fB\fBll\fR (ell-ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a\fB long long\fR or unsigned \fBlong long\fR argument; or that a following \fBn\fR conversion specifier applies to a @@ -323,12 +303,10 @@ pointer to a \fBlong long\fR argument. .sp .ne 2 -.mk .na \fB\fBj\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to an \fBintmax_t\fR or \fBuintmax_t\fR argument; or that a following \fBn\fR conversion specifier applies to a pointer @@ -337,12 +315,10 @@ to an \fBintmax_t\fR argument. .sp .ne 2 -.mk .na \fB\fBz\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBsize_t\fR or the corresponding signed integer type argument; or that a following \fBn\fR conversion specifier @@ -352,12 +328,10 @@ argument. .sp .ne 2 -.mk .na \fB\fBt\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBptrdiff_t\fR or the corresponding unsigned type argument; or that a following \fBn\fR conversion specifier @@ -366,12 +340,10 @@ applies to a pointer to a \fBptrdiff_t\fR argument. .sp .ne 2 -.mk .na \fB\fBL\fR\fR .ad .RS 16n -.rt Specifies that a following \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, or \fBG\fR conversion specifier applies to a long double argument. @@ -386,12 +358,10 @@ specified above, the behavior is undefined. The conversion wide-characters and their meanings are: .sp .ne 2 -.mk .na \fB\fBd\fR, \fBi\fR\fR .ad .RS 8n -.rt The \fBint\fR argument is converted to a signed decimal in the style \fB[\fR\(mi\fB]\fR\fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer @@ -401,12 +371,10 @@ result of converting 0 with an explicit precision of 0 is no wide-characters. .sp .ne 2 -.mk .na \fB\fBo\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned octal format in the style \fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer digits, it @@ -416,12 +384,10 @@ converting 0 with an explicit precision of 0 is no wide-characters. .sp .ne 2 -.mk .na \fB\fBu\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned decimal format in the style \fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer digits, it @@ -431,12 +397,10 @@ converting 0 with an explicit precision of 0 is no wide-characters. .sp .ne 2 -.mk .na \fB\fBx\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned hexadecimal format in the style \fIdddd\fR; the letters abcdef are used. The precision specifies the minimum number of digits to appear; if the value being converted can be @@ -447,24 +411,20 @@ of 0 is no wide-characters. .sp .ne 2 -.mk .na \fB\fBX\fR\fR .ad .RS 8n -.rt Behaves the same as the \fBx\fR conversion wide-character except that letters "\fBABCDEF\fR" are used instead of "\fBabcdef\fR". .RE .sp .ne 2 -.mk .na \fB\fBf\fR, \fBF\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is converted to decimal notation in the style [\fB\(mi\fR]\fIddd\fR\fB\&.\fR\fIddd\fR, where the number of digits after the radix character (see \fBsetlocale\fR(3C)) is equal to the precision @@ -488,12 +448,10 @@ or "INF" is printed otherwise. .sp .ne 2 -.mk .na \fB\fBe\fR, \fBE\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is converted in the style \fB[\fR\(mi\fB]\fR\fId.ddd\fRe\|\(+-\|dd, where there is one digit before the radix character (which is non-zero if the argument is non-zero) and the number @@ -509,12 +467,10 @@ the value is 0, the exponent is 0. Infinity and NaN values are handled in one of the following ways: .sp .ne 2 -.mk .na \fBSUSv3\fR .ad .RS 11n -.rt For the \fBe\fR specifier, a \fBdouble\fR argument representing an infinity is printed as "[\(mi]\fBinfinity\fR", when the precision for the conversion is at least 7 and as "[\(mi]\fBinf\fR" otherwise. A \fBdouble\fR argument @@ -526,12 +482,10 @@ sign follows the rules described above. .sp .ne 2 -.mk .na \fBDefault\fR .ad .RS 11n -.rt A \fBdouble\fR argument representing an infinity is printed as "[\(mi]\fBInfinity\fR", when the precision for the conversion is at least 7 and as "[\(mi]\fBInf\fR" otherwise. A double argument representing a NaN is printed @@ -542,12 +496,10 @@ as "[\(mi]\fBNaN\fR". Printing of the sign follows the rules described above. .sp .ne 2 -.mk .na \fB\fBg\fR, \fBG\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is converted in the style \fBf\fR or \fBe\fR (or in the style \fBE\fR in the case of a \fBG\fR conversion wide-character), with the precision specifying the number of significant digits. If an explicit precision @@ -565,12 +517,10 @@ precision is at least 8 and "inf", "INF", or "Inf" is printed otherwise. .sp .ne 2 -.mk .na \fB\fBa\fR, \fBA\fR\fR .ad .RS 8n -.rt A double argument representing a floating-point number is converted in the style "[-]\fB0xh.hhhhp\(+-d\fR", where the single hexadecimal digit preceding the radix point is 0 if the value converted is zero and 1 otherwise and the @@ -596,12 +546,10 @@ SUSv3 style of an \fBe\fR or \fBE\fR conversion specifier. .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 8n -.rt If no \fBl\fR (ell) qualifier is present, the \fBint\fR argument is converted to a wide-character as if by calling the \fBbtowc\fR(3C) function and the resulting wide-character is written. Otherwise the \fBwint_t\fR argument is @@ -610,12 +558,10 @@ converted to \fBwchar_t\fR, and written. .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 8n -.rt If no \fBl\fR (ell) qualifier is present, the argument must be a pointer to a character array containing a character sequence beginning in the initial shift state. Characters from the array are converted as if by repeated calls to the @@ -636,24 +582,20 @@ wide-characters are written. .sp .ne 2 -.mk .na \fB\fBp\fR\fR .ad .RS 8n -.rt The argument must be a pointer to \fBvoid\fR. The value of the pointer is converted to a sequence of printable wide-characters. .RE .sp .ne 2 -.mk .na \fB\fBn\fR\fR .ad .RS 8n -.rt The argument must be a pointer to an integer into which is written the number of wide-characters written to the output so far by this call to one of the \fBfwprintf()\fR functions. No argument is converted. @@ -661,34 +603,28 @@ of wide-characters written to the output so far by this call to one of the .sp .ne 2 -.mk .na \fB\fBC\fR\fR .ad .RS 8n -.rt Same as \fBlc\fR. .RE .sp .ne 2 -.mk .na \fB\fBS\fR\fR .ad .RS 8n -.rt Same as \fBls\fR. .RE .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 8n -.rt Output a % wide-character; no argument is converted. The entire conversion specification must be \fB%%\fR. .RE @@ -732,24 +668,20 @@ and may fail, refer to \fBfputwc\fR(3C). In addition, all forms of \fBfwprintf()\fR may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt A wide-character code that does not correspond to a valid character has been detected. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are insufficient arguments. .RE @@ -758,12 +690,10 @@ There are insufficient arguments. In addition, \fBwprintf()\fR and \fBfwprintf()\fR may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -836,15 +766,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fwrite.3c b/usr/src/man/man3c/fwrite.3c index 078ae22b80..f86ce6bf3f 100644 --- a/usr/src/man/man3c/fwrite.3c +++ b/usr/src/man/man3c/fwrite.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fwrite 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH FWRITE 3C "Jul 24, 2002" .SH NAME fwrite \- binary output .SH SYNOPSIS @@ -64,15 +64,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/fwscanf.3c b/usr/src/man/man3c/fwscanf.3c index cadbb988b0..8111ffe3f9 100644 --- a/usr/src/man/man3c/fwscanf.3c +++ b/usr/src/man/man3c/fwscanf.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 fwscanf 3C "10 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH FWSCANF 3C "Jul 10, 2008" .SH NAME fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf \- convert formatted wide-character input @@ -210,12 +210,10 @@ undefined. The length modifiers and their meanings are: .sp .ne 2 -.mk .na \fB\fBhh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBsigned char\fR or \fBunsigned char\fR. @@ -223,12 +221,10 @@ pointer to \fBsigned char\fR or \fBunsigned char\fR. .sp .ne 2 -.mk .na \fB\fBh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBshort\fR or \fBunsigned short\fR. @@ -236,12 +232,10 @@ pointer to \fBshort\fR or \fBunsigned short\fR. .sp .ne 2 -.mk .na \fB\fBl\fR (ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBlong\fR or \fBunsigned long\fR; that a following \fBa\fR, @@ -253,12 +247,10 @@ argument with type pointer to \fBwchar_t\fR. .sp .ne 2 -.mk .na \fB\fBll\fR (ell-ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBlong long\fR or \fBunsigned long long\fR. @@ -266,12 +258,10 @@ pointer to \fBlong long\fR or \fBunsigned long long\fR. .sp .ne 2 -.mk .na \fB\fBj\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBintmax_t\fR or \fBuintmax_t\fR. @@ -279,12 +269,10 @@ pointer to \fBintmax_t\fR or \fBuintmax_t\fR. .sp .ne 2 -.mk .na \fB\fBz\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBsize_t\fR or the corresponding signed integer type. @@ -292,12 +280,10 @@ pointer to \fBsize_t\fR or the corresponding signed integer type. .sp .ne 2 -.mk .na \fB\fBt\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBptrdiff_t\fR or the corresponding \fBunsigned\fR type. @@ -305,12 +291,10 @@ pointer to \fBptrdiff_t\fR or the corresponding \fBunsigned\fR type. .sp .ne 2 -.mk .na \fB\fBL\fR\fR .ad .RS 16n -.rt Specifies that a following \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, or \fBG\fR conversion specifier applies to an argument with type pointer to \fBlong double\fR. @@ -325,12 +309,10 @@ specified above, the behavior is undefined. The following conversion wide-characters are valid: .sp .ne 2 -.mk .na \fB\fBd\fR\fR .ad .RS 11n -.rt Matches an optionally signed decimal integer, whose format is the same as expected for the subject sequence of \fBwcstol\fR(3C) with the value 10 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -339,12 +321,10 @@ argument must be a pointer to \fBint\fR. .sp .ne 2 -.mk .na \fB\fBi\fR\fR .ad .RS 11n -.rt Matches an optionally signed integer, whose format is the same as expected for the subject sequence of \fBwcstol\fR(3C) with 0 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding argument must be a pointer to @@ -353,12 +333,10 @@ the absence of a size modifier, the corresponding argument must be a pointer to .sp .ne 2 -.mk .na \fB\fBo\fR\fR .ad .RS 11n -.rt Matches an optionally signed octal integer, whose format is the same as expected for the subject sequence of \fBwcstoul\fR(3C) with the value 8 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -367,12 +345,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBu\fR\fR .ad .RS 11n -.rt Matches an optionally signed decimal integer, whose format is the same as expected for the subject sequence of \fBwcstoul\fR(3C) with the value 10 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -381,12 +357,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBx\fR\fR .ad .RS 11n -.rt Matches an optionally signed hexadecimal integer, whose format is the same as expected for the subject sequence of \fBwcstoul\fR(3C) with the value 16 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -395,12 +369,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBa\fR,\fBe\fR,\fBf\fR,\fBg\fR\fR .ad .RS 11n -.rt Matches an optionally signed floating-point number, whose format is the same as expected for the subject sequence of \fBwcstod\fR(3C). In the absence of a size modifier, the corresponding argument must be a pointer to \fBfloat\fR. The @@ -418,12 +390,10 @@ setting of \fBerrno\fR to \fBERANGE\fR, if applicable. .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 11n -.rt Matches a sequence of non white-space wide-characters. If no \fBl\fR (ell) qualifier is present, characters from the input field are converted as if by repeated calls to the \fBwcrtomb\fR(3C) function, with the conversion state @@ -439,12 +409,10 @@ wide-character, which will be added automatically. .sp .ne 2 -.mk .na \fB\fB[\fR\fR .ad .RS 11n -.rt Matches a non-empty sequence of wide-characters from a set of expected wide-characters (the \fIscanset\fR). If no \fBl\fR (ell) qualifier is present, wide-characters from the input field are converted as if by repeated calls to @@ -476,12 +444,10 @@ range of characters to be matched. .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 11n -.rt Matches a sequence of wide-characters of the number specified by the field width (1 if no field width is present in the conversion specification). If no \fBl\fR (ell) qualifier is present, wide-characters from the input field are @@ -498,12 +464,10 @@ added. .sp .ne 2 -.mk .na \fB\fBp\fR\fR .ad .RS 11n -.rt Matches the set of sequences that is the same as the set of sequences that is produced by the \fB%p\fR conversion of the corresponding \fBfwprintf\fR(3C) functions. The corresponding argument must be a pointer to a pointer to @@ -514,12 +478,10 @@ otherwise the behavior of the \fB%p\fR conversion is undefined. .sp .ne 2 -.mk .na \fB\fBn\fR\fR .ad .RS 11n -.rt No input is consumed. The corresponding argument must be a pointer to the integer into which is to be written the number of wide-characters read from the input so far by this call to the \fBfwscanf()\fR functions. Execution of a @@ -529,34 +491,28 @@ returned at the completion of execution of the function. .sp .ne 2 -.mk .na \fB\fBC\fR\fR .ad .RS 11n -.rt Same as \fBlc\fR. .RE .sp .ne 2 -.mk .na \fB\fBS\fR\fR .ad .RS 11n -.rt Same as \fBls\fR. .RE .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 11n -.rt Matches a single \fB%\fR; no conversion or assignment occurs. The complete conversion specification must be \fB%%\fR. .RE @@ -619,23 +575,19 @@ fail, refer to \fBfgetwc\fR(3C). In addition, \fBfwscanf()\fR may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Input byte sequence does not form a valid character. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are insufficient arguments. .RE @@ -712,17 +664,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getcpuid.3c b/usr/src/man/man3c/getcpuid.3c index e860c56918..c09c79ab55 100644 --- a/usr/src/man/man3c/getcpuid.3c +++ b/usr/src/man/man3c/getcpuid.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 getcpuid 3C "16 Apr 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETCPUID 3C "Apr 16, 2003" .SH NAME getcpuid, gethomelgroup \- obtain information on scheduling decisions .SH SYNOPSIS @@ -48,17 +48,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityT{ +Interface Stability T{ \fBgetcpuid()\fR is Stable; \fBgethomelgroup()\fR is Obsolete. T} _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getcwd.3c b/usr/src/man/man3c/getcwd.3c index 8586920b86..e460ed7249 100644 --- a/usr/src/man/man3c/getcwd.3c +++ b/usr/src/man/man3c/getcwd.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getcwd 3C "18 Oct 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETCWD 3C "Oct 18, 2004" .SH NAME getcwd \- get pathname of current working directory .SH SYNOPSIS @@ -51,34 +51,28 @@ Upon successful completion, \fBgetcwd()\fR returns the \fIbuf\fR argument. If The \fBgetcwd()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIbuf\fR argument is an invalid destination buffer address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsize\fR argument is equal to 0. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The \fIsize\fR argument is greater than 0 and less than the length of the pathname plus 1. .RE @@ -88,23 +82,19 @@ pathname plus 1. The \fBgetcwd()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt A parent directory cannot be read to get its name. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -177,15 +167,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getdate.3c b/usr/src/man/man3c/getdate.3c index 1afb84ecd5..62a6bec5bd 100644 --- a/usr/src/man/man3c/getdate.3c +++ b/usr/src/man/man3c/getdate.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getdate 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETDATE 3C "Nov 1, 2003" .SH NAME getdate \- convert user format date and time .SH SYNOPSIS @@ -43,78 +43,64 @@ the internal time format. The following conversion specifications are supported: .sp .ne 2 -.mk .na \fB\fB%%\fR\fR .ad .RS 6n -.rt Same as \fB%\fR. .RE .sp .ne 2 -.mk .na \fB\fB%a\fR\fR .ad .RS 6n -.rt Locale's abbreviated weekday name. .RE .sp .ne 2 -.mk .na \fB\fB%A\fR\fR .ad .RS 6n -.rt Locale's full weekday name. .RE .sp .ne 2 -.mk .na \fB\fB%b\fR\fR .ad .RS 6n -.rt Locale's abbreviated month name. .RE .sp .ne 2 -.mk .na \fB\fB%B\fR\fR .ad .RS 6n -.rt Locale's full month name. .RE .sp .ne 2 -.mk .na \fB\fB%c\fR\fR .ad .RS 6n -.rt Locale's appropriate date and time representation. .RE .sp .ne 2 -.mk .na \fB\fB%C\fR\fR .ad .RS 6n -.rt Century number (the year divided by 100 and truncated to an integer as a decimal number [1,99]); single digits are preceded by 0; see \fBstandards\fR(5). If used without the \fB%y\fR specifier, this format @@ -124,156 +110,128 @@ specified. The only valid years are between 1902-2037. .sp .ne 2 -.mk .na \fB\fB%d\fR\fR .ad .RS 6n -.rt day of month [01,31]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%D\fR\fR .ad .RS 6n -.rt Date as \fB%m\fR/\fB%d\fR/\fB%y\fR. .RE .sp .ne 2 -.mk .na \fB\fB%e\fR\fR .ad .RS 6n -.rt Same as \fB%d\fR. .RE .sp .ne 2 -.mk .na \fB\fB%h\fR\fR .ad .RS 6n -.rt Locale's abbreviated month name. .RE .sp .ne 2 -.mk .na \fB\fB%H\fR\fR .ad .RS 6n -.rt Hour (24-hour clock) [0,23]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%I\fR\fR .ad .RS 6n -.rt Hour (12-hour clock) [1,12]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%j\fR\fR .ad .RS 6n -.rt Day number of the year [1,366]; leading zeros are permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%m\fR\fR .ad .RS 6n -.rt Month number [1,12]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%M\fR\fR .ad .RS 6n -.rt Minute [0,59]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%n\fR\fR .ad .RS 6n -.rt Any white space. .RE .sp .ne 2 -.mk .na \fB\fB%p\fR\fR .ad .RS 6n -.rt Locale's equivalent of either a.m. or p.m. .RE .sp .ne 2 -.mk .na \fB\fB%r\fR\fR .ad .RS 6n -.rt Appropriate time representation in the 12-hour clock format with \fB%p\fR. .RE .sp .ne 2 -.mk .na \fB\fB%R\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR. .RE .SS "SUSv3" .sp .ne 2 -.mk .na \fB\fB%S\fR\fR .ad .RS 6n -.rt Seconds [0,60]; leading zero is permitted but not required. The range of values is [00,60] rather than [00,59] to allow for the occasional leap second. .RE @@ -281,12 +239,10 @@ is [00,60] rather than [00,59] to allow for the occasional leap second. .SS "Default and other standards" .sp .ne 2 -.mk .na \fB\fB%S\fR\fR .ad .RS 6n -.rt Seconds [0,61]; leading zero is permitted but not required. The range of values is [00,61] rather than [00,59] to allow for the occasional leap second and even more occasional double leap second. @@ -294,91 +250,75 @@ more occasional double leap second. .sp .ne 2 -.mk .na \fB\fB%t\fR\fR .ad .RS 6n -.rt Any white space. .RE .sp .ne 2 -.mk .na \fB\fB%T\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR:\fB%S\fR. .RE .sp .ne 2 -.mk .na \fB\fB%U\fR\fR .ad .RS 6n -.rt Week number of the year as a decimal number [0,53], with Sunday as the first day of the week; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%w\fR\fR .ad .RS 6n -.rt Weekday as a decimal number [0,6], with 0 representing Sunday. .RE .sp .ne 2 -.mk .na \fB\fB%W\fR\fR .ad .RS 6n -.rt Week number of the year as a decimal number [0,53], with Monday as the first day of the week; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%x\fR\fR .ad .RS 6n -.rt Locale's appropriate date representation. .RE .sp .ne 2 -.mk .na \fB\fB%X\fR\fR .ad .RS 6n -.rt Locale's appropriate time representation. .RE .sp .ne 2 -.mk .na \fB\fB%y\fR\fR .ad .RS 6n -.rt Year within century. When a century is not otherwise specified, values in the range 69-99 refer to years in the twentieth century (1969 to 1999 inclusive); values in the range 00-68 refer to years in the twenty-first century (2000 to @@ -387,23 +327,19 @@ values in the range 00-68 refer to years in the twenty-first century (2000 to .sp .ne 2 -.mk .na \fB\fB%Y\fR\fR .ad .RS 6n -.rt Year, including the century (for example, 1993). .RE .sp .ne 2 -.mk .na \fB\fB%Z\fR\fR .ad .RS 6n -.rt Time zone name or no characters if no time zone exists. .RE @@ -418,192 +354,158 @@ current locale, the behavior be as if the unmodified conversion specification were used. .sp .ne 2 -.mk .na \fB\fB%Ec\fR\fR .ad .RS 7n -.rt Locale's alternative appropriate date and time representation. .RE .sp .ne 2 -.mk .na \fB\fB%EC\fR\fR .ad .RS 7n -.rt Name of the base year (period) in the locale's alternative representation. .RE .sp .ne 2 -.mk .na \fB\fB%Ex\fR\fR .ad .RS 7n -.rt Locale's alternative date representation. .RE .sp .ne 2 -.mk .na \fB\fB%EX\fR\fR .ad .RS 7n -.rt Locale's alternative time representation. .RE .sp .ne 2 -.mk .na \fB\fB%Ey\fR\fR .ad .RS 7n -.rt Offset from \fB%EC\fR (year only) in the locale's alternative representation. .RE .sp .ne 2 -.mk .na \fB\fB%EY\fR\fR .ad .RS 7n -.rt Full alternative year representation. .RE .sp .ne 2 -.mk .na \fB\fB%Od\fR\fR .ad .RS 7n -.rt Day of the month using the locale's alternative numeric symbols; leading zeros are permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%Oe\fR\fR .ad .RS 7n -.rt Same as \fB%Od\fR. .RE .sp .ne 2 -.mk .na \fB\fB%OH\fR\fR .ad .RS 7n -.rt Hour (24-hour clock) using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OI\fR\fR .ad .RS 7n -.rt Hour (12-hour clock) using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Om\fR\fR .ad .RS 7n -.rt Month using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OM\fR\fR .ad .RS 7n -.rt Minutes using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OS\fR\fR .ad .RS 7n -.rt Seconds using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OU\fR\fR .ad .RS 7n -.rt Week number of the year (Sunday as the first day of the week) using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Ow\fR\fR .ad .RS 7n -.rt Number of the weekday (Sunday=0) using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OW\fR\fR .ad .RS 7n -.rt Week number of the year (Monday as the first day of the week) using the locale's alternative numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Oy\fR\fR .ad .RS 7n -.rt Year (offset from \fB%C\fR) in the locale's alternative representation and using the locale's alternative numeric symbols. .RE @@ -700,89 +602,73 @@ The following is a complete list of the \fBgetdate_err\fR settings and their meanings: .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt The \fBDATEMSK\fR environment variable is null or undefined. .RE .sp .ne 2 -.mk .na \fB\fB2\fR\fR .ad .RS 5n -.rt The template file cannot be opened for reading. .RE .sp .ne 2 -.mk .na \fB\fB3\fR\fR .ad .RS 5n -.rt Failed to get file status information. .RE .sp .ne 2 -.mk .na \fB\fB4\fR\fR .ad .RS 5n -.rt The template file is not a regular file. .RE .sp .ne 2 -.mk .na \fB\fB5\fR\fR .ad .RS 5n -.rt An error is encountered while reading the template file. .RE .sp .ne 2 -.mk .na \fB\fB6\fR\fR .ad .RS 5n -.rt The \fBmalloc()\fR function failed (not enough memory is available). .RE .sp .ne 2 -.mk .na \fB\fB7\fR\fR .ad .RS 5n -.rt There is no line in the template that matches the input. .RE .sp .ne 2 -.mk .na \fB\fB8\fR\fR .ad .RS 5n -.rt The input specification is invalid (for example, \fBFebruary 31\fR). .RE @@ -851,16 +737,15 @@ show how local date and time specification can be defined in the template. .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -InvocationLine in Template +box; +l | l +l | l . +Invocation Line in Template _ -getdate("11/27/86")%m/%d/%y -getdate("27.11.86")%d.%m.%y -getdate("86-11-27")%y-%m-%d -getdate("Friday 12:00:00")%A %H:%M:%S +getdate("11/27/86") %m/%d/%y +getdate("27.11.86") %d.%m.%y +getdate("86-11-27") %y-%m-%d +getdate("Friday 12:00:00") %A %H:%M:%S .TE .sp @@ -873,26 +758,25 @@ environment variable is not set. .sp .TS -tab() box; -lw(1.32i) |lw(1.39i) |lw(2.79i) -lw(1.32i) |lw(1.39i) |lw(2.79i) -. -InputTemplate Line Date +box; +l | l | l +l | l | l . +Input Template Line Date _ -\fBMon\fR\fB%a\fRMon Sep 22 12:19:48 EDT 1986 -\fBSun\fR\fB%a\fRSun Sep 28 12:19:49 EDT 1986 -\fBFri\fR\fB%a\fRFri Sep 26 12:19:49 EDT 1986 -\fBSeptember\fR\fB%B\fRMon Sep 1 12:19:49 EDT 1986 -\fBJanuary\fR\fB%B\fRThu Jan 1 12:19:49 EST 1987 -\fBDecember\fR\fB%B\fRMon Dec 1 12:19:49 EDT 1986 -\fBSep Mon\fR\fB%b %a\fRMon Sep 1 12:19:50 EDT 1986 -\fBJan Fri\fR\fB%b %a\fRFri Jan 2 12:19:50 EST 1987 -\fBDec Mon\fR\fB%b %a\fRMon Dec 1 12:19:50 EST 1986 -\fBJan Wed 1989\fR\fB%b\fR \fB%a\fR \fB%Y\fRWed Jan 4 12:19:51 EST 1989 -\fBFri 9\fR\fB%a %H\fRFri Sep 26 09:00:00 EDT 1986 -\fBFeb 10:30\fR\fB%b %H:%S\fRSun Feb 1 10:00:30 EST 1987 -\fB10:30\fR\fB%H:%M\fRTue Sep 23 10:30:00 EDT 1986 -\fB13:30\fR\fB%H:%M\fRMon Sep 22 13:30:00 EDT 1986 +\fBMon\fR \fB%a\fR Mon Sep 22 12:19:48 EDT 1986 +\fBSun\fR \fB%a\fR Sun Sep 28 12:19:49 EDT 1986 +\fBFri\fR \fB%a\fR Fri Sep 26 12:19:49 EDT 1986 +\fBSeptember\fR \fB%B\fR Mon Sep 1 12:19:49 EDT 1986 +\fBJanuary\fR \fB%B\fR Thu Jan 1 12:19:49 EST 1987 +\fBDecember\fR \fB%B\fR Mon Dec 1 12:19:49 EDT 1986 +\fBSep Mon\fR \fB%b %a\fR Mon Sep 1 12:19:50 EDT 1986 +\fBJan Fri\fR \fB%b %a\fR Fri Jan 2 12:19:50 EST 1987 +\fBDec Mon\fR \fB%b %a\fR Mon Dec 1 12:19:50 EST 1986 +\fBJan Wed 1989\fR \fB%b\fR \fB%a\fR \fB%Y\fR Wed Jan 4 12:19:51 EST 1989 +\fBFri 9\fR \fB%a %H\fR Fri Sep 26 09:00:00 EDT 1986 +\fBFeb 10:30\fR \fB%b %H:%S\fR Sun Feb 1 10:00:30 EST 1987 +\fB10:30\fR \fB%H:%M\fR Tue Sep 23 10:30:00 EDT 1986 +\fB13:30\fR \fB%H:%M\fR Mon Sep 22 13:30:00 EDT 1986 .TE .SH ATTRIBUTES @@ -903,17 +787,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getdtablesize.3c b/usr/src/man/man3c/getdtablesize.3c index 845654303a..a49a1892f5 100644 --- a/usr/src/man/man3c/getdtablesize.3c +++ b/usr/src/man/man3c/getdtablesize.3c @@ -1,11 +1,11 @@ '\" te .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH getdtablesize 3C "1 Mar 1996" "SunOS 5.11" "Standard C Library Functions" +.TH GETDTABLESIZE 3C "Mar 1, 1996" .SH NAME getdtablesize \- get the file descriptor table size .SH SYNOPSIS diff --git a/usr/src/man/man3c/getenv.3c b/usr/src/man/man3c/getenv.3c index 7ca9b00658..0d5a374e08 100644 --- a/usr/src/man/man3c/getenv.3c +++ b/usr/src/man/man3c/getenv.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 getenv 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH GETENV 3C "Jul 24, 2002" .SH NAME getenv \- return value for environment name .SH SYNOPSIS @@ -44,15 +44,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getexecname.3c b/usr/src/man/man3c/getexecname.3c index 38644dee93..bfa3561b73 100644 --- a/usr/src/man/man3c/getexecname.3c +++ b/usr/src/man/man3c/getexecname.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 getexecname 3C "17 Dec 1997" "SunOS 5.11" "Standard C Library Functions" +.TH GETEXECNAME 3C "Dec 17, 1997" .SH NAME getexecname \- return pathname of executable .SH SYNOPSIS @@ -53,13 +53,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getgrnam.3c b/usr/src/man/man3c/getgrnam.3c index 6dad0149bc..a4851c9388 100644 --- a/usr/src/man/man3c/getgrnam.3c +++ b/usr/src/man/man3c/getgrnam.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getgrnam 3C "5 Apr 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETGRNAM 3C "Apr 5, 2004" .SH NAME getgrnam, getgrnam_r, getgrent, getgrent_r, getgrgid, getgrgid_r, setgrent, endgrent, fgetgrent, fgetgrent_r \- group database entry functions @@ -181,7 +181,7 @@ struct group { char *gr_name; /* the name of the group */ char *gr_passwd; /* the encrypted group password */ gid_t gr_gid; /* the numerical group ID */ - char **gr_mem; /* vector of pointers to member + char **gr_mem; /* vector of pointers to member names */ }; .fi @@ -227,23 +227,19 @@ The \fBgetgrent_r()\fR, \fBfgetgrent()\fR, and \fBfgetgrent_r()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error has occurred. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Insufficient storage was supplied by \fIbuffer\fR and \fIbufsize\fR to contain the data to be referenced by the resulting \fBgroup\fR structure. .RE @@ -253,24 +249,20 @@ the data to be referenced by the resulting \fBgroup\fR structure. The \fBgetgrent_r()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE @@ -280,46 +272,38 @@ The \fBgetgrnam()\fR, \fBgetgrnam_r()\fR, \fBgetgrgid()\fR, \fBgetgrgid_r()\fR, and \fBgetgrent()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during the operation. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error has occurred. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE @@ -328,12 +312,10 @@ The maximum allowable number of files is currently open in the system. The \fBgetgrnam_r()\fR and \fBgetgrgid_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Insufficient storage was supplied by \fIbuffer\fR and \fIbufsize\fR to contain the data to be referenced by the resulting \fBgroup\fR structure. .RE @@ -346,15 +328,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelSee \fBReentrant Interfaces\fR in \fBDESCRIPTION\fR. +MT-Level See \fBReentrant Interfaces\fR in \fBDESCRIPTION\fR. .TE .sp diff --git a/usr/src/man/man3c/gethostid.3c b/usr/src/man/man3c/gethostid.3c index 0ab230d20c..da0891bf9d 100644 --- a/usr/src/man/man3c/gethostid.3c +++ b/usr/src/man/man3c/gethostid.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 gethostid 3C "29 Jan 2009" "SunOS 5.11" "Standard C Library Functions" +.TH GETHOSTID 3C "Jan 29, 2009" .SH NAME gethostid \- get an identifier for the current host .SH SYNOPSIS @@ -34,17 +34,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/gethostname.3c b/usr/src/man/man3c/gethostname.3c index 6d8a0bcdda..900a5fa816 100644 --- a/usr/src/man/man3c/gethostname.3c +++ b/usr/src/man/man3c/gethostname.3c @@ -1,6 +1,6 @@ '\" te .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.TH gethostname 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETHOSTNAME 3C "Mar 22, 2004" .SH NAME gethostname, sethostname \- get or set name of current host .SH SYNOPSIS @@ -43,12 +43,10 @@ Upon successful completion, \fBgethostname()\fR and \fBsethostname()\fR return The \fBgethostname()\fR and \fBsethostname()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIname\fR or \fInamelen\fR argument gave an invalid address. .RE @@ -57,12 +55,10 @@ The \fIname\fR or \fInamelen\fR argument gave an invalid address. The \fBsethostname()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The {\fBPRIV_SYS_ADMIN\fR} privilege was not asserted in the effective set of the calling process. .RE @@ -75,15 +71,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/gethrtime.3c b/usr/src/man/man3c/gethrtime.3c index 5e8049c244..49bdae813d 100644 --- a/usr/src/man/man3c/gethrtime.3c +++ b/usr/src/man/man3c/gethrtime.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 gethrtime 3C "7 Sep 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETHRTIME 3C "Sep 7, 2004" .SH NAME gethrtime, gethrvtime \- get high resolution time .SH SYNOPSIS @@ -63,13 +63,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getloadavg.3c b/usr/src/man/man3c/getloadavg.3c index cf82d3457b..7531051c94 100644 --- a/usr/src/man/man3c/getloadavg.3c +++ b/usr/src/man/man3c/getloadavg.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 getloadavg 3C "28 Jun 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETLOADAVG 3C "Jun 28, 2004" .SH NAME getloadavg \- get system load averages .SH SYNOPSIS @@ -37,12 +37,10 @@ returned. If the load average was unobtainable, \fB\(mi1\fR is returned and The \fBgetloadavg()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The number of elements specified is less than 0. .RE @@ -60,13 +58,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getlogin.3c b/usr/src/man/man3c/getlogin.3c index c097067878..3334791c69 100644 --- a/usr/src/man/man3c/getlogin.3c +++ b/usr/src/man/man3c/getlogin.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getlogin 3C "18 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETLOGIN 3C "May 18, 2004" .SH NAME getlogin, getlogin_r \- get login name .SH SYNOPSIS @@ -70,23 +70,19 @@ the error number upon failure. The \fBgetlogin_r()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The size of the buffer is smaller than the result to be returned. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt And entry for the current user was not found in the \fB/var/adm/utmpx\fR file. .RE @@ -95,35 +91,29 @@ And entry for the current user was not found in the \fB/var/adm/utmpx\fR file. The \fBgetlogin()\fR and \fBgetlogin_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt The calling process has no controlling terminal. .RE @@ -132,12 +122,10 @@ The calling process has no controlling terminal. The \fBgetlogin_r()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The size of the buffer is smaller than the result to be returned. .RE @@ -156,12 +144,10 @@ returns the name associated with the real user ID of the process. .SH FILES .sp .ne 2 -.mk .na \fB\fB/var/adm/utmpx\fR\fR .ad .RS 18n -.rt user access and administration information .RE @@ -173,15 +159,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee below. +MT-Level See below. .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getmntent.3c b/usr/src/man/man3c/getmntent.3c index 4ebbe0d446..16995f58f1 100644 --- a/usr/src/man/man3c/getmntent.3c +++ b/usr/src/man/man3c/getmntent.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 getmntent 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETMNTENT 3C "Mar 22, 2004" .SH NAME getmntent, getmntany, getextmntent, hasmntopt, putmntent, resetmnttab \- get mounted device information @@ -126,34 +126,28 @@ value greater than 0 is returned. The following error values are defined in \fB<sys/mnttab.h>\fR: .sp .ne 2 -.mk .na \fB\fBMNT_TOOLONG\fR\fR .ad .RS 15n -.rt A line in the file exceeded the internal buffer size of \fBMNT_LINE_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBMNT_TOOMANY\fR\fR .ad .RS 15n -.rt A line in the file contains too many fields. .RE .sp .ne 2 -.mk .na \fB\fBMNT_TOOFEW\fR\fR .ad .RS 15n -.rt A line in the file contains too few fields. .RE @@ -174,13 +168,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getnetgrent.3c b/usr/src/man/man3c/getnetgrent.3c index 9d1a5793f5..be67cf4648 100644 --- a/usr/src/man/man3c/getnetgrent.3c +++ b/usr/src/man/man3c/getnetgrent.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 getnetgrent 3C "5 Apr 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETNETGRENT 3C "Apr 5, 2004" .SH NAME getnetgrent, getnetgrent_r, setnetgrent, endnetgrent, innetgr \- get network group entry @@ -136,12 +136,10 @@ success. .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/nsswitch.conf\fR\fR .ad .RS 22n -.rt .RE @@ -153,13 +151,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSee \fBDESCRIPTION\fR section. +MT-Level See \fBDESCRIPTION\fR section. .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getopt.3c b/usr/src/man/man3c/getopt.3c index cb93d20637..d8b80b8da4 100644 --- a/usr/src/man/man3c/getopt.3c +++ b/usr/src/man/man3c/getopt.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getopt 3C "16 Oct 2007" "SunOS 5.11" "Standard C Library Functions" +.TH GETOPT 3C "Oct 16, 2007" .SH NAME getopt \- command option parsing .SH SYNOPSIS @@ -218,7 +218,7 @@ main(int argc, char *argv[ ]) fprintf(stderr, "Unrecognized option: -%c\en", optopt); errflg++; - } + } } if (errflg) { fprintf(stderr, "usage: . . . "); @@ -279,11 +279,11 @@ while ((c = getopt(argc, argv, ":abf:")) != -1) { break; case ':': printf("-%c without filename\en", optopt); - break; + break; case '?': printf("unknown arg %c\en", optopt); - break; - } + break; + } } .fi .in -2 @@ -365,12 +365,10 @@ that affect the execution of \fBgetopt()\fR: \fBLANG\fR, \fBLC_ALL\fR, and \fBLC_MESSAGES\fR. .sp .ne 2 -.mk .na \fB\fBLC_CTYPE\fR\fR .ad .RS 12n -.rt Determine the locale for the interpretation of sequences of bytes as characters in \fIoptstring\fR. .RE @@ -410,17 +408,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelUnsafe +MT-Level Unsafe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/getpagesize.3c b/usr/src/man/man3c/getpagesize.3c index 1fa8b26ece..cd86426199 100644 --- a/usr/src/man/man3c/getpagesize.3c +++ b/usr/src/man/man3c/getpagesize.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getpagesize 3C "27 Jun 2000" "SunOS 5.11" "Standard C Library Functions" +.TH GETPAGESIZE 3C "Jun 27, 2000" .SH NAME getpagesize \- get system page size .SH SYNOPSIS @@ -53,13 +53,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpagesizes.3c b/usr/src/man/man3c/getpagesizes.3c index 558dfcc072..395c26d44d 100644 --- a/usr/src/man/man3c/getpagesizes.3c +++ b/usr/src/man/man3c/getpagesizes.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 getpagesizes 3C "14 May 2001" "SunOS 5.11" "Standard C Library Functions" +.TH GETPAGESIZES 3C "May 14, 2001" .SH NAME getpagesizes \- get system supported page sizes .SH SYNOPSIS @@ -36,12 +36,10 @@ indicate the error. The \fBgetpagesizes()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fInelem\fR argument is less than 0 or \fIpagesize\fR is \fINULL\fR but \fInelem\fR is non-zero. .RE @@ -62,13 +60,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpass.3c b/usr/src/man/man3c/getpass.3c index fe64e16f41..e5bdc53992 100644 --- a/usr/src/man/man3c/getpass.3c +++ b/usr/src/man/man3c/getpass.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getpass 3C "2 Sep 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETPASS 3C "Sep 2, 2003" .SH NAME getpass, getpassphrase \- read a string of characters without echo .SH SYNOPSIS @@ -55,23 +55,19 @@ pointer is returned. The \fBgetpass()\fR and \fBgetpassphrase()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt The process is a member of a background process attempting to read from its controlling terminal, the process is ignoring or blocking the \fBSIGTTIN\fR signal or the process group is orphaned. @@ -79,34 +75,28 @@ signal or the process group is orphaned. .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt \fBOPEN_MAX\fR file descriptors are currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 10n -.rt The process does not have a controlling terminal. .RE @@ -123,15 +113,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBgetpass()\fR is Standard. +Interface Stability \fBgetpass()\fR is Standard. _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpeerucred.3c b/usr/src/man/man3c/getpeerucred.3c index 61e1830860..8f8fac2c82 100644 --- a/usr/src/man/man3c/getpeerucred.3c +++ b/usr/src/man/man3c/getpeerucred.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 getpeerucred 3C "26 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETPEERUCRED 3C "May 26, 2004" .SH NAME getpeerucred \- get connected socket or stream peer's credentials .SH SYNOPSIS @@ -49,81 +49,67 @@ returns \(mi1 and \fBerrno\fR is set to indicate the error. The \fBgetpeerucred()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 12n -.rt There is not enough memory available to allocate sufficient memory to hold the user credential. The application can try again later. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 12n -.rt The \fIfd\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 12n -.rt The pointer location pointed to by the \fBucred_t **\fR argument points to an invalid, non-null address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 12n -.rt The socket is connected but the peer credentials are unknown. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 12n -.rt The physical limits of the system are exceeded by the memory allocation needed to hold the user credential. .RE .sp .ne 2 -.mk .na \fB\fBENOTCONN\fR\fR .ad .RS 12n -.rt The socket or stream is not connected or the stream's peer is unknown. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 12n -.rt This operation is not supported on this file descriptor. .RE @@ -135,15 +121,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpriority.3c b/usr/src/man/man3c/getpriority.3c index 4e13890b56..b4f6e108b0 100644 --- a/usr/src/man/man3c/getpriority.3c +++ b/usr/src/man/man3c/getpriority.3c @@ -2,11 +2,11 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH getpriority 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH GETPRIORITY 3C "Apr 1, 2008" .SH NAME getpriority, setpriority \- get and set the nice value .SH SYNOPSIS @@ -98,24 +98,20 @@ Upon successful completion, \fBsetpriority()\fR returns \fB0\fR. Otherwise, The \fBgetpriority()\fR and \fBsetpriority()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No process or thread could be located using the \fIwhich\fR and \fIwho\fR argument values specified. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIwhich\fR argument was not recognized, or the value of the \fIwho\fR argument is not a valid process ID, process group ID, user ID, group ID, session ID, thread (lwp) ID, task ID, project ID, or zone ID. @@ -126,12 +122,10 @@ ID, session ID, thread (lwp) ID, task ID, project ID, or zone ID. In addition, \fBsetpriority()\fR may fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt A process was located, but neither the real nor effective user ID of the executing process match the effective user ID of the process whose nice value is being changed. @@ -139,12 +133,10 @@ is being changed. .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt A request was made to change the nice value to a lower numeric value and the current process does not have appropriate privileges. .RE @@ -165,7 +157,7 @@ ID returned by the call to \fBgetpid\fR(2). int which = PRIO_PROCESS; id_t pid; int ret; - + pid = getpid(); ret = getpriority(which, pid); .fi @@ -186,7 +178,7 @@ int which = PRIO_PROCESS; id_t pid; int value = -20; int ret; - + pid = getpid(); ret = setpriority(which, pid, value); .fi @@ -208,15 +200,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpw.3c b/usr/src/man/man3c/getpw.3c index bcdabf6570..44dd9cc3fc 100644 --- a/usr/src/man/man3c/getpw.3c +++ b/usr/src/man/man3c/getpw.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 getpw 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH GETPW 3C "Dec 29, 1996" .SH NAME getpw \- get passwd entry from UID .SH SYNOPSIS @@ -44,13 +44,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getpwnam.3c b/usr/src/man/man3c/getpwnam.3c index 9e6d370e36..658e9ea32f 100644 --- a/usr/src/man/man3c/getpwnam.3c +++ b/usr/src/man/man3c/getpwnam.3c @@ -10,7 +10,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 getpwnam 3C "5 Apr 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETPWNAM 3C "Apr 5, 2004" .SH NAME getpwnam, getpwnam_r, getpwent, getpwent_r, getpwuid, getpwuid_r, setpwent, endpwent, fgetpwent, fgetpwent_r \- get password entry @@ -249,23 +249,19 @@ The \fBgetpwent_r()\fR, \fBfgetpwent()\fR, and \fBfgetpwent_r()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error has occurred. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Insufficient storage was supplied by \fIbuffer\fR and \fIbufsize\fR to contain the data to be referenced by the resulting \fBpasswd\fR structure. .RE @@ -275,24 +271,20 @@ the data to be referenced by the resulting \fBpasswd\fR structure. The \fBgetpwent_r()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE @@ -302,12 +294,10 @@ The \fBgetpwnam()\fR, \fBgetpwnam_r()\fR, \fBgetpwuid()\fR, \fBgetpwuid_r()\fR, \fBgetpwent()\fR, \fBsetpwent()\fR, and \fBendpwent()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt An I/O error has occurred. .RE @@ -317,24 +307,20 @@ The \fBgetpwnam()\fR, \fBgetpwnam_r()\fR, \fBgetpwuid()\fR, \fBgetpwuid_r()\fR, \fBgetpwent()\fR, and \fBsetpwent()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE @@ -344,12 +330,10 @@ The \fBgetpwnam()\fR, \fBgetpwnam_r()\fR, \fBgetpwuid()\fR, and \fBgetpwuid_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 9n -.rt A signal was caught during the execution of the function call. .RE @@ -358,12 +342,10 @@ A signal was caught during the execution of the function call. The \fBgetpwnam_r()\fR and \fBgetpwuid_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Insufficient storage was supplied by \fIbuffer\fR and \fIbufsize\fR to contain the data to be referenced by the resulting \fBpasswd\fR structure. .RE @@ -384,17 +366,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSee \fBReentrant Interfaces\fR in \fBDESCRIPTION\fR. +MT-Level See \fBReentrant Interfaces\fR in \fBDESCRIPTION\fR. _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/getrusage.3c b/usr/src/man/man3c/getrusage.3c index 78ee9b92b1..8a1615894e 100644 --- a/usr/src/man/man3c/getrusage.3c +++ b/usr/src/man/man3c/getrusage.3c @@ -1,11 +1,11 @@ '\" te .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved Portions Copyright .\" (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH getrusage 3C "2 Jul 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETRUSAGE 3C "Jul 2, 2004" .SH NAME getrusage \- get information about resource utilization .SH SYNOPSIS @@ -43,7 +43,7 @@ struct timeval ru_utime; /* user time used */ struct timeval ru_stime; /* system time used */ long ru_maxrss; /* maximum resident set size */ long ru_idrss; /* integral resident set size */ -long ru_minflt; /* page faults not requiring physical +long ru_minflt; /* page faults not requiring physical I/O */ long ru_majflt; /* page faults requiring physical I/O */ long ru_nswap; /* swaps */ @@ -62,36 +62,30 @@ long ru_nivcsw; /* involuntary context switches */ The structure members are interpreted as follows: .sp .ne 2 -.mk .na \fB\fBru_utime\fR\fR .ad .RS 15n -.rt The total amount of time spent executing in user mode. Time is given in seconds and microseconds. .RE .sp .ne 2 -.mk .na \fB\fBru_stime\fR\fR .ad .RS 15n -.rt The total amount of time spent executing in system mode. Time is given in seconds and microseconds. .RE .sp .ne 2 -.mk .na \fB\fBru_maxrss\fR\fR .ad .RS 15n -.rt The maximum resident set size. Size is given in pages (the size of a page, in bytes, is given by the \fBgetpagesize\fR(3C) function). See the \fBNOTES\fR section of this page. @@ -99,12 +93,10 @@ section of this page. .sp .ne 2 -.mk .na \fB\fBru_idrss\fR\fR .ad .RS 15n -.rt An "integral" value indicating the amount of memory in use by a process while the process is running. This value is the sum of the resident set sizes of the process running when a clock tick occurs. The value is given in pages times @@ -114,24 +106,20 @@ section of this page. .sp .ne 2 -.mk .na \fB\fBru_minflt\fR\fR .ad .RS 15n -.rt The number of page faults serviced which did not require any physical I/O activity. See the \fBNOTES\fR section of this page. .RE .sp .ne 2 -.mk .na \fB\fBru_majflt\fR\fR .ad .RS 15n -.rt The number of page faults serviced which required physical I/O activity. This could include page ahead operations by the kernel. See the \fBNOTES\fR section of this page. @@ -139,80 +127,66 @@ of this page. .sp .ne 2 -.mk .na \fB\fBru_nswap\fR\fR .ad .RS 15n -.rt The number of times a process was swapped out of main memory. .RE .sp .ne 2 -.mk .na \fB\fBru_inblock\fR\fR .ad .RS 15n -.rt The number of times the file system had to perform input in servicing a \fBread\fR(2) request. .RE .sp .ne 2 -.mk .na \fB\fBru_oublock\fR\fR .ad .RS 15n -.rt The number of times the file system had to perform output in servicing a \fBwrite\fR(2) request. .RE .sp .ne 2 -.mk .na \fB\fBru_msgsnd\fR\fR .ad .RS 15n -.rt The number of messages sent over sockets. .RE .sp .ne 2 -.mk .na \fB\fBru_msgrcv\fR\fR .ad .RS 15n -.rt The number of messages received from sockets. .RE .sp .ne 2 -.mk .na \fB\fBru_nsignals\fR\fR .ad .RS 15n -.rt The number of signals delivered. .RE .sp .ne 2 -.mk .na \fB\fBru_nvcsw\fR\fR .ad .RS 15n -.rt The number of times a context switch resulted due to a process voluntarily giving up the processor before its time slice was completed (usually to await availability of a resource). @@ -220,12 +194,10 @@ availability of a resource). .sp .ne 2 -.mk .na \fB\fBru_nivcsw\fR\fR .ad .RS 15n -.rt The number of times a context switch resulted due to a higher priority process becoming runnable or because the current process exceeded its time slice. .RE @@ -241,24 +213,20 @@ Upon successful completion, \fBgetrusage()\fR returns \fB0\fR. Otherwise, The \fBgetrusage()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The address specified by the \fIr_usage\fR argument is not in a valid portion of the process' address space. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fBwho\fR parameter is not a valid value. .RE @@ -270,13 +238,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/gets.3c b/usr/src/man/man3c/gets.3c index ae56bae369..08b290f586 100644 --- a/usr/src/man/man3c/gets.3c +++ b/usr/src/man/man3c/gets.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 gets 3C "15 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETS 3C "Oct 15, 2003" .SH NAME gets, fgets \- get a string from a stream .SH SYNOPSIS @@ -70,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getspnam.3c b/usr/src/man/man3c/getspnam.3c index 65e386ec6f..ecd72a5648 100644 --- a/usr/src/man/man3c/getspnam.3c +++ b/usr/src/man/man3c/getspnam.3c @@ -4,7 +4,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 getspnam 3C "23 Jan 2008" "SunOS 5.11" "Standard C Library Functions" +.TH GETSPNAM 3C "Jan 23, 2008" .SH NAME getspnam, getspnam_r, getspent, getspent_r, setspent, endspent, fgetspent, fgetspent_r \- get password entry @@ -195,13 +195,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelT{ +MT-Level T{ See "Reentrant Interfaces" in \fBDESCRIPTION\fR. T} .TE diff --git a/usr/src/man/man3c/getsubopt.3c b/usr/src/man/man3c/getsubopt.3c index a24178e3ff..2e7a3279c1 100644 --- a/usr/src/man/man3c/getsubopt.3c +++ b/usr/src/man/man3c/getsubopt.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1989 AT&T. .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getsubopt 3C "29 Sep 2005" "SunOS 5.11" "Standard C Library Functions" +.TH GETSUBOPT 3C "Sep 29, 2005" .SH NAME getsubopt \- parse suboption arguments from a string .SH SYNOPSIS @@ -191,7 +191,7 @@ while ((opt = getopt(argc, argv, "e:")) != -1) { switch(index) { \&... } - break; + break; \&... } } @@ -206,15 +206,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/gettext.3c b/usr/src/man/man3c/gettext.3c index 1bc1c56fa1..d213b9cbbb 100644 --- a/usr/src/man/man3c/gettext.3c +++ b/usr/src/man/man3c/gettext.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 gettext 3C "4 Jun 2008" "SunOS 5.11" "Standard C Library Functions" +.TH GETTEXT 3C "Jun 4, 2008" .SH NAME gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext, textdomain, bindtextdomain, bind_textdomain_codeset \- message handling functions @@ -33,7 +33,7 @@ bindtextdomain, bind_textdomain_codeset \- message handling functions .LP .nf -#include <libintl.h> +#include <libintl.h> #include <locale.h> \fBchar *\fR\fBdcgettext\fR(\fBconst char *\fR\fIdomainname\fR, \fBconst char *\fR\fImsgid\fR, @@ -69,7 +69,7 @@ extern int *_nl_domain_bindings; .LP .nf -#include <libintl.h> +#include <libintl.h> #include <locale.h> \fBchar *\fR\fBdcngettext\fR(\fBconst char *\fR\fIdomainname\fR, \fBconst char *\fR\fImsgid1\fR, @@ -263,7 +263,6 @@ GNU-compatible message catalogues. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale\fR\fR .ad @@ -274,7 +273,6 @@ default path predicate for message domain files .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fR\fIlocale\fR\fB/LC_MESSAGES/\fR\fIdomainname\fR\fB\&.m o\fR\fR @@ -287,7 +285,6 @@ system default location for file containing messages for language .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fR\fIlocale\fR\fB/LC_XXX/\fR\fIdomainname\fR\fB\&.mo\fR\ fR @@ -302,7 +299,6 @@ system default location for file containing messages for language .sp .ne 2 -.mk .na \fB\fB\fR\fIdirname\fR\fB/\fR\fIlocale\fR\fB/LC_MESSAGES/\fR\fIdomainname\fR\fB \&.mo\fR\fR @@ -315,7 +311,6 @@ predicate \fIdirname\fR after a successful call to \fBbindtextdomain()\fR .sp .ne 2 -.mk .na \fB\fB\fR\fIdirname\fR\fB/\fR\fIlocale\fR\fB/LC_XXX/\fR\fIdomainname\fR\fB\&.mo \fR\fR @@ -337,15 +332,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelSafe with exceptions +MT-Level Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/gettimeofday.3c b/usr/src/man/man3c/gettimeofday.3c index a45d5478db..d5e8f6b3f0 100644 --- a/usr/src/man/man3c/gettimeofday.3c +++ b/usr/src/man/man3c/gettimeofday.3c @@ -1,6 +1,6 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.TH gettimeofday 3C "1 Aug 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETTIMEOFDAY 3C "Aug 1, 2003" .SH NAME gettimeofday, settimeofday \- get or set the date and time .SH SYNOPSIS @@ -62,23 +62,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fBsettimeofday()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The structure pointed to by \fItp\fR specifies an invalid time. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_SYS_TIME\fR} privilege was not asserted in the effective set of the calling process. .RE @@ -88,12 +84,10 @@ the calling process. The \fBgettimeofday()\fR function will fail for 32-bit interfaces if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The system time has progressed beyond 2038, thus the size of the \fBtv_sec\fR member of the \fBtimeval\fR structure pointed to by \fItp\fR is insufficient to hold the current time in seconds. @@ -114,15 +108,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBgettimeofday()\fR is Standard. +Interface Stability \fBgettimeofday()\fR is Standard. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/gettxt.3c b/usr/src/man/man3c/gettxt.3c index 15b84b5c45..8d3980ae69 100644 --- a/usr/src/man/man3c/gettxt.3c +++ b/usr/src/man/man3c/gettxt.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 gettxt 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH GETTXT 3C "Dec 29, 1996" .SH NAME gettxt \- retrieve a text string .SH SYNOPSIS @@ -95,7 +95,6 @@ message number. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/C/LC_MESSAGES/*\fR\fR .ad @@ -106,7 +105,6 @@ contains default message files created by \fBmkmsgs\fR .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fIlocale\fR/LC_MESSAGES/*\fR\fR .ad @@ -123,13 +121,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe with exceptions +MT-Level Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getusershell.3c b/usr/src/man/man3c/getusershell.3c index 7b695cf81b..9ce726a26a 100644 --- a/usr/src/man/man3c/getusershell.3c +++ b/usr/src/man/man3c/getusershell.3c @@ -2,7 +2,7 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 1985 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures -.TH getusershell 3C "1 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH GETUSERSHELL 3C "Nov 1, 2007" .SH NAME getusershell, setusershell, endusershell \- get legal user shells .SH SYNOPSIS diff --git a/usr/src/man/man3c/getutent.3c b/usr/src/man/man3c/getutent.3c index 3f5ae8bb9e..7ca4d19939 100644 --- a/usr/src/man/man3c/getutent.3c +++ b/usr/src/man/man3c/getutent.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 getutent 3C "27 Oct 1998" "SunOS 5.11" "Standard C Library Functions" +.TH GETUTENT 3C "Oct 27, 1998" .SH NAME getutent, getutid, getutline, pututline, setutent, endutent, utmpname \- user accounting database functions @@ -169,13 +169,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getutxent.3c b/usr/src/man/man3c/getutxent.3c index 2024dc89b2..a38ac55bd6 100644 --- a/usr/src/man/man3c/getutxent.3c +++ b/usr/src/man/man3c/getutxent.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 getutxent 3C "27 Jul 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETUTXENT 3C "Jul 27, 2004" .SH NAME getutxent, getutxid, getutxline, pututxline, setutxent, endutxent, utmpxname, getutmp, getutmpx, updwtmp, updwtmpx \- user accounting database functions @@ -280,23 +280,19 @@ maintained consistently. .SH FILES .sp .ne 2 -.mk .na \fB\fB/var/adm/utmpx\fR\fR .ad .RS 18n -.rt user access and accounting information .RE .sp .ne 2 -.mk .na \fB\fB/var/adm/wtmpx\fR\fR .ad .RS 18n -.rt history of user access and accounting information .RE @@ -308,15 +304,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelUnsafe +MT-Level Unsafe .TE .sp diff --git a/usr/src/man/man3c/getvfsent.3c b/usr/src/man/man3c/getvfsent.3c index 5292a5f483..370b56e51c 100644 --- a/usr/src/man/man3c/getvfsent.3c +++ b/usr/src/man/man3c/getvfsent.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 getvfsent 3C "12 Mar 1997" "SunOS 5.11" "Standard C Library Functions" +.TH GETVFSENT 3C "Mar 12, 1997" .SH NAME getvfsent, getvfsfile, getvfsspec, getvfsany \- get vfstab file entry .SH SYNOPSIS @@ -87,34 +87,28 @@ returned. If an end-of-file is encountered on reading, these functions return The possible error values are: .sp .ne 2 -.mk .na \fB\fBVFS_TOOLONG\fR\fR .ad .RS 15n -.rt A line in the file exceeded the internal buffer size of \fBVFS_LINE_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBVFS_TOOMANY\fR\fR .ad .RS 15n -.rt A line in the file contains too many fields. .RE .sp .ne 2 -.mk .na \fB\fBVFS_TOOFEW\fR\fR .ad .RS 15n -.rt A line in the file contains too few fields. .RE @@ -130,13 +124,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getwc.3c b/usr/src/man/man3c/getwc.3c index 4bb039f0b7..132d00f099 100644 --- a/usr/src/man/man3c/getwc.3c +++ b/usr/src/man/man3c/getwc.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getwc 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH GETWC 3C "Jul 24, 2002" .SH NAME getwc \- get wide character from a stream .SH SYNOPSIS @@ -52,15 +52,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getwchar.3c b/usr/src/man/man3c/getwchar.3c index df6a17e91a..8aa26f269c 100644 --- a/usr/src/man/man3c/getwchar.3c +++ b/usr/src/man/man3c/getwchar.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getwchar 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH GETWCHAR 3C "Jul 24, 2002" .SH NAME getwchar \- get wide character from stdin stream .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBwint_t\fR \fBgetwchar\fR(void) .fi @@ -45,15 +45,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getwd.3c b/usr/src/man/man3c/getwd.3c index 8c23524c3b..13b6eb40e5 100644 --- a/usr/src/man/man3c/getwd.3c +++ b/usr/src/man/man3c/getwd.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 getwd 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH GETWD 3C "Jul 24, 2002" .SH NAME getwd \- get current working directory pathname .SH SYNOPSIS @@ -54,13 +54,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getwidth.3c b/usr/src/man/man3c/getwidth.3c index af306a240f..e4f3ecc081 100644 --- a/usr/src/man/man3c/getwidth.3c +++ b/usr/src/man/man3c/getwidth.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 getwidth 3C "20 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH GETWIDTH 3C "Dec 20, 1996" .SH NAME getwidth \- get codeset information .SH SYNOPSIS @@ -51,12 +51,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe with exceptions +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getws.3c b/usr/src/man/man3c/getws.3c index d1dd4ef2f3..5a812e9e1e 100644 --- a/usr/src/man/man3c/getws.3c +++ b/usr/src/man/man3c/getws.3c @@ -3,22 +3,22 @@ .\" 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 getws 3C "15 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GETWS 3C "Oct 15, 2003" .SH NAME getws, fgetws \- get a wide-character string from a stream .SH SYNOPSIS .LP .nf -#include <stdio.h> -include <widec.h> +#include <stdio.h> +include <widec.h> \fBwchar_t *\fR\fBgetws\fR(\fBwchar_t *\fR\fIws\fR); .fi .LP .nf -#include <stdio.h> -include <wchar.h> +#include <stdio.h> +include <wchar.h> \fBwchar_t *\fR\fBfgetws\fR(\fBwchar_t *restrict\fR \fIws\fR, \fBint\fR \fIn\fR, \fBFILE *restrict\fR \fIstream\fR); .fi @@ -76,15 +76,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBfgetws()\fR is Standard. +Interface Stability \fBfgetws()\fR is Standard. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/getzoneid.3c b/usr/src/man/man3c/getzoneid.3c index e87c53d36d..1395537a81 100644 --- a/usr/src/man/man3c/getzoneid.3c +++ b/usr/src/man/man3c/getzoneid.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 getzoneid 3C "1 Nov 2004" "SunOS 5.11" "Standard C Library Functions" +.TH GETZONEID 3C "Nov 1, 2004" .SH NAME getzoneid, getzoneidbyname, getzonenamebyid \- map between zone id and name .SH SYNOPSIS @@ -59,34 +59,28 @@ returns \(mi1 and sets \fBerrno\fR to indicate the error. The \fBgetzoneidbyname()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt The \fIname\fR argument is non-null and points to an illegal address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt A zone with the indicated \fIname\fR is not active. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIname\fR argument exceeds {\fBZONENAME_MAX\fR}. .RE @@ -95,23 +89,19 @@ The length of the \fIname\fR argument exceeds {\fBZONENAME_MAX\fR}. The \fBgetzonenamebyid()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt A zone with the specified ID is not active. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIbuf\fR argument points to an illegal address. .RE @@ -123,15 +113,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/glob.3c b/usr/src/man/man3c/glob.3c index 3c623b72d8..968593d341 100644 --- a/usr/src/man/man3c/glob.3c +++ b/usr/src/man/man3c/glob.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 glob 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH GLOB 3C "Nov 1, 2003" .SH NAME glob, globfree \- generate path names matching a pattern .SH SYNOPSIS @@ -91,23 +91,19 @@ value of \fIflags\fR is a bitwise inclusive \fBOR\fR of zero or more of the following constants, which are defined in the header <\fBglob.h\fR>: .sp .ne 2 -.mk .na \fB\fBGLOB_APPEND\fR\fR .ad .RS 17n -.rt Append path names generated to the ones from a previous call to \fBglob()\fR. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_DOOFFS\fR\fR .ad .RS 17n -.rt Make use of \fIpglob\(mi>\fR\fBgl_offs\fR\fI\&.\fR If this flag is set, \fIpglob\(mi>\fR\fBgl_offs\fR is used to specify how many \fINULL\fR pointers to add to the beginning of \fIpglob\(mi>\fR\fBgl_pathv\fR\fI\&.\fR In other @@ -119,59 +115,49 @@ pointer. .sp .ne 2 -.mk .na \fB\fBGLOB_ERR\fR\fR .ad .RS 17n -.rt Causes \fBglob()\fR to return when it encounters a directory that it cannot open or read. Ordinarily, \fBglob()\fR continues to find matches. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_MARK\fR\fR .ad .RS 17n -.rt Each path name that is a directory that matches \fIpattern\fR has a slash appended. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_NOCHECK\fR\fR .ad .RS 17n -.rt If \fIpattern\fR does not match any path name, then \fBglob()\fR returns a list consisting of only \fIpattern\fR, and the number of matched path names is 1. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_NOESCAPE\fR\fR .ad .RS 17n -.rt Disable backslash escaping. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_NOSORT\fR\fR .ad .RS 17n -.rt Ordinarily, \fBglob()\fR sorts the matching path names according to the current setting of the \fBLC_COLLATE\fR category. When this flag is used the order of path names returned is unspecified. @@ -256,36 +242,30 @@ those functions.) The following constants are defined as error return values for \fBglob()\fR: .sp .ne 2 -.mk .na \fB\fBGLOB_ABORTED\fR\fR .ad .RS 16n -.rt The scan was stopped because \fBGLOB_ERR\fR was set or \fB(\fR\fI*errfunc\fR\fB)\fR returned non-zero. .RE .sp .ne 2 -.mk .na \fB\fBGLOB_NOMATCH\fR\fR .ad .RS 16n -.rt The pattern does not match any existing path name, and \fBGLOB_NOCHECK\fR was not set in flags. .RE .sp .ne 2 -.mk .na \fB\fBGLOG_NOSPACE\fR\fR .ad .RS 16n -.rt An attempt to allocate memory failed. .RE @@ -303,12 +283,10 @@ and either \fIerrfunc\fR is a \fINULL\fR pointer or The following values are returned by \fBglob()\fR: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 12n -.rt Successful completion. The argument \fIpglob\(mi>\fR\fBgl_pathc\fR returns the number of matched path names and the argument \fIpglob\(mi>\fR\fBgl_pathv\fR contains a pointer to a null-terminated list of matched and sorted path names. @@ -318,12 +296,10 @@ However, if \fIpglob\(mi>\fR\fBgl_pathc\fR is 0, the content of .sp .ne 2 -.mk .na \fB\fBnon-zero\fR\fR .ad .RS 12n -.rt An error has occurred. Non-zero constants are defined in <\fBglob.h\fR>. The arguments \fIpglob\(mi>\fR\fBgl_pathc\fR and \fIpglob\(mi>\fR\fBgl_pathv\fR are still set as defined above. @@ -443,15 +419,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/grantpt.3c b/usr/src/man/man3c/grantpt.3c index 6b1568d7c6..51a7c3874f 100644 --- a/usr/src/man/man3c/grantpt.3c +++ b/usr/src/man/man3c/grantpt.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1994, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 grantpt 3C "14 Aug 2006" "SunOS 5.11" "Standard C Library Functions" +.TH GRANTPT 3C "Aug 14, 2006" .SH NAME grantpt \- grant access to the slave pseudo-terminal device .SH SYNOPSIS @@ -41,35 +41,29 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBgrantpt()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not associated with a master pseudo-terminal device. .RE .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The corresponding slave pseudo-terminal device could not be accessed. .RE @@ -81,15 +75,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/hsearch.3c b/usr/src/man/man3c/hsearch.3c index 070ec2ff95..c7209481dd 100644 --- a/usr/src/man/man3c/hsearch.3c +++ b/usr/src/man/man3c/hsearch.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 hsearch 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH HSEARCH 3C "Dec 29, 1996" .SH NAME hsearch, hcreate, hdestroy \- manage hash search tables .SH SYNOPSIS @@ -147,15 +147,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/iconv.3c b/usr/src/man/man3c/iconv.3c index 113a37615b..3e12dc4e9e 100644 --- a/usr/src/man/man3c/iconv.3c +++ b/usr/src/man/man3c/iconv.3c @@ -1,14 +1,14 @@ '\" te .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved . -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 iconv 3C "6 Oct 2004" "SunOS 5.11" "Standard C Library Functions" +.TH ICONV 3C "Oct 6, 2004" .SH NAME iconv \- code conversion function .SH SYNOPSIS @@ -98,35 +98,29 @@ the condition. If an error occurs \fBiconv()\fR returns \fB(size_t)\fR The \fBiconv()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Input conversion stopped due to an input byte that does not belong to the input code set. .RE .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt Input conversion stopped due to lack of space in the output buffer. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Input conversion stopped due to an incomplete character or shift sequence at the end of the input buffer. .RE @@ -136,12 +130,10 @@ the end of the input buffer. The \fBiconv()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The \fIcd\fR argument is not a valid open conversion descriptor. .RE @@ -165,7 +157,7 @@ The following example uses the \fBiconv()\fR functions: * For state-dependent encodings, changes the state of the * conversion descriptor to initial shift state. Also, outputs * the byte sequence to change the state to initial state. - * This code is assuming the iconv call for initializing the + * This code is assuming the iconv call for initializing the * state will not fail due to lack of space in the output buffer. */ #define INIT_SHIFT_STATE(cd, fptr, ileft, tptr, oleft) \e @@ -333,7 +325,6 @@ main(int argc, char **argv) .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/*.so\fR\fR .ad @@ -344,7 +335,6 @@ conversion modules for 32-bit .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/sparcv9/*.so\fR\fR .ad @@ -355,7 +345,6 @@ conversion modules for 64-bit sparc .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/amd64/*.so\fR\fR .ad @@ -366,7 +355,6 @@ conversion modules for 64-bit amd64 .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/geniconvtbl/binarytables/*.bt\fR\fR .ad @@ -383,15 +371,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/iconv_close.3c b/usr/src/man/man3c/iconv_close.3c index ef0c225f72..295a2329df 100644 --- a/usr/src/man/man3c/iconv_close.3c +++ b/usr/src/man/man3c/iconv_close.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 iconv_close 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ICONV_CLOSE 3C "Jul 24, 2002" .SH NAME iconv_close \- code conversion deallocation function .SH SYNOPSIS @@ -43,12 +43,10 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBiconv_close()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The conversion descriptor is invalid. .RE @@ -60,15 +58,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/iconv_open.3c b/usr/src/man/man3c/iconv_open.3c index d01fd1f3d3..98a223df95 100644 --- a/usr/src/man/man3c/iconv_open.3c +++ b/usr/src/man/man3c/iconv_open.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 iconv_open 3C "2 Oct 2001" "SunOS 5.11" "Standard C Library Functions" +.TH ICONV_OPEN 3C "Oct 2, 2001" .SH NAME iconv_open \- code conversion allocation function .SH SYNOPSIS @@ -56,45 +56,37 @@ returns \fB(iconv_t)\fR \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBiconv_open\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt \fB{OPEN_MAX}\fR files descriptors are currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt Too many files are currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The conversion specified by \fIfromcode\fR and \fItocode\fR is not supported by the implementation. .RE @@ -102,12 +94,10 @@ the implementation. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/iconv/alias\fR\fR .ad .RS 24n -.rt alias table file of the encoding name .RE @@ -119,15 +109,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/imaxabs.3c b/usr/src/man/man3c/imaxabs.3c index 336f7aa7be..41d2bf547a 100644 --- a/usr/src/man/man3c/imaxabs.3c +++ b/usr/src/man/man3c/imaxabs.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 imaxabs 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH IMAXABS 3C "Nov 1, 2003" .SH NAME imaxabs \- return absolute value .SH SYNOPSIS @@ -44,15 +44,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/imaxdiv.3c b/usr/src/man/man3c/imaxdiv.3c index 1c254e75ad..b863aae8b5 100644 --- a/usr/src/man/man3c/imaxdiv.3c +++ b/usr/src/man/man3c/imaxdiv.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 imaxdiv 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH IMAXDIV 3C "Nov 1, 2003" .SH NAME imaxdiv \- return quotient and remainder .SH SYNOPSIS @@ -43,15 +43,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/index.3c b/usr/src/man/man3c/index.3c index 0dd61808a4..d1d29c78b2 100644 --- a/usr/src/man/man3c/index.3c +++ b/usr/src/man/man3c/index.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 index 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH INDEX 3C "Jul 24, 2002" .SH NAME index, rindex \- string operations .SH SYNOPSIS @@ -62,13 +62,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/initgroups.3c b/usr/src/man/man3c/initgroups.3c index 376970a0fe..f17f65c7b8 100644 --- a/usr/src/man/man3c/initgroups.3c +++ b/usr/src/man/man3c/initgroups.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 initgroups 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH INITGROUPS 3C "Mar 22, 2004" .SH NAME initgroups \- initialize the supplementary group access list .SH SYNOPSIS @@ -41,12 +41,10 @@ The \fBinitgroups()\fR function will fail and not change the supplementary group access list if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The {\fBPRIV_PROC_SETID\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -59,13 +57,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/insque.3c b/usr/src/man/man3c/insque.3c index 6026373c49..753e419fc5 100644 --- a/usr/src/man/man3c/insque.3c +++ b/usr/src/man/man3c/insque.3c @@ -1,6 +1,6 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. Copyright 1989 AT&T Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. -.TH insque 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH INSQUE 3C "Jul 24, 2002" .SH NAME insque, remque \- insert/remove element from a queue .SH SYNOPSIS @@ -45,15 +45,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/is_system_labeled.3c b/usr/src/man/man3c/is_system_labeled.3c index c5fa85834d..3e47b52708 100644 --- a/usr/src/man/man3c/is_system_labeled.3c +++ b/usr/src/man/man3c/is_system_labeled.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 is_system_labeled 3C "24 Mar 2006" "SunOS 5.11" "Standard C Library Functions" +.TH IS_SYSTEM_LABELED 3C "Mar 24, 2006" .SH NAME is_system_labeled \- determine whether Trusted Extensions software is active .SH SYNOPSIS @@ -31,15 +31,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/isaexec.3c b/usr/src/man/man3c/isaexec.3c index 9b50d47502..0bc091f390 100644 --- a/usr/src/man/man3c/isaexec.3c +++ b/usr/src/man/man3c/isaexec.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 isaexec 3C "20 Mar 1998" "SunOS 5.11" "Standard C Library Functions" +.TH ISAEXEC 3C "Mar 20, 1998" .SH NAME isaexec \- invoke isa-specific executable .SH SYNOPSIS @@ -88,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe _ -Interface StabilityStable +Interface Stability Stable .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/isastream.3c b/usr/src/man/man3c/isastream.3c index 6793113ec4..dbb864e1ef 100644 --- a/usr/src/man/man3c/isastream.3c +++ b/usr/src/man/man3c/isastream.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 isastream 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ISASTREAM 3C "Jul 24, 2002" .SH NAME isastream \- test a file descriptor .SH SYNOPSIS @@ -31,12 +31,10 @@ is return and \fBerrno\fR is set to indicate the error. The \fBisastream()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE @@ -48,15 +46,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/isatty.3c b/usr/src/man/man3c/isatty.3c index 75af3abc7e..fd502f47c7 100644 --- a/usr/src/man/man3c/isatty.3c +++ b/usr/src/man/man3c/isatty.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 isatty 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ISATTY 3C "Jul 24, 2002" .SH NAME isatty \- test for a terminal device .SH SYNOPSIS @@ -35,23 +35,19 @@ the error. The \fBisatty()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not associated with a terminal. .RE @@ -69,15 +65,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/isnand.3c b/usr/src/man/man3c/isnand.3c index 2d5730e2f6..a351b5377a 100644 --- a/usr/src/man/man3c/isnand.3c +++ b/usr/src/man/man3c/isnand.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 isnand 3C "15 Jun 2004" "SunOS 5.11" "Standard C Library Functions" +.TH ISNAND 3C "Jun 15, 2004" .SH NAME isnand, isnanf, finite, fpclass, unordered \- determine type of floating-point number @@ -47,111 +47,91 @@ The \fBfpclass()\fR function returns one of the following classes to which \fIdsrc\fR belongs: .sp .ne 2 -.mk .na \fB\fBFP_SNAN\fR\fR .ad .RS 14n -.rt signaling NaN .RE .sp .ne 2 -.mk .na \fB\fBFP_QNAN\fR\fR .ad .RS 14n -.rt quiet NaN .RE .sp .ne 2 -.mk .na \fB\fBFP_NINF\fR\fR .ad .RS 14n -.rt negative infinity .RE .sp .ne 2 -.mk .na \fB\fBFP_PINF\fR\fR .ad .RS 14n -.rt positive infinity .RE .sp .ne 2 -.mk .na \fB\fBFP_NDENORM\fR\fR .ad .RS 14n -.rt negative denormalized non-zero .RE .sp .ne 2 -.mk .na \fB\fBFP_PDENORM\fR\fR .ad .RS 14n -.rt positive denormalized non-zero .RE .sp .ne 2 -.mk .na \fB\fBFP_NZERO\fR\fR .ad .RS 14n -.rt negative zero .RE .sp .ne 2 -.mk .na \fB\fBFP_PZERO\fR\fR .ad .RS 14n -.rt positive zero .RE .sp .ne 2 -.mk .na \fB\fBFP_NNORM\fR\fR .ad .RS 14n -.rt negative normalized non-zero .RE .sp .ne 2 -.mk .na \fB\fBFP_PNORM\fR\fR .ad .RS 14n -.rt positive normalized non-zero .RE @@ -181,13 +161,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/iswalpha.3c b/usr/src/man/man3c/iswalpha.3c index 3765daf2e3..e109525594 100644 --- a/usr/src/man/man3c/iswalpha.3c +++ b/usr/src/man/man3c/iswalpha.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 iswalpha 3C "19 Apr 2004" "SunOS 5.11" "Standard C Library Functions" +.TH ISWALPHA 3C "Apr 19, 2004" .SH NAME iswalpha, isenglish, isideogram, isnumber, isphonogram, isspecial, iswalnum, iswascii, iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, @@ -120,108 +120,90 @@ must equal the value of the macro \fBWEOF\fR. If the argument has any other values, the behavior is undefined. .sp .ne 2 -.mk .na \fB\fBiswalpha(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "alpha" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBisenglish(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing an English language character, excluding \fBASCII\fR characters. .RE .sp .ne 2 -.mk .na \fB\fBisideogram(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing an ideographic language character, excluding \fBASCII\fR characters. .RE .sp .ne 2 -.mk .na \fB\fBisnumber(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing digit [0\(mi9], excluding \fBASCII\fR characters. .RE .sp .ne 2 -.mk .na \fB\fBisphonogram(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a phonetic language character, excluding \fBASCII\fR characters. .RE .sp .ne 2 -.mk .na \fB\fBisspecial(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a special language character, excluding \fBASCII\fR characters. .RE .sp .ne 2 -.mk .na \fB\fBiswalnum(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "alpha" or "digit" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswascii(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing an \fBASCII\fR character. .RE .sp .ne 2 -.mk .na \fB\fBiswblank(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "blank" in the program's current locale. This function is not available to applications conforming to standards prior to SUSv3. See \fBstandards\fR(5). @@ -229,108 +211,90 @@ to applications conforming to standards prior to SUSv3. See \fBstandards\fR(5). .sp .ne 2 -.mk .na \fB\fBiswlower(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "lower" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswcntrl(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "cntrl" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswdigit(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "digit" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswgraph(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "graph" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswprint(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "print" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswpunct(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "punct" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswspace(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "space" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswupper(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "upper" in the program's current locale. .RE .sp .ne 2 -.mk .na \fB\fBiswxdigit(\fR\fIwc\fR\fB)\fR\fR .ad .RS 19n -.rt Tests whether \fIwc\fR is a wide-character code representing a character of class "xdigit" in the program's current locale. .RE @@ -343,17 +307,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/iswctype.3c b/usr/src/man/man3c/iswctype.3c index 9796ecd43a..a925f4b07b 100644 --- a/usr/src/man/man3c/iswctype.3c +++ b/usr/src/man/man3c/iswctype.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 iswctype 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH ISWCTYPE 3C "Jul 24, 2002" .SH NAME iswctype \- test character for specified class .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBint\fR \fBiswctype\fR(\fBwint_t\fR \fIwc\fR, \fBwctype_t\fR \fIcharclass\fR); .fi @@ -43,17 +43,15 @@ There are twelve strings that are reserved for the standard character classes: .sp .TS -tab(); -lw(1.83i) |lw(1.83i) |lw(1.83i) -lw(1.83i) |lw(1.83i) |lw(1.83i) -. -"alnum""alpha""blank" +l | l | l +l | l | l . +"alnum" "alpha" "blank" _ -"cntrl""digit""graph" +"cntrl" "digit" "graph" _ -"lower""print""punct" +"lower" "print" "punct" _ -"space""upper""xdigit" +"space" "upper" "xdigit" .TE .sp @@ -64,21 +62,19 @@ functions in the right column. .sp .TS -tab(); -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBiswalnum(\fR\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"alnum"\fB))\fR -iswalpha(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"alpha"\fB))\fR -iswcntrl(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"cntrl"\fB))\fR -iswdigit(\fI wc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"digit"\fB))\fR -iswgraph(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"graph"\fB))\fR -iswlower(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"lower"\fB))\fR -iswprint(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"print"\fB))\fR -iswpunct(\fIwc\fR\fB)\fRiswctype(\fI wc,\fR\fB wctype(\fR"punct"\fB))\fR -iswspace(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"space"\fB))\fR -iswupper(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"upper"\fB))\fR -iswxdigit(\fIwc\fR\fB)\fRiswctype(\fIwc,\fR\fB wctype(\fR"xdigit"\fB))\fR +l l +l l . +\fBiswalnum(\fR\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"alnum"\fB))\fR +iswalpha(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"alpha"\fB))\fR +iswcntrl(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"cntrl"\fB))\fR +iswdigit(\fI wc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"digit"\fB))\fR +iswgraph(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"graph"\fB))\fR +iswlower(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"lower"\fB))\fR +iswprint(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"print"\fB))\fR +iswpunct(\fIwc\fR\fB)\fR iswctype(\fI wc,\fR\fB wctype(\fR"punct"\fB))\fR +iswspace(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"space"\fB))\fR +iswupper(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"upper"\fB))\fR +iswxdigit(\fIwc\fR\fB)\fR iswctype(\fIwc,\fR\fB wctype(\fR"xdigit"\fB))\fR .TE .sp @@ -98,17 +94,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/killpg.3c b/usr/src/man/man3c/killpg.3c index 24d4422d04..c43faf5019 100644 --- a/usr/src/man/man3c/killpg.3c +++ b/usr/src/man/man3c/killpg.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 killpg 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH KILLPG 3C "Jul 24, 2002" .SH NAME killpg \- send signal to a process group .SH SYNOPSIS @@ -37,23 +37,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fBkillpg()\fR function will fail and no signal will be sent if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsig\fR argument is not a valid signal number. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The effective user \fBID\fR of the sending process is not privileged user, and neither its real nor effective user \fBID\fR matches the real or saved set-user \fBID\fR of one or more of the target processes. @@ -61,12 +57,10 @@ neither its real nor effective user \fBID\fR matches the real or saved set-user .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No processes were found in the specified process group. .RE @@ -78,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/lckpwdf.3c b/usr/src/man/man3c/lckpwdf.3c index 2835433de1..49ebb3334e 100644 --- a/usr/src/man/man3c/lckpwdf.3c +++ b/usr/src/man/man3c/lckpwdf.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 lckpwdf 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH LCKPWDF 3C "Dec 29, 1996" .SH NAME lckpwdf, ulckpwdf \- manipulate shadow password database lock file .SH SYNOPSIS @@ -49,34 +49,28 @@ These routines are for internal use only; compatibility is not guaranteed. .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/passwd\fR\fR .ad .RS 18n -.rt password database .RE .sp .ne 2 -.mk .na \fB\fB/etc/shadow\fR\fR .ad .RS 18n -.rt shadow password database .RE .sp .ne 2 -.mk .na \fB\fB/etc/.pwd.lock\fR\fR .ad .RS 18n -.rt lock file .RE @@ -88,13 +82,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/lfmt.3c b/usr/src/man/man3c/lfmt.3c index 9048500c3e..3699c6b6b4 100644 --- a/usr/src/man/man3c/lfmt.3c +++ b/usr/src/man/man3c/lfmt.3c @@ -4,7 +4,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 lfmt 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH LFMT 3C "Dec 29, 1996" .SH NAME lfmt \- display error message in standard format and pass to logging and monitoring services @@ -90,7 +90,6 @@ The \fIflags\fR argument is composed of several groups, and can take the following values (one from each group): .sp .ne 2 -.mk .na \fB\fIOutput format control\fR\fR .ad @@ -98,12 +97,10 @@ following values (one from each group): .RS 4n .sp .ne 2 -.mk .na \fB\fBMM_NOSTD\fR\fR .ad .RS 12n -.rt Do not use the standard message format but interpret \fBformat\fR as a \fBprintf()\fR \fBformat\fR. Only \fIcatalog access control flags\fR, \fIconsole display control\fR and \fIlogging information\fR should be specified @@ -112,12 +109,10 @@ if \fBMM_NOSTD\fR is used; all other flags will be ignored. .sp .ne 2 -.mk .na \fB\fBMM_STD\fR\fR .ad .RS 12n -.rt Output using the standard message format (default value is 0). .RE @@ -125,7 +120,6 @@ Output using the standard message format (default value is 0). .sp .ne 2 -.mk .na \fB\fICatalog access control\fR\fR .ad @@ -133,24 +127,20 @@ Output using the standard message format (default value is 0). .RS 4n .sp .ne 2 -.mk .na \fB\fBMM_NOGET\fR\fR .ad .RS 12n -.rt Do not retrieve a localized version of \fBformat\fR. In this case, only the \fI<defmsg>\fR field of \fBformat\fR is specified. .RE .sp .ne 2 -.mk .na \fB\fBMM_GET\fR\fR .ad .RS 12n -.rt Retrieve a localized version of \fBformat\fR from \fI<catalog>\fR, using \fI<msgid>\fR as the index and \fI<defmsg>\fR as the default message (default value is 0). @@ -160,7 +150,6 @@ value is 0). .sp .ne 2 -.mk .na \fB\fISeverity (standard message format only)\fR\fR .ad @@ -168,45 +157,37 @@ value is 0). .RS 4n .sp .ne 2 -.mk .na \fB\fBMM_HALT\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBHALT,\fR but donot halt the machine. .RE .sp .ne 2 -.mk .na \fB\fBMM_ERROR\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBERROR\fR (default value is 0). .RE .sp .ne 2 -.mk .na \fB\fBMM_WARNING\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBWARNING\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_INFO\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBINFO\fR. .RE @@ -226,7 +207,6 @@ display of either a severity string (if defined) or the string .sp .ne 2 -.mk .na \fB\fIAction\fR\fR .ad @@ -234,12 +214,10 @@ display of either a severity string (if defined) or the string .RS 4n .sp .ne 2 -.mk .na \fB\fBMM_ACTION\fR\fR .ad .RS 13n -.rt Specify an action message. Any severity value is superseded and replaced by a localized version of \fBTO FIX\fR. .RE @@ -248,7 +226,6 @@ localized version of \fBTO FIX\fR. .sp .ne 2 -.mk .na \fB\fIConsole display control\fR\fR .ad @@ -256,23 +233,19 @@ localized version of \fBTO FIX\fR. .RS 4n .sp .ne 2 -.mk .na \fB\fBMM_CONSOLE\fR\fR .ad .RS 16n -.rt Display the message to the console in addition to the specified \fIstream\fR. .RE .sp .ne 2 -.mk .na \fB\fBMM_NOCONSOLE\fR\fR .ad .RS 16n -.rt Do not display the message to the console in addition to the specified \fIstream\fR (default value is 0). .RE @@ -281,7 +254,6 @@ Do not display the message to the console in addition to the specified .sp .ne 2 -.mk .na \fB\fILogging information\fR\fR .ad @@ -289,7 +261,6 @@ Do not display the message to the console in addition to the specified .RS 4n .sp .ne 2 -.mk .na \fB\fIMajor classification\fR\fR .ad @@ -301,7 +272,6 @@ Identify the source of the condition. Identifiers are: \fBMM_HARD\fR .sp .ne 2 -.mk .na \fB\fIMessage source subclassification\fR\fR .ad @@ -355,23 +325,19 @@ Upon successful completion, \fBlfmt()\fR returns the number of bytes transmitted. Otherwise, it returns a negative value: .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt Write the error to \fIstream\fR. .RE .sp .ne 2 -.mk .na \fB\fB\(mi2\fR\fR .ad .RS 9n -.rt Cannot log and/or display at console. .RE @@ -434,13 +400,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/lio_listio.3c b/usr/src/man/man3c/lio_listio.3c index a9ba424a25..03b15c87c6 100644 --- a/usr/src/man/man3c/lio_listio.3c +++ b/usr/src/man/man3c/lio_listio.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 lio_listio 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH LIO_LISTIO 3C "Feb 5, 2008" .SH NAME lio_listio \- list directed I/O .SH SYNOPSIS @@ -123,12 +123,10 @@ a result of an \fBaio_read\fR(3C) or \fBaio_write\fR(3C) function. The \fBlio_listio()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The resources necessary to queue all the I/O requests were not available. The error status for each request is recorded in the \fBaio_error\fR member of the corresponding \fBaiocb\fR structure, and can be retrieved using @@ -137,36 +135,30 @@ corresponding \fBaiocb\fR structure, and can be retrieved using .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The number of entries indicated by \fInent\fR would cause the system-wide limit \fBAIO_MAX\fR to be exceeded. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fImode\fR argument is an improper value, or the value of \fInent\fR is greater than \fBAIO_LISTIO_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was delivered while waiting for all I/O requests to complete during an \fBLIO_WAIT\fR operation. Note that, since each I/O operation invoked by \fBlio_listio()\fR may possibly provoke a signal when it completes, this error @@ -179,12 +171,10 @@ initiated; \fBaio_return\fR(3C) to determine if any request has completed; or .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt One or more of the individual I/O operations failed. The application can use \fBaio_error\fR(3C) to check the error status for each \fBaiocb\fR structure to determine the individual request(s) that failed. @@ -205,35 +195,29 @@ same as would be set by a \fBread\fR(2) or \fBwrite\fR(2) function, with the following additional error codes possible: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 15n -.rt The requested I/O operation was not queued due to resource limitations. .RE .sp .ne 2 -.mk .na \fB\fBECANCELED\fR\fR .ad .RS 15n -.rt The requested I/O was canceled before the I/O completed due to an explicit \fBaio_cancel\fR(3C) request. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 15n -.rt The \fIaiocbp\fR\(->\fBaio_lio_opcode\fR is \fBLIO_WRITE\fR, the file is a regular file, \fIaiocbp\fR\(->\fBaio_nbytes\fR is greater than 0, and the \fIaiocbp\fR\(->\fBaio_offset\fR is greater than or equal to the offset maximum @@ -242,23 +226,19 @@ in the open file description associated with \fIaiocbp\fR\(->\fBaio_fildes.\fR .sp .ne 2 -.mk .na \fB\fBEINPROGRESS\fR\fR .ad .RS 15n -.rt The requested I/O is in progress. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 15n -.rt The \fIaiocbp\fR\(->\fBaio_lio_opcode\fR is \fBLIO_READ\fR, the file is a regular file, \fIaiocbp\fR\(->\fBaio_nbytes\fR is greater than 0, and the \fIaiocbp\fR\(->\fBaio_offset\fR is before the end-of-file and is greater than @@ -279,17 +259,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/localeconv.3c b/usr/src/man/man3c/localeconv.3c index 1a0d5074f2..5879be5dc3 100644 --- a/usr/src/man/man3c/localeconv.3c +++ b/usr/src/man/man3c/localeconv.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 localeconv 3C "12 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH LOCALECONV 3C "Dec 12, 2003" .SH NAME localeconv \- get numeric formatting information .SH SYNOPSIS @@ -79,47 +79,39 @@ members with type \fBchar\fR are non-negative numbers, any of which can be value is not available in the current locale. The members are the following: .sp .ne 2 -.mk .na \fB\fBchar *decimal_point\fR\fR .ad .RS 27n -.rt The decimal-point character used to format non-monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *thousands_sep\fR\fR .ad .RS 27n -.rt The character used to separate groups of digits to the left of the decimal-point character in formatted non-monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *grouping\fR\fR .ad .RS 27n -.rt A string whose elements taken as one-byte integer values indicate the size of each group of digits in formatted non-monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *int_curr_symbol\fR\fR .ad .RS 27n -.rt The international currency symbol applicable to the current locale. The first three characters contain the alphabetic international currency symbol in accordance with those specified in the ISO 4217: 1995 standard. The fourth @@ -129,116 +121,96 @@ separate the international currency symbol from the monetary quantity. .sp .ne 2 -.mk .na \fB\fBchar *currency_symbol\fR\fR .ad .RS 27n -.rt The local currency symbol applicable to the current locale. .RE .sp .ne 2 -.mk .na \fB\fBchar *mon_decimal_point\fR\fR .ad .RS 27n -.rt The decimal point used to format monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *mon_thousands_sep\fR\fR .ad .RS 27n -.rt The separator for groups of digits to the left of the decimal point in formatted monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *mon_grouping\fR\fR .ad .RS 27n -.rt A string whose elements taken as one-byte integer values indicate the size of each group of digits in formatted monetary quantities. .RE .sp .ne 2 -.mk .na \fB\fBchar *positive_sign\fR\fR .ad .RS 27n -.rt The string used to indicate a non-negative-valued formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar *negative_sign\fR\fR .ad .RS 27n -.rt The string used to indicate a negative-valued formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar int_frac_digits\fR\fR .ad .RS 27n -.rt The number of fractional digits (those to the right of the decimal point) to be displayed in an internationally formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar frac_digits\fR\fR .ad .RS 27n -.rt The number of fractional digits (those to the right of the decimal point) to be displayed in a formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar p_cs_precedes\fR\fR .ad .RS 27n -.rt Set to 1 or 0 if the \fBcurrency_symbol\fR respectively precedes or succeeds the value for a non-negative formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar p_sep_by_space\fR\fR .ad .RS 27n -.rt Set to 0 if no space separates the \fBcurrency_symbol\fR or \fBint_curr_symbol\fR from the value for a non-negative formatted monetary quantity. Set to 1 if a space separates the symbol from the value; and set to 2 @@ -247,24 +219,20 @@ if a space separates the symbol and the sign string, if adjacent. .sp .ne 2 -.mk .na \fB\fBchar n_cs_precedes\fR\fR .ad .RS 27n -.rt Set to 1 or 0 if the \fBcurrency_symbol\fR respectively precedes or succeeds the value for a negative formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar n_sep_by_space\fR\fR .ad .RS 27n -.rt Set to 0 if no space separates the \fBcurrency_symbol\fR or \fBint_curr_symbol\fR from the value for a negative formatted monetary quantity. Set to 1 if a space separates the symbol from the value; and set to 2 @@ -273,60 +241,50 @@ if a space separates the symbol and the sign string, if adjacent. .sp .ne 2 -.mk .na \fB\fBchar p_sign_posn\fR\fR .ad .RS 27n -.rt Set to a value indicating the positioning of the \fBpositive_sign\fR for a non-negative formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar n_sign_posn\fR\fR .ad .RS 27n -.rt Set to a value indicating the positioning of the \fBnegative_sign\fR for a negative formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar int_p_cs_precedes\fR\fR .ad .RS 27n -.rt Set to 1 or 0 if the \fBint_curr_symbol\fR respectively precedes or succeeds the value for a non-negative internationally formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar int_n_cs_precedes\fR\fR .ad .RS 27n -.rt Set to 1 or 0 if the \fBint_curr_symbol\fR respectively precedes or succeeds the value for a negative internationally formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar int_p_sep_by_space\fR\fR .ad .RS 27n -.rt Set to a value indicating the separation of the \fBint_curr_symbol\fR, the sign string, and the value for a non-negative internationally formatted monetary quantity. @@ -334,12 +292,10 @@ quantity. .sp .ne 2 -.mk .na \fB\fBchar int_n_sep_by_space\fR\fR .ad .RS 27n -.rt Set to a value indicating the separation of the \fBint_curr_symbol\fR, the sign string, and the value for a negative internationally formatted monetary quantity. @@ -347,24 +303,20 @@ quantity. .sp .ne 2 -.mk .na \fB\fBchar int_p_sign_posn\fR\fR .ad .RS 27n -.rt Set to a value indicating the positioning of the \fBpositive_sign\fR for a non-negative internationally formatted monetary quantity. .RE .sp .ne 2 -.mk .na \fB\fBchar int_n_sign_posn\fR\fR .ad .RS 27n -.rt Set to a value indicating the positioning of the \fBnegative_sign\fR for a negative internationally formatted monetary quantity. .RE @@ -375,34 +327,28 @@ The elements of \fBgrouping\fR and \fBmon_grouping\fR are interpreted according to the following: .sp .ne 2 -.mk .na \fB{\fBCHAR_MAX\fR}\fR .ad .RS 14n -.rt No further grouping is to be performed. .RE .sp .ne 2 -.mk .na \fB0\fR .ad .RS 14n -.rt The previous element is to be repeatedly used for the remainder of the digits. .RE .sp .ne 2 -.mk .na \fB\fIother\fR\fR .ad .RS 14n -.rt The integer value is the number of digits that comprise the current group. The next element is examined to determine the size of the next group of digits before the current group. @@ -415,23 +361,19 @@ The values of \fBp_sep_by_space\fR, \fBn_sep_by_space\fR, according to the following: .sp .ne 2 -.mk .na \fB0\fR .ad .RS 5n -.rt No space separates the currency symbol and value. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 5n -.rt If the currency symbol and sign string are adjacent, a space separates them from the value; otherwise, a space separates the currency symbol from the value. @@ -439,12 +381,10 @@ value. .sp .ne 2 -.mk .na \fB2\fR .ad .RS 5n -.rt If the currency symbol and sign string are adjacent, a space separates them; otherwise, a space separates the sign string from the value. .RE @@ -460,60 +400,50 @@ The values of \fBp_sign_posn\fR, \fBn_sign_posn\fR, \fBint_p_sign_posn\fR, and \fBint_n_sign_posn\fR are interpreted according to the following: .sp .ne 2 -.mk .na \fB0\fR .ad .RS 5n -.rt Parentheses surround the quantity and \fBcurrency_symbol\fR or \fBint_curr_symbol\fR. .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 5n -.rt The sign string precedes the quantity and \fBcurrency_symbol\fR or \fBint_curr_symbol\fR. .RE .sp .ne 2 -.mk .na \fB2\fR .ad .RS 5n -.rt The sign string succeeds the quantity and \fBcurrency_symbol\fR or \fBint_curr_symbol\fR. .RE .sp .ne 2 -.mk .na \fB3\fR .ad .RS 5n -.rt The sign string immediately precedes the \fBcurrency_symbol\fR or \fBint_curr_symbol\fR. .RE .sp .ne 2 -.mk .na \fB4\fR .ad .RS 5n -.rt The sign string immediately succeeds the \fBcurrency_symbol\fR or \fBint_curr_symbol\fR. .RE @@ -536,19 +466,17 @@ monetary quantities. .sp .TS -tab(); -lw(1.38i) |lw(1.38i) |lw(1.38i) |lw(1.38i) -lw(1.38i) |lw(1.38i) |lw(1.38i) |lw(1.38i) -. -\fBCountry\fR\fBPositive\fR\fBNegative\fR\fBInternational\fR +l | l | l | l +l | l | l | l . +\fBCountry\fR \fBPositive\fR \fBNegative\fR \fBInternational\fR _ -Italy (IT)L.1.234\(miL.1.234ITL.1.234 +Italy (IT) L.1.234 \(miL.1.234 ITL.1.234 _ -Netherlands (NE)F 1.234,56F \(mi1.234,56NLG 1.234,56 +Netherlands (NE) F 1.234,56 F \(mi1.234,56 NLG 1.234,56 _ -Norway (NO)kr1.234,56kr1.234,56\(miNOK 1.234,56 +Norway (NO) kr1.234,56 kr1.234,56\(mi NOK 1.234,56 _ -Switzerland (SW)SFrs.1,234.56SFrs.1,234.56CCHF 1,234.56 +Switzerland (SW) SFrs.1,234.56 SFrs.1,234.56C CHF 1,234.56 .TE .sp @@ -560,32 +488,30 @@ structure returned by \fBlocaleconv()\fR are as follows: .sp .TS -tab(); -lw(5.5i) lw(0i) lw(0i) lw(0i) lw(0i) -lw(5.5i) lw(0i) lw(0i) lw(0i) lw(0i) -. -\fBIT\fR\fBNE\fR\fBNO\fR\fBSW\fR -\fBint_curr_symbol\fR"ITL.""NLG ""NOK ""CHF " -\fBcurrency_symbol\fR"L.""F""kr""SFrs." -\fBmon_decimal_point\fR""","",""." -\fBmon_thousands_sep\fR".""."".""," -\fBmon_grouping\fR"\e3""\e3""\e3""\e3" -\fBpositive_sign\fR"""""""" -\fBnegative_sign\fR"-""-""-""C" -\fBint_frac_digits\fR0222 -\fBfrac_digits\fR0222 -\fBp_cs_precedes\fR1111 -\fBp_sep_by_space\fR0100 -\fBn_cs_precedes\fR1111 -\fBn_sep_by_space\fR0100 -\fBp_sign_posn\fR1111 -\fBn_sign_posn\fR1422 -\fBint_p_cs_precedes\fR1111 -\fBint_n_cs_precedes\fR1111 -\fBint_p_sep_by_space\fR0000 -\fBint_n_sep_by_space\fR0000 -\fBint_p_sign_posn\fR1111 -\fBint_n_sign_posn\fR1442 +l l l l l +l l l l l . + \fBIT\fR \fBNE\fR \fBNO\fR \fBSW\fR +\fBint_curr_symbol\fR "ITL." "NLG " "NOK " "CHF " +\fBcurrency_symbol\fR "L." "F" "kr" "SFrs." +\fBmon_decimal_point\fR "" "," "," "." +\fBmon_thousands_sep\fR "." "." "." "," +\fBmon_grouping\fR "\e3" "\e3" "\e3" "\e3" +\fBpositive_sign\fR "" "" "" "" +\fBnegative_sign\fR "-" "-" "-" "C" +\fBint_frac_digits\fR 0 2 2 2 +\fBfrac_digits\fR 0 2 2 2 +\fBp_cs_precedes\fR 1 1 1 1 +\fBp_sep_by_space\fR 0 1 0 0 +\fBn_cs_precedes\fR 1 1 1 1 +\fBn_sep_by_space\fR 0 1 0 0 +\fBp_sign_posn\fR 1 1 1 1 +\fBn_sign_posn\fR 1 4 2 2 +\fBint_p_cs_precedes\fR 1 1 1 1 +\fBint_n_cs_precedes\fR 1 1 1 1 +\fBint_p_sep_by_space\fR 0 0 0 0 +\fBint_n_sep_by_space\fR 0 0 0 0 +\fBint_p_sign_posn\fR 1 1 1 1 +\fBint_n_sign_posn\fR 1 4 4 2 .TE .SH ATTRIBUTES @@ -596,17 +522,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/lockf.3c b/usr/src/man/man3c/lockf.3c index 94c5460407..6efa2fa3f1 100644 --- a/usr/src/man/man3c/lockf.3c +++ b/usr/src/man/man3c/lockf.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 lockf 3C "10 Apr 2002" "SunOS 5.11" "Standard C Library Functions" +.TH LOCKF 3C "Apr 10, 2002" .SH NAME lockf \- record locking on files .SH SYNOPSIS @@ -129,12 +129,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBlockf()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 20n -.rt The \fIfildes\fR argument is not a valid open file descriptor; or \fBfunction\fR is \fBF_LOCK\fR or \fBF_TLOCK\fR and \fIfildes\fR is not a valid file descriptor open for writing. @@ -142,58 +140,48 @@ file descriptor open for writing. .sp .ne 2 -.mk .na \fB\fBEACCES\fR or \fBEAGAIN\fR\fR .ad .RS 20n -.rt The \fBfunction\fR argument is \fBF_TLOCK\fR or \fBF_TEST\fR and the section is already locked by another process. .RE .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 20n -.rt The \fBfunction\fR argument is \fBF_LOCK\fR and a deadlock is detected. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 20n -.rt A signal was caught during execution of the function. .RE .sp .ne 2 -.mk .na \fB\fBECOMM\fR\fR .ad .RS 20n -.rt The \fIfildes\fR argument is on a remote machine and the link to that machine is no longer active. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 20n -.rt The \fBfunction\fR argument is not one of \fBF_LOCK\fR, \fBF_TLOCK\fR, \fBF_TEST\fR, or \fBF_ULOCK\fR; or \fBsize\fR plus the current file offset is less than 0. @@ -201,12 +189,10 @@ less than 0. .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 20n -.rt The offset of the first, or if \fBsize\fR is not 0 then the last, byte in the requested section cannot be represented correctly in an object of type \fBoff_t\fR. @@ -217,24 +203,20 @@ requested section cannot be represented correctly in an object of type The \fBlockf()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 24n -.rt The \fBfunction\fR argument is \fBF_LOCK\fR or \fBF_TLOCK\fR and the file is mapped with \fBmmap\fR(2). .RE .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR or \fBENOLCK\fR\fR .ad .RS 24n -.rt The \fBfunction\fR argument is \fBF_LOCK\fR, \fBF_TLOCK\fR, or \fBF_ULOCK\fR and the request would cause the number of locks to exceed a system-imposed limit. @@ -242,12 +224,10 @@ limit. .sp .ne 2 -.mk .na \fB\fBEOPNOTSUPP\fR or \fBEINVAL\fR\fR .ad .RS 24n -.rt The locking of files of the type indicated by the \fIfildes\fR argument is not supported. .RE @@ -277,15 +257,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/lsearch.3c b/usr/src/man/man3c/lsearch.3c index 0613b3a2e9..7963a03201 100644 --- a/usr/src/man/man3c/lsearch.3c +++ b/usr/src/man/man3c/lsearch.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 lsearch 3C "6 Dec 2004" "SunOS 5.11" "Standard C Library Functions" +.TH LSEARCH 3C "Dec 6, 2004" .SH NAME lsearch, lfind \- linear search and update .SH SYNOPSIS @@ -11,7 +11,7 @@ lsearch, lfind \- linear search and update .nf #include <search.h> -\fBvoid *\fR\fBlsearch\fR(\fBconst void *\fR\fIkey\fR, \fBvoid *\fR\fIbase\fR, \fBsize_t *\fR\fInelp\fR, +\fBvoid *\fR\fBlsearch\fR(\fBconst void *\fR\fIkey\fR, \fBvoid *\fR\fIbase\fR, \fBsize_t *\fR\fInelp\fR, \fBsize_t\fR \fIwidth\fR, \fBint\fR (*\fIcompar\fR)(\fBconst void *\fR, \fBconst void *\fR)); .fi @@ -125,15 +125,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/madvise.3c b/usr/src/man/man3c/madvise.3c index 56ed4ccea9..dd2a72823b 100644 --- a/usr/src/man/man3c/madvise.3c +++ b/usr/src/man/man3c/madvise.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 madvise 3C "23 Feb 2005" "SunOS 5.11" "Standard C Library Functions" +.TH MADVISE 3C "Feb 23, 2005" .SH NAME madvise \- provide advice to VM system .SH SYNOPSIS @@ -43,12 +43,10 @@ Values for \fIadvice\fR are defined in <\fBsys/mman.h\fR> as: .sp .ne 2 -.mk .na \fB\fBMADV_NORMAL\fR\fR .ad .RS 23n -.rt This is the default system characteristic where accessing memory within the address range causes the system to read data from the mapped file. The kernel reads all data from files into pages which are retained for a period of time as @@ -59,12 +57,10 @@ affects system performance only if a large amount of memory is accessed. .sp .ne 2 -.mk .na \fB\fBMADV_RANDOM\fR\fR .ad .RS 23n -.rt Tell the kernel to read in a minimum amount of data from a mapped file on any single particular access. If \fBMADV_NORMAL\fR is in effect when an address of a mapped file is accessed, the system tries to read in as much data from the @@ -74,12 +70,10 @@ locality. .sp .ne 2 -.mk .na \fB\fBMADV_SEQUENTIAL\fR\fR .ad .RS 23n -.rt Tell the system that addresses in this range are likely to be accessed only once, so the system will free the resources mapping the address range as quickly as possible. @@ -87,12 +81,10 @@ quickly as possible. .sp .ne 2 -.mk .na \fB\fBMADV_WILLNEED\fR\fR .ad .RS 23n -.rt Tell the system that a certain address range is definitely needed so the kernel will start reading the specified range into memory. This can benefit programs wanting to minimize the time needed to access memory the first time, as the @@ -101,24 +93,20 @@ kernel would need to read in from the file. .sp .ne 2 -.mk .na \fB\fBMADV_DONTNEED\fR\fR .ad .RS 23n -.rt Tell the kernel that the specified address range is no longer needed, so the system starts to free the resources associated with the address range. .RE .sp .ne 2 -.mk .na \fB\fBMADV_FREE\fR\fR .ad .RS 23n -.rt Tell the kernel that contents in the specified address range are no longer important and the range will be overwritten. When there is demand for memory, the system will free pages associated with the specified address range. In this @@ -133,12 +121,10 @@ This value cannot be used on mappings that have underlying file objects. .sp .ne 2 -.mk .na \fB\fBMADV_ACCESS_LWP\fR\fR .ad .RS 23n -.rt Tell the kernel that the next LWP to touch the specified address range will access it most heavily, so the kernel should try to allocate the memory and other resources for this range and the LWP accordingly. @@ -146,12 +132,10 @@ other resources for this range and the LWP accordingly. .sp .ne 2 -.mk .na \fB\fBMADV_ACCESS_MANY\fR\fR .ad .RS 23n -.rt Tell the kernel that many processes and/or LWPs will access the specified address range randomly across the machine, so the kernel should try to allocate the memory and other resources for this range accordingly. @@ -159,12 +143,10 @@ the memory and other resources for this range accordingly. .sp .ne 2 -.mk .na \fB\fBMADV_ACCESS_DEFAULT\fR\fR .ad .RS 23n -.rt Reset the kernel's expectation for how the specified range will be accessed to the default. .RE @@ -182,36 +164,30 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Some or all mappings in the address range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) are locked for I/O. .RE .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt Some or all of the addresses in the range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) are locked and \fBMS_SYNC\fR with the \fBMS_INVALIDATE\fR option is specified. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt Some or all of the addresses in the specified range could not be read into memory from the underlying object when performing \fBMADV_WILLNEED\fR. The \fBmadvise()\fR function could return prior to this condition being detected, @@ -220,12 +196,10 @@ in which case \fBerrno\fR will not be set to \fBEFAULT\fR. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaddr\fR argument is not a multiple of the page size as returned by \fBsysconf\fR(3C), the length of the specified address range is equal to 0, or the \fIadvice\fR argument was invalid. @@ -233,23 +207,19 @@ the \fIadvice\fR argument was invalid. .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error occurred while reading from or writing to the file system. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Addresses in the range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) are outside the valid range for the address space of a process, or specify one or more pages that are not mapped. @@ -257,12 +227,10 @@ that are not mapped. .sp .ne 2 -.mk .na \fB\fBESTALE\fR\fR .ad .RS 10n -.rt Stale \fBNFS\fR file handle. .RE @@ -274,15 +242,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/makecontext.3c b/usr/src/man/man3c/makecontext.3c index 304ecb0658..316001e331 100644 --- a/usr/src/man/man3c/makecontext.3c +++ b/usr/src/man/man3c/makecontext.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 makecontext 3C "8 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH MAKECONTEXT 3C "Mar 8, 2004" .SH NAME makecontext, swapcontext \- manipulate user contexts .SH SYNOPSIS @@ -67,12 +67,10 @@ On successful completion, \fBswapcontext()\fR returns \fB0\fR. Otherwise, The \fBswapcontext()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The \fIucp\fR argument does not have enough stack left to complete the operation. .RE @@ -82,12 +80,10 @@ operation. The \fBswapcontext()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIucp\fR or \fIoucp\fR argument points to an invalid address. .RE @@ -150,15 +146,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/makedev.3c b/usr/src/man/man3c/makedev.3c index cb31b290f6..e2209e9f9e 100644 --- a/usr/src/man/man3c/makedev.3c +++ b/usr/src/man/man3c/makedev.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 makedev 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH MAKEDEV 3C "Dec 29, 1996" .SH NAME makedev, major, minor \- manage a device number .SH SYNOPSIS @@ -52,12 +52,10 @@ error. The \fBmakedev()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One or both of the arguments \fImaj\fR and \fImin\fR is too large, or the \fIdevice\fR number created from \fImaj\fR and \fImin\fR is \fBNODEV\fR. .RE @@ -67,12 +65,10 @@ One or both of the arguments \fImaj\fR and \fImin\fR is too large, or the The \fBmajor()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIdevice\fR argument is \fBNODEV\fR, or the major number component of \fIdevice\fR is too large. .RE @@ -82,12 +78,10 @@ The \fIdevice\fR argument is \fBNODEV\fR, or the major number component of The \fBminor()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIdevice\fR argument is \fBNODEV\fR. .RE @@ -99,13 +93,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/malloc.3c b/usr/src/man/man3c/malloc.3c index d1549885d4..9286b20784 100644 --- a/usr/src/man/man3c/malloc.3c +++ b/usr/src/man/man3c/malloc.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 malloc 3C "21 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH MALLOC 3C "Mar 21, 2005" .SH NAME malloc, calloc, free, memalign, realloc, valloc, alloca \- memory allocator .SH SYNOPSIS @@ -121,24 +121,20 @@ not set \fBerrno\fR. The \fBmalloc()\fR, \fBcalloc()\fR, and \fBrealloc()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by \fIsize\fR bytes of memory which cannot be allocated. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There is not enough memory available to allocate \fIsize\fR bytes of memory; but the application could try again later. .RE @@ -173,15 +169,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelSafe +MT-Level Safe .TE .sp diff --git a/usr/src/man/man3c/mblen.3c b/usr/src/man/man3c/mblen.3c index 8c028f1c17..4051e28a52 100644 --- a/usr/src/man/man3c/mblen.3c +++ b/usr/src/man/man3c/mblen.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mblen 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH MBLEN 3C "Jul 24, 2002" .SH NAME mblen \- get number of bytes in a character .SH SYNOPSIS .LP .nf -#include <stdlib.h> +#include <stdlib.h> \fBint\fR \fBmblen\fR(\fBconst char *\fR\fIs\fR, \fBsize_t\fR \fIn\fR); .fi @@ -47,12 +47,10 @@ macro. The \fBmblen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid character sequence is detected. .RE @@ -69,17 +67,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mbrlen.3c b/usr/src/man/man3c/mbrlen.3c index 429c39bda9..8570fc53ce 100644 --- a/usr/src/man/man3c/mbrlen.3c +++ b/usr/src/man/man3c/mbrlen.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mbrlen 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH MBRLEN 3C "Nov 1, 2003" .SH NAME mbrlen \- get number of bytes in a character (restartable) .SH SYNOPSIS @@ -49,36 +49,30 @@ current locale. See \fBenviron\fR(5). The \fBmbrlen()\fR function returns the first of the following that applies: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 17n -.rt If the next \fIn\fR or fewer bytes complete the character that corresponds to the null wide-character. .RE .sp .ne 2 -.mk .na \fB\fBpositive\fR\fR .ad .RS 17n -.rt If the next \fIn\fR or fewer bytes complete a valid character; the value returned is the number of bytes that complete the character. .RE .sp .ne 2 -.mk .na \fB\fB(size_t)\(mi2\fR\fR .ad .RS 17n -.rt If the next \fIn\fR bytes contribute to an incomplete but potentially valid character, and all \fIn\fR bytes have been processed. When \fIn\fR has at least the value of the \fBMB_CUR_MAX\fR macro, this case can only occur if \fIs\fR @@ -88,12 +82,10 @@ state-dependent encodings). .sp .ne 2 -.mk .na \fB\fB(size_t)\(mi1\fR\fR .ad .RS 17n -.rt If an encoding error occurs, in which case the next \fIn\fR or fewer bytes do not contribute to a complete and valid character. In this case, \fBEILSEQ\fR is stored in \fBerrno\fR and the conversion state is undefined. @@ -105,24 +97,20 @@ is stored in \fBerrno\fR and the conversion state is undefined. The \fBmbrlen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIps\fR argument points to an object that contains an invalid conversion state. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid character sequence is detected. .RE @@ -134,15 +122,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee NOTES below +MT-Level See NOTES below .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mbrtowc.3c b/usr/src/man/man3c/mbrtowc.3c index de00b5f5f4..353d216616 100644 --- a/usr/src/man/man3c/mbrtowc.3c +++ b/usr/src/man/man3c/mbrtowc.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mbrtowc 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH MBRTOWC 3C "Nov 1, 2003" .SH NAME mbrtowc \- convert a character to a wide-character code (restartable) .SH SYNOPSIS @@ -62,24 +62,20 @@ current locale. See \fBenviron\fR(5). The \fBmbrtowc()\fR function returns the first of the following that applies: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 17n -.rt If the next \fIn\fR or fewer bytes complete the character that corresponds to the null wide-character (which is the value stored). .RE .sp .ne 2 -.mk .na \fB\fBpositive\fR\fR .ad .RS 17n -.rt If the next \fIn\fR or fewer bytes complete a valid character (which is the value stored); the value returned is the number of bytes that complete the character. @@ -87,12 +83,10 @@ character. .sp .ne 2 -.mk .na \fB\fB(size_t)\(mi2\fR\fR .ad .RS 17n -.rt If the next \fIn\fR bytes contribute to an incomplete but potentially valid character, and all \fIn\fR bytes have been processed (no value is stored). When \fIn\fR has at least the value of the \fBMB_CUR_MAX\fR macro, this case @@ -102,12 +96,10 @@ can only occur if \fIs\fR points at a sequence of redundant shift sequences .sp .ne 2 -.mk .na \fB\fB(size_t)\(mi1\fR\fR .ad .RS 17n -.rt If an encoding error occurs, in which case the next \fIn\fR or fewer bytes do not contribute to a complete and valid character (no value is stored). In this case, \fBEILSEQ\fR is stored in \fBerrno\fR and the conversion state is @@ -120,24 +112,20 @@ undefined. The \fBmbrtowc()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIps\fR argument points to an object that contains an invalid conversion state. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid character sequence is detected. .RE @@ -149,15 +137,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee NOTES below +MT-Level See NOTES below .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mbsinit.3c b/usr/src/man/man3c/mbsinit.3c index 0823687253..b4331cd866 100644 --- a/usr/src/man/man3c/mbsinit.3c +++ b/usr/src/man/man3c/mbsinit.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mbsinit 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH MBSINIT 3C "Jul 24, 2002" .SH NAME mbsinit \- determine conversion object status .SH SYNOPSIS @@ -64,15 +64,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mbsrtowcs.3c b/usr/src/man/man3c/mbsrtowcs.3c index bb1d369412..f23284f6de 100644 --- a/usr/src/man/man3c/mbsrtowcs.3c +++ b/usr/src/man/man3c/mbsrtowcs.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mbsrtowcs 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH MBSRTOWCS 3C "Nov 1, 2003" .SH NAME mbsrtowcs \- convert a character string to a wide-character string (restartable) @@ -81,24 +81,20 @@ null (if any). The \fBmbsrtowcs()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIps\fR argument points to an object that contains an invalid conversion state. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid character sequence is detected. .RE @@ -110,15 +106,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee NOTES below +MT-Level See NOTES below .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mbtowc.3c b/usr/src/man/man3c/mbtowc.3c index 5a0ff0e4e8..8e2749e0af 100644 --- a/usr/src/man/man3c/mbtowc.3c +++ b/usr/src/man/man3c/mbtowc.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mbtowc 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH MBTOWC 3C "Nov 1, 2003" .SH NAME mbtowc \- convert a character to a wide-character code .SH SYNOPSIS .LP .nf -#include <stdlib.h> +#include <stdlib.h> \fBint\fR \fBmbtowc\fR(\fBwchar_t *restrict\fR \fIpwc\fR, \fBconst char *restrict\fR \fIs\fR, \fBsize_t\fR \fIn\fR); .fi @@ -52,12 +52,10 @@ In no case will the value returned be greater than \fIn\fR or the value of the The \fBmbtowc()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid character sequence is detected. .RE @@ -74,17 +72,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/membar_ops.3c b/usr/src/man/man3c/membar_ops.3c index 1595012ad8..2d2cb8843b 100644 --- a/usr/src/man/man3c/membar_ops.3c +++ b/usr/src/man/man3c/membar_ops.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 membar_ops 3C "14 Feb 2005" "SunOS 5.11" "Standard C Library Functions" +.TH MEMBAR_OPS 3C "Feb 14, 2005" .SH NAME membar_ops, membar_enter, membar_exit, membar_producer, membar_consumer \- memory access synchronization barrier operations @@ -81,15 +81,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/memory.3c b/usr/src/man/man3c/memory.3c index c8edfd8e71..eafcfc2a13 100644 --- a/usr/src/man/man3c/memory.3c +++ b/usr/src/man/man3c/memory.3c @@ -4,7 +4,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 memory 3C "4 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH MEMORY 3C "Feb 4, 2009" .SH NAME memory, memccpy, memchr, memcmp, memcpy, memmove, memset \- memory operations .SH SYNOPSIS @@ -111,17 +111,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mkfifo.3c b/usr/src/man/man3c/mkfifo.3c index c6ba7950b0..29de2b15e3 100644 --- a/usr/src/man/man3c/mkfifo.3c +++ b/usr/src/man/man3c/mkfifo.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mkfifo 3C "24 Apr 2002" "SunOS 5.11" "Standard C Library Functions" +.TH MKFIFO 3C "Apr 24, 2002" .SH NAME mkfifo \- make a FIFO special file .SH SYNOPSIS @@ -58,94 +58,78 @@ returned and \fBerrno\fR is set to indicate the error. The \fBmkfifo()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt A component of the path prefix denies search permission, or write permission is denied on the parent directory of the FIFO to be created. .RE .sp .ne 2 -.mk .na \fB\fBEEXIST\fR\fR .ad .RS 16n -.rt The named file already exists. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt A loop exists in symbolic links encountered during resolution of the \fIpath\fR argument. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIpath\fR argument exceeds {\fBPATH_MAX\fR} or a pathname component is longer than {\fBNAME_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of the path prefix specified by \fIpath\fR does not name an existing directory or \fIpath\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 16n -.rt The directory that would contain the new file cannot be extended or the file system is out of file-allocation resources. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBEROFS\fR\fR .ad .RS 16n -.rt The named file resides on a read-only file system. .RE @@ -154,23 +138,19 @@ The named file resides on a read-only file system. The \fBmkfifo()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIpath\fR argument exceeds {\fBPATH_MAX\fR} or a pathname component is longer than {\fBNAME_MAX\fR}. .RE @@ -204,15 +184,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mkstemp.3c b/usr/src/man/man3c/mkstemp.3c index 33d1bf693c..697cba2a2e 100644 --- a/usr/src/man/man3c/mkstemp.3c +++ b/usr/src/man/man3c/mkstemp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mkstemp 3C "22 Feb 2006" "SunOS 5.11" "Standard C Library Functions" +.TH MKSTEMP 3C "Feb 22, 2006" .SH NAME mkstemp, mkstemps, mkdtemp \- make a unique file name from a template and open the file @@ -96,13 +96,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. .TE .sp diff --git a/usr/src/man/man3c/mktemp.3c b/usr/src/man/man3c/mktemp.3c index e81ee5f33f..2a280330cd 100644 --- a/usr/src/man/man3c/mktemp.3c +++ b/usr/src/man/man3c/mktemp.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mktemp 3C "15 Sep 2004" "SunOS 5.11" "Standard C Library Functions" +.TH MKTEMP 3C "Sep 15, 2004" .SH NAME mktemp \- make a unique file name from a template .SH SYNOPSIS @@ -72,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mktime.3c b/usr/src/man/man3c/mktime.3c index f03d243f09..33ade2440d 100644 --- a/usr/src/man/man3c/mktime.3c +++ b/usr/src/man/man3c/mktime.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mktime 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH MKTIME 3C "Nov 1, 2003" .SH NAME mktime \- converts a tm structure to a calendar time .SH SYNOPSIS @@ -94,12 +94,10 @@ the value (\fBtime_t\fR)\(mi1 and sets \fBerrno\fR to indicate the error. The \fBmktime()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The date represented by the input \fBtm\fR struct cannot be represented in a \fBtime_t\fR. Note that the \fBerrno\fR setting may change if future revisions to the standards specify a different value. @@ -169,15 +167,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mlock.3c b/usr/src/man/man3c/mlock.3c index 3677e4928e..837575e836 100644 --- a/usr/src/man/man3c/mlock.3c +++ b/usr/src/man/man3c/mlock.3c @@ -4,7 +4,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 mlock 3C "10 Apr 2007" "SunOS 5.11" "Standard C Library Functions" +.TH MLOCK 3C "Apr 10, 2007" .SH NAME mlock, munlock \- lock or unlock pages in memory .SH SYNOPSIS @@ -87,47 +87,39 @@ indicate the error. The \fBmlock()\fR and \fBmunlock()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaddr\fR argument is not a multiple of the page size as returned by \fBsysconf\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Addresses in the range [\fIaddr, addr + len\fR) are invalid for the address space of a process, or specify one or more pages which are not mapped. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The system does not support this memory locking interface. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_PROC_LOCK_MEMORY\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -137,12 +129,10 @@ set of the calling process. The \fBmlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Some or all of the memory identified by the range [\fIaddr, addr + len\fR) could not be locked because of insufficient system resources or because of a limit or resource control on locked memory. @@ -162,15 +152,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mlockall.3c b/usr/src/man/man3c/mlockall.3c index 6b7e33eece..e5a1aed6dd 100644 --- a/usr/src/man/man3c/mlockall.3c +++ b/usr/src/man/man3c/mlockall.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 mlockall 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH MLOCKALL 3C "Mar 22, 2004" .SH NAME mlockall, munlockall \- lock or unlock address space .SH SYNOPSIS @@ -71,36 +71,30 @@ functions return \fB0\fR. Otherwise, they return \fB\(mi1\fR and set The \fBmlockall()\fR and \fBmunlockall()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Some or all of the memory in the address space could not be locked due to sufficient resources. This error condition applies to \fBmlockall()\fR only. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIflags\fR argument contains values other than \fBMCL_CURRENT\fR and \fBMCL_FUTURE\fR. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_PROC_LOCK_MEMORY\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -113,15 +107,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/monitor.3c b/usr/src/man/man3c/monitor.3c index 8b012d683a..694c129b9a 100644 --- a/usr/src/man/man3c/monitor.3c +++ b/usr/src/man/man3c/monitor.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 monitor 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH MONITOR 3C "Dec 29, 1996" .SH NAME monitor \- prepare process execution profile .SH SYNOPSIS @@ -190,13 +190,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_close.3c b/usr/src/man/man3c/mq_close.3c index 07c9c3c88b..5b67529e26 100644 --- a/usr/src/man/man3c/mq_close.3c +++ b/usr/src/man/man3c/mq_close.3c @@ -2,20 +2,20 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_close 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_CLOSE 3C "Feb 5, 2008" .SH NAME mq_close \- close a message queue .SH SYNOPSIS .LP .nf -#include <mqueue.h> +#include <mqueue.h> \fBint\fR \fBmq_close\fR(\fBmqd_t\fR \fImqdes\fR); .fi @@ -45,23 +45,19 @@ condition. The \fBmq_close()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR \fR .ad .RS 11n -.rt The \fImqdes\fR argument is an invalid message queue descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBmq_open()\fR function is not supported by the system. .RE @@ -73,17 +69,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_getattr.3c b/usr/src/man/man3c/mq_getattr.3c index c38489881e..3f72cf15c6 100644 --- a/usr/src/man/man3c/mq_getattr.3c +++ b/usr/src/man/man3c/mq_getattr.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_getattr 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_GETATTR 3C "Feb 5, 2008" .SH NAME mq_getattr \- get message queue attributes .SH SYNOPSIS @@ -34,12 +34,10 @@ open message queue description as set when the message queue was opened and as modified by subsequent \fBmq_setattr\fR(3C) calls: .sp .ne 2 -.mk .na \fB\fBmq_flags\fR\fR .ad .RS 12n -.rt message queue flags .RE @@ -49,34 +47,28 @@ The following attributes of the message queue are returned as set at message queue creation: .sp .ne 2 -.mk .na \fB\fBmq_maxmsg\fR\fR .ad .RS 14n -.rt maximum number of messages .RE .sp .ne 2 -.mk .na \fB\fBmq_msgsize\fR\fR .ad .RS 14n -.rt maximum message size .RE .sp .ne 2 -.mk .na \fB\fBmq_curmsgs\fR\fR .ad .RS 14n -.rt number of messages currently on the queue. .RE @@ -92,23 +84,19 @@ the error. The \fBmq_getattr()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fImqdes\fR argument is not a valid message queue descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBmq_getattr()\fR function is not supported by the system. .RE @@ -120,17 +108,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_notify.3c b/usr/src/man/man3c/mq_notify.3c index 76690e4e02..dbe734f1a0 100644 --- a/usr/src/man/man3c/mq_notify.3c +++ b/usr/src/man/man3c/mq_notify.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_notify 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_NOTIFY 3C "Feb 5, 2008" .SH NAME mq_notify \- notify process (or thread) that a message is available on a queue .SH SYNOPSIS @@ -70,23 +70,19 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBmq_notify()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The \fImqdes\fR argument is not a valid message queue descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt A process is already registered for notification by the message queue. .RE @@ -98,17 +94,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_open.3c b/usr/src/man/man3c/mq_open.3c index e86ee7a898..3fa711f190 100644 --- a/usr/src/man/man3c/mq_open.3c +++ b/usr/src/man/man3c/mq_open.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_open 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_OPEN 3C "Feb 5, 2008" .SH NAME mq_open \- open a message queue .SH SYNOPSIS @@ -52,12 +52,10 @@ following list. Applications must specify exactly one of the first three values (access modes) below in the value of \fIoflag\fR: .sp .ne 2 -.mk .na \fB\fBO_RDONLY\fR \fR .ad .RS 13n -.rt Open the message queue for receiving messages. The process can use the returned message queue descriptor with \fBmq_receive\fR(3C), but not \fBmq_send\fR(3C). A message queue may be open multiple times in the same or different processes @@ -66,12 +64,10 @@ for receiving messages. .sp .ne 2 -.mk .na \fB\fBO_WRONLY\fR \fR .ad .RS 13n -.rt Open the queue for sending messages. The process can use the returned message queue descriptor with \fBmq_send\fR(3C) but not \fBmq_receive\fR(3C). A message queue may be open multiple times in the same or different processes for sending @@ -80,12 +76,10 @@ messages. .sp .ne 2 -.mk .na \fB\fBO_RDWR\fR \fR .ad .RS 13n -.rt Open the queue for both receiving and sending messages. The process can use any of the functions allowed for \fBO_RDONLY\fR and \fBO_WRONLY\fR. A message queue may be open multiple times in the same or different processes for sending @@ -98,12 +92,10 @@ Any combination of the remaining flags may additionally be specified in the value of \fIoflag\fR: .sp .ne 2 -.mk .na \fB\fBO_CREAT\fR \fR .ad .RS 15n -.rt This option is used to create a message queue, and it requires two additional arguments: \fImode\fR, which is of type \fBmode_t\fR, and \fIattr\fR, which is pointer to a \fBmq_attr\fR structure. If the pathname, \fIname\fR, has already @@ -128,12 +120,10 @@ creating the message queue. .sp .ne 2 -.mk .na \fB\fBO_EXCL\fR \fR .ad .RS 15n -.rt If both \fBO_EXCL\fR and \fBO_CREAT\fR are set, \fBmq_open()\fR will fail if the message queue \fIname\fR exists. The check for the existence of the message queue and the creation of the message queue if it does not exist are atomic @@ -144,12 +134,10 @@ with respect to other processes executing \fBmq_open()\fR naming the same .sp .ne 2 -.mk .na \fB\fBO_NONBLOCK\fR \fR .ad .RS 15n -.rt The setting of this flag is associated with the open message queue description and determines whether a \fBmq_send\fR(3C) or \fBmq_receive\fR(3C) waits for resources or messages that are not currently available, or fails with @@ -169,12 +157,10 @@ indicate the error condition. The \fBmq_open()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR \fR .ad .RS 17n -.rt The message queue exists and the permissions specified by \fIoflag\fR are denied, or the message queue does not exist and permission to create the message queue is denied. @@ -182,35 +168,29 @@ message queue is denied. .sp .ne 2 -.mk .na \fB\fBEEXIST\fR \fR .ad .RS 17n -.rt \fBO_CREAT\fR and \fBO_EXCL\fR are set and the named message queue already exists. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 17n -.rt The \fBmq_open()\fR operation was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 17n -.rt The \fBmq_open()\fR operation is not supported for the given name, or \fBO_CREAT\fR was specified in \fIoflag\fR, the value of \fIattr\fR is not \fINULL,\fR and either \fBmq_maxmsg\fR or \fBmq_msgsize\fR was less than or @@ -219,12 +199,10 @@ equal to zero. .sp .ne 2 -.mk .na \fB\fBEMFILE\fR \fR .ad .RS 17n -.rt The number of open message queue descriptors in this process exceeds \fBMQ_OPEN_MAX,\fR of the number of open file descriptors in this process exceeds \fBOPEN_MAX.\fR @@ -232,12 +210,10 @@ exceeds \fBOPEN_MAX.\fR .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR \fR .ad .RS 17n -.rt The length of the \fIname\fR string exceeds \fBPATH_MAX,\fR or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. @@ -245,45 +221,37 @@ effect. .sp .ne 2 -.mk .na \fB\fBENFILE\fR \fR .ad .RS 17n -.rt Too many message queues are currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR \fR .ad .RS 17n -.rt \fBO_CREAT\fR is not set and the named message queue does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR \fR .ad .RS 17n -.rt There is insufficient space for the creation of the new message queue. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 17n -.rt The \fBmq_open()\fR function is not supported by the system. .RE @@ -295,17 +263,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_receive.3c b/usr/src/man/man3c/mq_receive.3c index 3d244806ea..2474485373 100644 --- a/usr/src/man/man3c/mq_receive.3c +++ b/usr/src/man/man3c/mq_receive.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_receive 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_RECEIVE 3C "Feb 5, 2008" .SH NAME mq_receive, mq_timedreceive, mq_reltimedreceive_np \- receive a message from a message queue @@ -121,47 +121,39 @@ The \fBmq_receive()\fR, \fBmq_timedreceive()\fR, and \fBmq_reltimedreceive_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 13n -.rt \fBO_NONBLOCK\fR was set in the message description associated with \fImqdes\fR, and the specified message queue is empty. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR \fR .ad .RS 13n -.rt The \fImqdes\fR argument is not a valid message queue descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 13n -.rt The function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The process or thread would have blocked, and the timeout parameter specified a nanoseconds field value less than zero or greater than or equal to 1,000 million. @@ -169,24 +161,20 @@ million. .sp .ne 2 -.mk .na \fB\fBEMSGSIZE\fR \fR .ad .RS 13n -.rt The specified message buffer size, \fImsg_len\fR, is less than the message size member of the message queue. .RE .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The \fBO_NONBLOCK\fR flag was not set when the message queue was opened, but no message arrived on the queue before the specified timeout expired. .RE @@ -197,12 +185,10 @@ The \fBmq_receive()\fR, \fBmq_timedreceive()\fR, and \fBmq_reltimedreceive_np()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEBADMSG\fR \fR .ad .RS 12n -.rt A data corruption problem with the message has been detected. .RE @@ -214,17 +200,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/mq_send.3c b/usr/src/man/man3c/mq_send.3c index 6ffddea5ab..9972c2c17a 100644 --- a/usr/src/man/man3c/mq_send.3c +++ b/usr/src/man/man3c/mq_send.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_send 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_SEND 3C "Feb 5, 2008" .SH NAME mq_send, mq_timedsend, mq_reltimedsend_np \- send a message to a message queue .SH SYNOPSIS @@ -117,58 +117,48 @@ The \fBmq_send()\fR, \fBmq_timedsend()\fR, and \fBmq_reltimedsend_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 13n -.rt The \fBO_NONBLOCK\fR flag is set in the message queue description associated with \fImqdes\fR, and the specified message queue is full. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR \fR .ad .RS 13n -.rt The \fImqdes\fR argument is not a valid message queue descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 13n -.rt A signal interrupted the function call. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The value of \fImsg_prio\fR was outside the valid range. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The process or thread would have blocked, and the timeout parameter specified a nanoseconds field value less than zero or greater than or equal to 1,000 million. @@ -176,24 +166,20 @@ million. .sp .ne 2 -.mk .na \fB\fBEMSGSIZE\fR \fR .ad .RS 13n -.rt The specified message length, \fImsg_len\fR, exceeds the message size attribute of the message queue. .RE .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The \fBO_NONBLOCK\fR flag was not set when the message queue was opened, but the timeout expired before the message could be added to the queue. .RE @@ -206,17 +192,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/mq_setattr.3c b/usr/src/man/man3c/mq_setattr.3c index d5f4acc0ae..bb853c66a7 100644 --- a/usr/src/man/man3c/mq_setattr.3c +++ b/usr/src/man/man3c/mq_setattr.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_setattr 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_SETATTR 3C "Feb 5, 2008" .SH NAME mq_setattr \- set/get message queue attributes .SH SYNOPSIS @@ -34,12 +34,10 @@ the \fBmq_attr\fR structure are set to the specified values upon successful completion of \fBmq_setattr()\fR: .sp .ne 2 -.mk .na \fB\fBmq_flags\fR \fR .ad .RS 13n -.rt The value of this member is either \fB0\fR or \fBO_NONBLOCK.\fR .RE @@ -66,23 +64,19 @@ the message queue attributes are unchanged, and the function returns The \fBmq_setattr()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR \fR .ad .RS 11n -.rt The \fImqdes\fR argument is not a valid message queue descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBmq_setattr()\fR function is not supported by the system. .RE @@ -94,17 +88,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mq_unlink.3c b/usr/src/man/man3c/mq_unlink.3c index 41b8a46b7f..f4fae302d9 100644 --- a/usr/src/man/man3c/mq_unlink.3c +++ b/usr/src/man/man3c/mq_unlink.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mq_unlink 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH MQ_UNLINK 3C "Feb 5, 2008" .SH NAME mq_unlink \- remove a message queue .SH SYNOPSIS @@ -44,23 +44,19 @@ named message queue is not changed by this function call, the function returns The \fBmq_unlink()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR \fR .ad .RS 17n -.rt Permission is denied to unlink the named message queue. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR \fR .ad .RS 17n -.rt The length of the \fIname\fR string exceeds \fBPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. @@ -68,23 +64,19 @@ effect. .sp .ne 2 -.mk .na \fB\fBENOENT\fR \fR .ad .RS 17n -.rt The named message queue, \fIname\fR, does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 17n -.rt \fBmq_unlink()\fR is not supported by the system. .RE @@ -96,17 +88,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/msync.3c b/usr/src/man/man3c/msync.3c index 92bdf1683c..ea6da46ee8 100644 --- a/usr/src/man/man3c/msync.3c +++ b/usr/src/man/man3c/msync.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 msync 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH MSYNC 3C "Jul 24, 2002" .SH NAME msync \- synchronize memory with physical storage .SH SYNOPSIS @@ -32,34 +32,28 @@ storage for a modified \fBMAP_PRIVATE\fR mapping is its swap area. The \fIflags\fR argument is a bit pattern built from the following values: .sp .ne 2 -.mk .na \fBMS_ASYNC\fR .ad .RS 17n -.rt perform asynchronous writes .RE .sp .ne 2 -.mk .na \fBMS_SYNC\fR .ad .RS 17n -.rt perform synchronous writes .RE .sp .ne 2 -.mk .na \fBMS_INVALIDATE\fR .ad .RS 17n -.rt invalidate mappings .RE @@ -127,36 +121,30 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBmsync()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt Some or all of the addresses in the range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) are locked and \fBMS_SYNC\fR with the \fBMS_INVALIDATE\fR option is specified. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Some or all pages in the range [\fIaddr\fR, \fIaddr\fR + \fIlen\fR) are locked for I/O. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaddr\fR argument is not a multiple of the page size as returned by \fBsysconf\fR(3C). .sp @@ -166,23 +154,19 @@ The \fIflags\fR argument is not some combination of \fBMS_ASYNC\fR and .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error occurred while reading from or writing to the file system. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Addresses in the range [\fIaddr, addr + len\fR) are outside the valid range for the address space of a process, or specify one or more pages that are not mapped. @@ -190,12 +174,10 @@ mapped. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt \fBMS_INVALIDATE\fR was specified and one or more of the pages is locked in memory. .RE @@ -218,15 +200,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/mutex_init.3c b/usr/src/man/man3c/mutex_init.3c index 0f98058c8a..ed91bf1a86 100644 --- a/usr/src/man/man3c/mutex_init.3c +++ b/usr/src/man/man3c/mutex_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 mutex_init 3C "5 Jun 2007" "SunOS 5.11" "Standard C Library Functions" +.TH MUTEX_INIT 3C "Jun 5, 2007" .SH NAME mutex_init, mutex_lock, mutex_trylock, mutex_unlock, mutex_consistent, mutex_destroy \- mutual exclusion locks @@ -17,8 +17,8 @@ mutex_destroy \- mutual exclusion locks .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] -#include <thread.h> -#include <synch.h> +#include <thread.h> +#include <synch.h> \fBint\fR \fBmutex_init\fR(\fBmutex_t *\fR\fImp\fR, \fBint\fR \fItype\fR, \fBvoid *\fR \fIarg\fR); .fi @@ -87,7 +87,6 @@ state of the mutex becomes initialized and unlocked. Only the attribute type the following: .sp .ne 2 -.mk .na \fB\fBUSYNC_THREAD\fR\fR .ad @@ -98,7 +97,6 @@ The mutex can synchronize threads only in this process. .sp .ne 2 -.mk .na \fB\fBUSYNC_PROCESS\fR\fR .ad @@ -117,7 +115,6 @@ The \fItype\fR argument can be augmented by the bitwise-inclusive-\fBOR\fR of zero or more of the following flags: .sp .ne 2 -.mk .na \fB\fBLOCK_ROBUST\fR\fR .ad @@ -154,7 +151,6 @@ error value \fBEBUSY\fR. .sp .ne 2 -.mk .na \fB\fBLOCK_RECURSIVE\fR\fR .ad @@ -167,7 +163,6 @@ locked. .sp .ne 2 -.mk .na \fB\fBLOCK_ERRORCHECK\fR\fR .ad @@ -181,7 +176,6 @@ owning it will return with an error. .sp .ne 2 -.mk .na \fB\fBLOCK_PRIO_INHERIT\fR\fR .ad @@ -195,7 +189,6 @@ of the mutexes owned by this thread and initialized with this attribute. .sp .ne 2 -.mk .na \fB\fBLOCK_PRIO_PROTECT\fR\fR .ad @@ -302,7 +295,6 @@ Statically allocated mutexes can also be initialized with macros specifying \fBLOCK_RECURSIVE\fR and/or \fBLOCK_ERRORCHECK\fR: .sp .ne 2 -.mk .na \fB\fBmutex_t mp = RECURSIVEMUTEX;\fR\fR .ad @@ -313,7 +305,6 @@ Same as (\fBUSYNC_THREAD\fR | \fBLOCK_RECURSIVE\fR) .sp .ne 2 -.mk .na \fB\fBmutex_t mp = ERRORCHECKMUTEX;\fR\fR .ad @@ -324,7 +315,6 @@ Same as (\fBUSYNC_THREAD\fR | \fBLOCK_ERRORCHECK\fR) .sp .ne 2 -.mk .na \fB\fBmutex_t mp = RECURSIVE_ERRORCHECKMUTEX;\fR\fR .ad @@ -396,12 +386,10 @@ returned. The \fBmutex_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fItype\fR is invalid, or the \fBLOCK_PRIO_INHERIT\fR and \fBLOCK_PRIO_PROTECT\fR attributes are both specified. .RE @@ -411,24 +399,20 @@ and \fBLOCK_PRIO_PROTECT\fR attributes are both specified. The \fBmutex_init()\fR function will fail for \fBLOCK_ROBUST\fR type mutex if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The mutex pointed to by \fImp\fR was previously initialized and has not yet been destroyed. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The mutex pointed to by \fImp\fR was previously initialized with a different set of attribute flags. .RE @@ -438,12 +422,10 @@ set of attribute flags. The \fBmutex_trylock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt The mutex pointed to by \fImp\fR is already locked. .RE @@ -453,12 +435,10 @@ The \fBmutex_lock()\fR and \fBmutex_trylock()\fR functions will fail for a \fBLOCK_RECURSIVE\fR mutex if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The mutex could not be acquired because the maximum number of recursive locks for the mutex has been reached. .RE @@ -469,12 +449,10 @@ The \fBmutex_lock()\fR function will fail for a \fBLOCK_ERRORCHECK\fR and non-\fBLOCK_RECURSIVE\fR mutex if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The caller already owns the mutex. .RE @@ -484,12 +462,10 @@ The \fBmutex_lock()\fR function may fail for a non-\fBLOCK_ERRORCHECK\fR and non-\fBLOCK_RECURSIVE\fR mutex if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The caller already owns the mutex. .RE @@ -499,12 +475,10 @@ The \fBmutex_unlock()\fR function will fail for a \fBLOCK_ERRORCHECK\fR mutex if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The caller does not own the mutex. .RE @@ -514,12 +488,10 @@ The \fBmutex_lock()\fR or \fBmutex_trylock()\fR functions will fail for \fBLOCK_ROBUST\fR type mutex if: .sp .ne 2 -.mk .na \fB\fBEOWNERDEAD\fR\fR .ad .RS 19n -.rt The last owner of this mutex died while holding the mutex. This mutex is now owned by the caller. The caller must now attempt to make the state protected by the mutex consistent. If it is able to clean up the state, then it should @@ -535,12 +507,10 @@ the lock with \fBEOWNERDEAD\fR dies, the next owner will acquire the lock with .sp .ne 2 -.mk .na \fB\fBENOTRECOVERABLE\fR\fR .ad .RS 19n -.rt The mutex trying to be acquired was protecting the state that has been left unrecoverable when the mutex's last owner could not make the state protected by the mutex consistent. The mutex has not been acquired. This condition occurs @@ -554,12 +524,10 @@ not able to clean up the state and unlocked the mutex without calling The \fBmutex_consistent()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The caller does not own the mutex or the mutex is not a \fBLOCK_ROBUST\fR mutex having an inconsistent state (\fBEOWNERDEAD\fR). .RE @@ -695,7 +663,7 @@ mutex-protected data. #define NUM_SUBTRACTTHREADS 10 #define INCREMENT '0' #define DECREMENT '1' -typedef struct { +typedef struct { mutex_t Interprocess_mutex; int Interprocess_data; } buffer_t; @@ -808,7 +776,7 @@ The following example shows how to use a \fBUSYNC_PROCESS\fR | typedef struct { mutex_t Interprocess_mutex; int Interprocess_data; - } buffer_t; + } buffer_t; buffer_t *buffer; int make_date_consistent(); void create_shared_memory(); @@ -862,7 +830,7 @@ The following example shows how to use a \fBUSYNC_PROCESS\fR | */ mutex_unlock(&buffer->Interprocess_mutex); break; - } + } } } /* end main */ void create_shared_memory() { @@ -871,7 +839,7 @@ void create_shared_memory() { for (i=0; i<sizeof(buffer_t); i++) { zeroed[i] = 0; write(ipc_fd, &zeroed[i],2); - } + } close(ipc_fd); chmod(INTERPROCESS_FILE, S_IRWXU | S_IRWXG | S_IRWXO); } @@ -951,15 +919,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/nanosleep.3c b/usr/src/man/man3c/nanosleep.3c index d8dcbfd55f..fbfc47dd45 100644 --- a/usr/src/man/man3c/nanosleep.3c +++ b/usr/src/man/man3c/nanosleep.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 nanosleep 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH NANOSLEEP 3C "Feb 5, 2008" .SH NAME nanosleep \- high resolution sleep .SH SYNOPSIS @@ -61,35 +61,29 @@ indicate the error. The \fBnanosleep()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The \fBnanosleep()\fR function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIrqtp\fR argument specified a nanosecond value less than zero or greater than or equal to 1000 million. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBnanosleep()\fR function is not supported by this implementation. .RE @@ -101,17 +95,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ndbm.3c b/usr/src/man/man3c/ndbm.3c index 75b2fc20a6..786f92db24 100644 --- a/usr/src/man/man3c/ndbm.3c +++ b/usr/src/man/man3c/ndbm.3c @@ -1,11 +1,11 @@ '\" te .\" Copyright (c) 1985 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, .\" X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH ndbm 3C "17 Sep 2001" "SunOS 5.11" "Standard C Library Functions" +.TH NDBM 3C "Sep 17, 2001" .SH NAME ndbm, dbm_clearerr, dbm_close, dbm_delete, dbm_error, dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store \- database functions @@ -270,15 +270,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/nl_langinfo.3c b/usr/src/man/man3c/nl_langinfo.3c index cd4e2aaa46..b735a034df 100644 --- a/usr/src/man/man3c/nl_langinfo.3c +++ b/usr/src/man/man3c/nl_langinfo.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 nl_langinfo 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH NL_LANGINFO 3C "Jul 24, 2002" .SH NAME nl_langinfo \- language information .SH SYNOPSIS @@ -55,17 +55,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/offsetof.3c b/usr/src/man/man3c/offsetof.3c index 2a3f7ac669..2d1c35992c 100644 --- a/usr/src/man/man3c/offsetof.3c +++ b/usr/src/man/man3c/offsetof.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 offsetof 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH OFFSETOF 3C "Dec 29, 1996" .SH NAME offsetof \- offset of structure member .SH SYNOPSIS @@ -30,13 +30,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/opendir.3c b/usr/src/man/man3c/opendir.3c index dd9fc685e2..f247177899 100644 --- a/usr/src/man/man3c/opendir.3c +++ b/usr/src/man/man3c/opendir.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 opendir 3C "26 Jun 2007" "SunOS 5.11" "Standard C Library Functions" +.TH OPENDIR 3C "Jun 26, 2007" .SH NAME opendir, fdopendir \- open directory .SH SYNOPSIS @@ -56,35 +56,29 @@ and \fBerrno\fR is set to indicate the error. The \fBopendir()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Search permission is denied for the component of the path prefix of \fIdirname\fR or read permission is denied for \fIdirname\fR. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the \fIdirname\fR argument exceeds {\fBPATH_MAX\fR}, or a path name component is longer than {\fBNAME_MAX\fR} while {\fB_POSIX_NO_TRUNC\fR} is in effect. @@ -92,24 +86,20 @@ in effect. .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIdirname\fR does not name an existing directory or \fIdirname\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of \fIdirname\fR is not a directory. .RE @@ -118,12 +108,10 @@ A component of \fIdirname\fR is not a directory. The \fBfdopendir()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 11n -.rt The file descriptor \fIfildes\fR does not reference a directory. .RE @@ -132,36 +120,30 @@ The file descriptor \fIfildes\fR does not reference a directory. The \fBopendir()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt There are {\fBOPEN_MAX\fR} file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds \fBPATH_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt Too many files are currently open on the system. .RE @@ -180,17 +162,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityT{ +Interface Stability T{ \fBopendir()\fR is Standard; \fBfdopendir()\fR is Evolving T} _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/perror.3c b/usr/src/man/man3c/perror.3c index 93df640ca4..8834c75c5f 100644 --- a/usr/src/man/man3c/perror.3c +++ b/usr/src/man/man3c/perror.3c @@ -4,7 +4,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 perror 3C "12 Jul 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PERROR 3C "Jul 12, 2007" .SH NAME perror, errno \- print system error messages .SH SYNOPSIS @@ -54,15 +54,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pfmt.3c b/usr/src/man/man3c/pfmt.3c index 077331e6d2..b88e451266 100644 --- a/usr/src/man/man3c/pfmt.3c +++ b/usr/src/man/man3c/pfmt.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 pfmt 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH PFMT 3C "Dec 29, 1996" .SH NAME pfmt \- display error message in standard format .SH SYNOPSIS @@ -82,12 +82,10 @@ following values (one from each group): \fIOutput format control\fR .sp .ne 2 -.mk .na \fB\fBMM_NOSTD\fR\fR .ad .RS 12n -.rt Do not use the standard message format, interpret \fBformat\fR as \fBprintf()\fR \fBformat\fR. Only \fIcatalog access control flags\fR should be specified if \fBMM_NOSTD\fR is used; all other flags will be ignored. @@ -95,12 +93,10 @@ specified if \fBMM_NOSTD\fR is used; all other flags will be ignored. .sp .ne 2 -.mk .na \fB\fBMM_STD\fR\fR .ad .RS 12n -.rt Output using the standard message format (default value 0). .RE @@ -109,24 +105,20 @@ Output using the standard message format (default value 0). \fICatalog access control\fR .sp .ne 2 -.mk .na \fB\fBMM_NOGET\fR\fR .ad .RS 12n -.rt Do not retrieve a localized version of \fBformat\fR. In this case, only the \fIdefmsg\fR field of the \fBformat\fR is specified. .RE .sp .ne 2 -.mk .na \fB\fBMM_GET\fR\fR .ad .RS 12n -.rt Retrieve a localized version of \fBformat\fR from the \fIcatalog\fR, using \fImsgid\fR as the index and \fIdefmsg\fR as the default message (default value 0). @@ -137,45 +129,37 @@ Retrieve a localized version of \fBformat\fR from the \fIcatalog\fR, using \fISeverity (standard message format only)\fR .sp .ne 2 -.mk .na \fB\fBMM_HALT\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBHALT,\fR but do not halt the machine. .RE .sp .ne 2 -.mk .na \fB\fBMM_ERROR\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBERROR\fR (default value 0). .RE .sp .ne 2 -.mk .na \fB\fBMM_WARNING\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBWARNING.\fR .RE .sp .ne 2 -.mk .na \fB\fBMM_INFO\fR\fR .ad .RS 14n -.rt Generate a localized version of \fBINFO.\fR .RE @@ -198,12 +182,10 @@ display of either a severity string (if defined) or the string \fIAction\fR .sp .ne 2 -.mk .na \fB\fBMM_ACTION\fR\fR .ad .RS 13n -.rt Specify an action message. Any severity value is superseded and replaced by a localized version of \fBTO FIX\fR. .RE @@ -256,12 +238,10 @@ Upon success, \fBpfmt()\fR returns the number of bytes transmitted. Upon failure, it returns a negative value: .sp .ne 2 -.mk .na \fB\fB\(mi1\fR\fR .ad .RS 9n -.rt Write error to \fIstream\fR. .RE @@ -323,13 +303,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-safe +MT-Level MT-safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/plock.3c b/usr/src/man/man3c/plock.3c index 6e75b4d1b4..4051b6a19f 100644 --- a/usr/src/man/man3c/plock.3c +++ b/usr/src/man/man3c/plock.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 plock 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PLOCK 3C "Mar 22, 2004" .SH NAME plock \- lock or unlock into memory process, text, or data .SH SYNOPSIS @@ -27,45 +27,37 @@ super-user to use this call. The \fBplock()\fR function performs the function specified by \fIop\fR: .sp .ne 2 -.mk .na \fB\fBPROCLOCK\fR\fR .ad .RS 12n -.rt Lock text and data segments into memory (process lock). .RE .sp .ne 2 -.mk .na \fB\fBTXTLOCK\fR\fR .ad .RS 12n -.rt Lock text segment into memory (text lock). .RE .sp .ne 2 -.mk .na \fB\fBDATLOCK\fR\fR .ad .RS 12n -.rt Lock data segment into memory (data lock). .RE .sp .ne 2 -.mk .na \fB\fBUNLOCK\fR\fR .ad .RS 12n -.rt Remove locks. .RE @@ -81,23 +73,19 @@ The \fBplock()\fR function fails and does not perform the requested operation if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Not enough memory. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIop\fR argument is equal to \fBPROCLOCK\fR and a process lock, a text lock, or a data lock already exists on the calling process; the \fIop\fR argument is equal to \fBTXTLOCK\fR and a text lock or a process lock already @@ -109,12 +97,10 @@ process. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_PROC_LOCK_MEMORY\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -132,13 +118,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/popen.3c b/usr/src/man/man3c/popen.3c index ebf8b88262..56f90269ae 100644 --- a/usr/src/man/man3c/popen.3c +++ b/usr/src/man/man3c/popen.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T. .\" Portions Copyright (c) 1997, The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 popen 3C "14 Dec 2006" "SunOS 5.11" "Standard C Library Functions" +.TH POPEN 3C "Dec 14, 2006" .SH NAME popen, pclose \- initiate a pipe to or from a process .SH SYNOPSIS @@ -77,12 +77,10 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBpclose()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBECHILD\fR\fR .ad .RS 10n -.rt The status of the child process could not be obtained, as described in the DESCRIPTION. .RE @@ -92,24 +90,20 @@ DESCRIPTION. The \fBpopen()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are currently \fBFOPEN_MAX\fR or \fBSTREAM_MAX\fR streams open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fImode\fR argument is invalid. .RE @@ -172,13 +166,13 @@ most common usage of the Unsafe \fBsystem\fR(3C) function: .sp .in +2 .nf -int my_system(const char *cmd) +int my_system(const char *cmd) { FILE *p; - - if ((p = popen(cmd, "w")) == NULL) - return (-1); - return (pclose(p)); + + if ((p = popen(cmd, "w")) == NULL) + return (-1); + return (pclose(p)); } .fi .in -2 @@ -191,15 +185,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelSafe +MT-Level Safe .TE .sp diff --git a/usr/src/man/man3c/port_alert.3c b/usr/src/man/man3c/port_alert.3c index e3e2a01a4f..886d43de79 100644 --- a/usr/src/man/man3c/port_alert.3c +++ b/usr/src/man/man3c/port_alert.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_alert 3C "1 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH PORT_ALERT 3C "Oct 1, 2003" .SH NAME port_alert \- set a port in alert mode .SH SYNOPSIS @@ -77,45 +77,37 @@ Upon succesful completion, 0 is returned. Otherwise, -1 is returned and The \fBport_alert()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The port identifier is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEBADFD\fR\fR .ad .RS 10n -.rt The \fIport\fR argument is not an event port file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The port is already in alert mode. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Mutually exclusive \fIflags\fR are set. .RE @@ -127,17 +119,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/port_associate.3c b/usr/src/man/man3c/port_associate.3c index c19189e670..d876b5c9d7 100644 --- a/usr/src/man/man3c/port_associate.3c +++ b/usr/src/man/man3c/port_associate.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_associate 3C "9 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PORT_ASSOCIATE 3C "Nov 9, 2007" .SH NAME port_associate, port_dissociate \- associate or dissociate the object with the port @@ -159,35 +159,29 @@ Upon succesful completion, 0 is returned. Otherwise, \(mi1 is returned and The \fBport_associate()\fR and \fBport_dissociate()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIport\fR identifier is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEBADFD\fR\fR .ad .RS 10n -.rt The \fIsource\fR argument is of type \fBPORT_SOURCE_FD\fR and the object argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsource\fR argument is not valid. .RE @@ -196,12 +190,10 @@ The \fIsource\fR argument is not valid. The \fBport_associate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 11n -.rt The source argument is \fBPORT_SOURCE_FILE\fR and, Search permission is denied on a component of path prefix or the file exists and the permissions, corresponding to the events argument, are denied. @@ -209,12 +201,10 @@ corresponding to the events argument, are denied. .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 11n -.rt The maximum number of objects associated with the port was exceeded. The maximum allowable number of events or association of objects per port is the minimum value of the \fBprocess.max-port-events\fR resource control at the time @@ -228,35 +218,29 @@ resource types. Some of the source types do not explicitly use the .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 11n -.rt The source argument is \fBPORT_SOURCE_FILE\fR and the file does not exist or the path prefix does not exist or the path points to an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The physical memory limits of the system have been exceeded. .RE .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The source argument is \fBPORT_SOURCE_FILE\fR and the file system on which the specified file resides, does not support watching for file events notifications. @@ -267,23 +251,19 @@ notifications. The \fBport_dissociate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The process is not the owner of the association. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt The specified object is not associated with the port. .RE @@ -431,17 +411,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/port_create.3c b/usr/src/man/man3c/port_create.3c index 54a6cc9a49..654c8d6a4b 100644 --- a/usr/src/man/man3c/port_create.3c +++ b/usr/src/man/man3c/port_create.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_create 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PORT_CREATE 3C "Feb 5, 2008" .SH NAME port_create \- create a port .SH SYNOPSIS @@ -24,21 +24,19 @@ source-specific mechanism for associating an object with a port. .sp .TS -tab(); -cw(1.83i) cw(1.83i) cw(1.83i) -lw(1.83i) lw(1.83i) lw(1.83i) -. -sourceobject typeassociation mechanism +c c c +l l l . +source object type association mechanism _ -\fBPORT_SOURCE_AIO\fR\fBstruct aiocb\fRT{ +\fBPORT_SOURCE_AIO\fR \fBstruct aiocb\fR T{ \fBaio_read\fR(3C), \fBaio_write\fR(3C), \fBlio_listio\fR(3C) T} -\fBPORT_SOURCE_FD\fRfile descriptor\fBport_associate\fR(3C) -\fBPORT_SOURCE_MQ\fR\fBmqd_t\fR\fBmq_notify\fR(3C) -\fBPORT_SOURCE_TIMER\fR\fBtimer_t\fR\fBtimer_create\fR(3C) -\fBPORT_SOURCE_USER\fR\fBuintptr_t\fR\fBport_send\fR(3C) -\fBPORT_SOURCE_ALERT\fR\fBuintptr_t\fR\fBport_alert\fR(3C) -\fBPORT_SOURCE_FILE\fR\fBfile_obj_t\fR\fBport_associate\fR(3C) +\fBPORT_SOURCE_FD\fR file descriptor \fBport_associate\fR(3C) +\fBPORT_SOURCE_MQ\fR \fBmqd_t\fR \fBmq_notify\fR(3C) +\fBPORT_SOURCE_TIMER\fR \fBtimer_t\fR \fBtimer_create\fR(3C) +\fBPORT_SOURCE_USER\fR \fBuintptr_t\fR \fBport_send\fR(3C) +\fBPORT_SOURCE_ALERT\fR \fBuintptr_t\fR \fBport_alert\fR(3C) +\fBPORT_SOURCE_FILE\fR \fBfile_obj_t\fR \fBport_associate\fR(3C) .TE .sp @@ -116,12 +114,10 @@ is set to indicate the error. The \fBport_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The maximum allowable number of ports is currently open in the system. The maximum allowable number of ports is the minimum value of the \fBproject.max-port-ids\fR resource control. See \fBsetrctl\fR(2) and @@ -130,12 +126,10 @@ maximum allowable number of ports is the minimum value of the .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt The process has too many open descriptors. .RE @@ -147,17 +141,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/port_get.3c b/usr/src/man/man3c/port_get.3c index 54575a1e71..95b2f8c2b7 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 "31 Jan 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PORT_GET 3C "Jan 31, 2007" .SH NAME port_get, port_getn \- retrieve event information from a port .SH SYNOPSIS @@ -101,34 +101,28 @@ is set to indicate the error. The \fBport_get()\fR and \fBport_getn()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIport\fR identifier is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEBADFD\fR\fR .ad .RS 10n -.rt The \fIport\fR argument is not an event port file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt 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 \fItimeout\fR argument is not reasonable. @@ -136,35 +130,29 @@ space reserved to accomodate the list of events is not reasonable), or the .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during the execution of the function. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fItimeout\fR element \fBtv_sec\fR is < 0 or the \fItimeout\fR element \fBtv_nsec\fR is < 0 or > 1000000000. .RE .sp .ne 2 -.mk .na \fB\fBETIME\fR\fR .ad .RS 10n -.rt The time interval expired before the expected number of events have been posted to the port. .RE @@ -174,35 +162,29 @@ to the port. The \fBport_getn()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIlist\fR[] argument is \fINULL\fR, the \fInget\fR argument is \fINULL\fR, or the content of \fInget\fR is > \fImax\fR and \fImax\fR is > 0. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fItimeout\fR argument is not reasonable. .RE .sp .ne 2 -.mk .na \fB\fBETIME\fR\fR .ad .RS 10n -.rt The time interval expired before the expected number of events have been posted to the port (original value in \fInget\fR), or \fInget\fR is updated with the number of returned \fBport_event_t\fR structures in \fIlist\fR[]. @@ -287,17 +269,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/port_send.3c b/usr/src/man/man3c/port_send.3c index 841b6dfb29..0c9d1faaf0 100644 --- a/usr/src/man/man3c/port_send.3c +++ b/usr/src/man/man3c/port_send.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_send 3C "24 Oct 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PORT_SEND 3C "Oct 24, 2007" .SH NAME port_send, port_sendn \- send a user-defined event to a port or list of ports .SH SYNOPSIS @@ -65,12 +65,10 @@ successfully sent. If an error occurs, the \fBport_sendn()\fR function returns The \fBport_send()\fR and \fBport_sendn()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The maximum number of events per port is exceeded. The maximum allowable number of events per port is the minimum value of the \fBprocess.max-port-events\fR resource control at the time @@ -79,34 +77,28 @@ number of events per port is the minimum value of the .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The port file descriptor is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEBADFD\fR\fR .ad .RS 10n -.rt The \fIport\fR argument is not an event port file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is not enough memory available to satisfy the request. .RE @@ -115,23 +107,19 @@ There is not enough memory available to satisfy the request. The \fBport_sendn()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIports\fR[] pointer or \fIerrors\fR[] pointer is not reasonable. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fInent\fR argument is 0. .RE @@ -151,7 +139,7 @@ structure are the same as the corresponding user and events arguments of the .in +2 .nf #include <port.h> - + int myport; port_event_t pe; struct timespec timeout; @@ -217,17 +205,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Architectureall +Architecture all _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_fadvise.3c b/usr/src/man/man3c/posix_fadvise.3c index 1d28ec3952..3506616675 100644 --- a/usr/src/man/man3c/posix_fadvise.3c +++ b/usr/src/man/man3c/posix_fadvise.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_fadvise 3C "14 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_FADVISE 3C "Jul 14, 2008" .SH NAME posix_fadvise \- file advisory information .SH SYNOPSIS @@ -37,12 +37,10 @@ The advice to be applied to the data is specified by the \fIadvice\fR parameter and may be one of the following values: .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_NORMAL\fR\fR .ad .RS 25n -.rt Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the default characteristic if no advice is given for an open file. @@ -50,60 +48,50 @@ given for an open file. .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_SEQUENTIAL\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified data sequentially from lower offsets to higher offsets. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_RANDOM\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified data in a random order. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_WILLNEED\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified data in the near future. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_DONTNEED\fR\fR .ad .RS 25n -.rt Specifies that the application expects that it will not access the specified data in the near future. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_FADV_NOREUSE\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified data once and then not reuse it thereafter. .RE @@ -122,35 +110,29 @@ error number is returned to indicate the error. The \fBposix_fadvise()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfd\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIadvice\fR is invalid, or the value of \fIlen\fR is less than zero. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 10n -.rt The \fIfd\fR argument is associated with a pipe or FIFO. .RE @@ -167,17 +149,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_fallocate.3c b/usr/src/man/man3c/posix_fallocate.3c index 819b0f37ce..13db642654 100644 --- a/usr/src/man/man3c/posix_fallocate.3c +++ b/usr/src/man/man3c/posix_fallocate.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_fallocate 3C "14 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_FALLOCATE 3C "Jul 14, 2008" .SH NAME posix_fallocate \- file space control .SH SYNOPSIS @@ -50,46 +50,38 @@ error number is returned to indicate the error. The \fBposix_fallocate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfd\fR argument is not a valid file descriptor or references a file that was opened without write permission. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 10n -.rt The value of \fIoffset\fR+\fIlen\fR is greater than the maximum file size. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during execution. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIlen\fR argument is less than or equal to zero, or the \fIoffset\fR argument is less than zero, or the underlying file system does not support this operation. @@ -97,45 +89,37 @@ operation. .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt An I/O error occurred while reading from or writing to a file system. .RE .sp .ne 2 -.mk .na \fB\fBENODEV\fR\fR .ad .RS 10n -.rt The \fIfd\fR argument does not refer to a regular file. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt There is insufficient free space remaining on the file system storage media. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 10n -.rt The \fIfd\fR argument is associated with a pipe or FIFO. .RE @@ -152,17 +136,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_madvise.3c b/usr/src/man/man3c/posix_madvise.3c index aee2ae39e3..8fd67505a6 100644 --- a/usr/src/man/man3c/posix_madvise.3c +++ b/usr/src/man/man3c/posix_madvise.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_madvise 3C "14 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_MADVISE 3C "Jul 14, 2008" .SH NAME posix_madvise \- memory advisory information .SH SYNOPSIS @@ -35,12 +35,10 @@ The advice to be applied to the memory range is specified by the \fIadvice\fR parameter and may be one of the following values: .sp .ne 2 -.mk .na \fB\fBPOSIX_MADV_NORMAL\fR\fR .ad .RS 25n -.rt Specifies that the application has no advice to give on its behavior with respect to the specified range. It is the default characteristic if no advice is given for a range of memory. @@ -48,48 +46,40 @@ is given for a range of memory. .sp .ne 2 -.mk .na \fB\fBPOSIX_MADV_SEQUENTIAL\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified range sequentially from lower addresses to higher addresses. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_MADV_RANDOM\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified range in a random order. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_MADV_WILLNEED\fR\fR .ad .RS 25n -.rt Specifies that the application expects to access the specified range in the near future. .RE .sp .ne 2 -.mk .na \fB\fBPOSIX_MADV_DONTNEED\fR\fR .ad .RS 25n -.rt Specifies that the application expects that it will not access the specified range in the near future. .RE @@ -108,23 +98,19 @@ error number is returned to indicate the error. The \fBposix_madvise()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIadvice\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Addresses in the range starting at \fIaddr\fR and continuing for \fIlen\fR bytes are partly or completely outside the range allowed for the address space of the calling process. @@ -135,12 +121,10 @@ of the calling process. The \fBposix_madvise()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIlen\fR is zero. .RE @@ -152,17 +136,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_memalign.3c b/usr/src/man/man3c/posix_memalign.3c index 79cd1faa6f..431218a826 100644 --- a/usr/src/man/man3c/posix_memalign.3c +++ b/usr/src/man/man3c/posix_memalign.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_memalign 3C "14 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_MEMALIGN 3C "Jul 14, 2008" .SH NAME posix_memalign \- aligned memory allocation .SH SYNOPSIS @@ -49,24 +49,20 @@ error number is returned to indicate the error. The \fBposix_memalign()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the alignment parameter is not a power of two multiple of \fBsizeof\fR(\fBvoid *\fR). .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is insufficient memory available with the requested alignment. .RE @@ -78,17 +74,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_openpt.3c b/usr/src/man/man3c/posix_openpt.3c index ec0b5f157c..9aced40804 100644 --- a/usr/src/man/man3c/posix_openpt.3c +++ b/usr/src/man/man3c/posix_openpt.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_openpt 3C "1 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_OPENPT 3C "Dec 1, 2003" .SH NAME posix_openpt \- open a pseudo terminal device .SH SYNOPSIS @@ -36,23 +36,19 @@ Values for \fIoflag\fR are constructed by a bitwise-inclusive OR of flags from the following list, defined in <\fBfcntl.h\fR>. .sp .ne 2 -.mk .na \fB\fBO_RDWR\fR\fR .ad .RS 12n -.rt Open for reading and writing. .RE .sp .ne 2 -.mk .na \fB\fBO_NOCTTY\fR\fR .ad .RS 12n -.rt If set, \fBposix_openpt()\fR does not cause the terminal device to become the controlling terminal for the process. .RE @@ -73,23 +69,19 @@ lowest numbered unused file descriptor. Otherwise, -1 is returned and The \fBposix_openpt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt {\fBOPEN_MAX\fR} file descriptors are currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE @@ -98,34 +90,28 @@ The maximum allowable number of files is currently open in the system. The \fBposix_openpt()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIoflag\fR is not valid. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Out of pseudo-terminal resources. .RE .sp .ne 2 -.mk .na \fB\fBENOSR\fR\fR .ad .RS 10n -.rt Out of STREAMS resources. .RE @@ -177,15 +163,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawn.3c b/usr/src/man/man3c/posix_spawn.3c index 4814560f47..44407e68e9 100644 --- a/usr/src/man/man3c/posix_spawn.3c +++ b/usr/src/man/man3c/posix_spawn.3c @@ -9,7 +9,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 posix_spawn 3C "20 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWN 3C "Feb 20, 2009" .SH NAME posix_spawn, posix_spawnp \- spawn a process .SH SYNOPSIS @@ -309,12 +309,10 @@ returned to the caller. The \fBposix_spawn()\fR and \fBposix_spawnp()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIfile_actions\fR or \fIattrp\fR is invalid. .RE @@ -368,17 +366,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawn_file_actions_addclose.3c b/usr/src/man/man3c/posix_spawn_file_actions_addclose.3c index 07cea3429e..e5c662ee31 100644 --- a/usr/src/man/man3c/posix_spawn_file_actions_addclose.3c +++ b/usr/src/man/man3c/posix_spawn_file_actions_addclose.3c @@ -9,7 +9,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 posix_spawn_file_actions_addclose 3C "20 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 3C "Feb 20, 2009" .SH NAME posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen \- add close or open action to spawn file actions object @@ -82,12 +82,10 @@ number is returned to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The value specified by \fIfildes\fR is negative or greater than or equal to {\fBOPEN_MAX\fR}. .RE @@ -97,23 +95,19 @@ The value specified by \fIfildes\fR is negative or greater than or equal to These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIfile_actions\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to add to the spawn file actions object. .RE @@ -138,17 +132,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawn_file_actions_addclosefrom_np.3c b/usr/src/man/man3c/posix_spawn_file_actions_addclosefrom_np.3c index af6499207e..b0251338f5 100644 --- a/usr/src/man/man3c/posix_spawn_file_actions_addclosefrom_np.3c +++ b/usr/src/man/man3c/posix_spawn_file_actions_addclosefrom_np.3c @@ -9,7 +9,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 posix_spawn_file_actions_addclosefrom_np 3C "20 Feb 2009" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP 3C "Feb 20, 2009" .SH NAME posix_spawn_file_actions_addclosefrom_np \- add closefrom action to spawn file actions object @@ -45,12 +45,10 @@ an error number is returned to indicate the error. The \fBposix_spawn_file_actions_addclosefrom_np()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 9n -.rt The value specified by \fIlowfildes\fR is negative. .RE @@ -59,23 +57,19 @@ The value specified by \fIlowfildes\fR is negative. The \fBposix_spawn_file_actions_addclosefrom_np()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIfile_actions\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to add to the spawn file actions object. .RE @@ -87,15 +81,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawn_file_actions_adddup2.3c b/usr/src/man/man3c/posix_spawn_file_actions_adddup2.3c index 8695cb0cb8..41ae094082 100644 --- a/usr/src/man/man3c/posix_spawn_file_actions_adddup2.3c +++ b/usr/src/man/man3c/posix_spawn_file_actions_adddup2.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawn_file_actions_adddup2 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 3C "Jan 30, 2004" .SH NAME posix_spawn_file_actions_adddup2 \- add dup2 action to spawn file actions object @@ -46,24 +46,20 @@ error. The \fBposix_spawn_file_actions_adddup2()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The value specified by \fIfildes\fR or \fInewfildes\fR is negative or greater than or equal to {\fBOPEN_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to add to the spawn file actions object. .RE @@ -72,12 +68,10 @@ Insufficient memory exists to add to the spawn file actions object. The \fBposix_spawn_file_actions_adddup2()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIfile_actions\fR is invalid. .RE @@ -96,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawn_file_actions_destroy.3c b/usr/src/man/man3c/posix_spawn_file_actions_destroy.3c index ef6dd4417f..83c34092bd 100644 --- a/usr/src/man/man3c/posix_spawn_file_actions_destroy.3c +++ b/usr/src/man/man3c/posix_spawn_file_actions_destroy.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawn_file_actions_destroy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWN_FILE_ACTIONS_DESTROY 3C "Jan 30, 2004" .SH NAME posix_spawn_file_actions_destroy, posix_spawn_file_actions_init \- destroy and initialize spawn file actions object @@ -61,12 +61,10 @@ number is returned to indicate the error. The \fBposix_spawn_file_actions_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the spawn file actions object. .RE @@ -75,12 +73,10 @@ Insufficient memory exists to initialize the spawn file actions object. The \fBposix_spawn_file_actions_destroy()\fR function will may if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIfile_actions\fR is invalid. .RE @@ -92,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_destroy.3c b/usr/src/man/man3c/posix_spawnattr_destroy.3c index a7753cf54a..e9461ea786 100644 --- a/usr/src/man/man3c/posix_spawnattr_destroy.3c +++ b/usr/src/man/man3c/posix_spawnattr_destroy.3c @@ -1,18 +1,18 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_destroy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_DESTROY 3C "Jan 30, 2004" .SH NAME posix_spawnattr_destroy, posix_spawnattr_init \- destroy and initialize spawn attributes object @@ -72,12 +72,10 @@ to indicate the error. The \fBposix_spawnattr_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the spawn attributes object. .RE @@ -86,12 +84,10 @@ Insufficient memory exists to initialize the spawn attributes object. The \fBposix_spawnattr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -103,15 +99,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getflags.3c b/usr/src/man/man3c/posix_spawnattr_getflags.3c index 0952275b5e..d24f2f8008 100644 --- a/usr/src/man/man3c/posix_spawnattr_getflags.3c +++ b/usr/src/man/man3c/posix_spawnattr_getflags.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getflags 3C "25 Sep 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETFLAGS 3C "Sep 25, 2008" .SH NAME posix_spawnattr_getflags, posix_spawnattr_setflags \- get and set spawn-flags attribute of spawn attributes object @@ -99,12 +99,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -113,12 +111,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setflags()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -130,17 +126,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getpgroup.3c b/usr/src/man/man3c/posix_spawnattr_getpgroup.3c index ff845dc16b..70e0c1e46c 100644 --- a/usr/src/man/man3c/posix_spawnattr_getpgroup.3c +++ b/usr/src/man/man3c/posix_spawnattr_getpgroup.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getpgroup 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETPGROUP 3C "Jan 30, 2004" .SH NAME posix_spawnattr_getpgroup, posix_spawnattr_setpgroup \- get and set spawn-pgroup attribute of spawn attributes object @@ -59,12 +59,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -73,12 +71,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setpgroup()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -90,15 +86,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getschedparam.3c b/usr/src/man/man3c/posix_spawnattr_getschedparam.3c index 483182fe80..9fcdbb7e41 100644 --- a/usr/src/man/man3c/posix_spawnattr_getschedparam.3c +++ b/usr/src/man/man3c/posix_spawnattr_getschedparam.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getschedparam 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETSCHEDPARAM 3C "Jan 30, 2004" .SH NAME posix_spawnattr_getschedparam, posix_spawnattr_setschedparam \- get and set spawn-schedparam attribute of spawn attributes object @@ -63,12 +63,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -77,12 +75,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setschedparam()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -94,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getschedpolicy.3c b/usr/src/man/man3c/posix_spawnattr_getschedpolicy.3c index cdbd436495..43b8f00763 100644 --- a/usr/src/man/man3c/posix_spawnattr_getschedpolicy.3c +++ b/usr/src/man/man3c/posix_spawnattr_getschedpolicy.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getschedpolicy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETSCHEDPOLICY 3C "Jan 30, 2004" .SH NAME posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy \- get and set spawn-schedpolicy attribute of spawn attributes object @@ -63,12 +63,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -77,12 +75,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setschedpolicy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -94,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getsigdefault.3c b/usr/src/man/man3c/posix_spawnattr_getsigdefault.3c index 8697f3b950..2c1bf53b3d 100644 --- a/usr/src/man/man3c/posix_spawnattr_getsigdefault.3c +++ b/usr/src/man/man3c/posix_spawnattr_getsigdefault.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getsigdefault 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETSIGDEFAULT 3C "Jan 30, 2004" .SH NAME posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault \- get and set spawn-sigdefault attribute of spawn attributes object @@ -62,12 +62,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -76,12 +74,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setsigdefault()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -93,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getsigignore_np.3c b/usr/src/man/man3c/posix_spawnattr_getsigignore_np.3c index 4aaaaada3d..cee68b70fc 100644 --- a/usr/src/man/man3c/posix_spawnattr_getsigignore_np.3c +++ b/usr/src/man/man3c/posix_spawnattr_getsigignore_np.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 posix_spawnattr_getsigignore_np 3C "28 Oct 2008" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETSIGIGNORE_NP 3C "Oct 28, 2008" .SH NAME posix_spawnattr_getsigignore_np, posix_spawnattr_setsigignore_np \- get and set spawn-sigignore attribute of spawn attributes object @@ -59,12 +59,10 @@ Otherwise, an error value is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -73,12 +71,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setsigignore_np()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -90,15 +86,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/posix_spawnattr_getsigmask.3c b/usr/src/man/man3c/posix_spawnattr_getsigmask.3c index f8b26a1225..ec4c887fb0 100644 --- a/usr/src/man/man3c/posix_spawnattr_getsigmask.3c +++ b/usr/src/man/man3c/posix_spawnattr_getsigmask.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 posix_spawnattr_getsigmask 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH POSIX_SPAWNATTR_GETSIGMASK 3C "Jan 30, 2004" .SH NAME posix_spawnattr_getsigmask, posix_spawnattr_setsigmask \- get and set spawn-sigmask attribute of spawn attributes object @@ -61,12 +61,10 @@ Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -75,12 +73,10 @@ The value specified by \fIattr\fR is invalid. The \fBposix_spawnattr_setsigmask()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the attribute being set is not valid. .RE @@ -92,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/printf.3c b/usr/src/man/man3c/printf.3c index d7819d9d18..915db7d9ca 100644 --- a/usr/src/man/man3c/printf.3c +++ b/usr/src/man/man3c/printf.3c @@ -12,7 +12,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 printf 3C "7 Jan 2009" "SunOS 5.11" "Standard C Library Functions" +.TH PRINTF 3C "Jan 7, 2009" .SH NAME printf, fprintf, sprintf, snprintf, asprintf \- print formatted output .SH SYNOPSIS @@ -236,12 +236,10 @@ string. The flag characters and their meanings are: .sp .ne 2 -.mk .na \fB\fB\&'\fR\fR .ad .RS 9n -.rt The integer portion of the result of a decimal conversion (\fB%i\fR, \fB%d\fR, \fB%u\fR, \fB%f\fR, \fB%F\fR, \fB%g\fR, or \fB%G\fR) will be formatted with thousands' grouping characters. For other conversions the behavior is @@ -250,24 +248,20 @@ undefined. The non-monetary grouping character is used. .sp .ne 2 -.mk .na \fB\fB\(mi\fR\fR .ad .RS 9n -.rt The result of the conversion will be left-justified within the field. The conversion will be right-justified if this flag is not specified. .RE .sp .ne 2 -.mk .na \fB\fB+\fR\fR .ad .RS 9n -.rt The result of a signed conversion will always begin with a sign (+ or -). The conversion will begin with a sign only when a negative value is converted if this flag is not specified. @@ -275,12 +269,10 @@ this flag is not specified. .sp .ne 2 -.mk .na \fB\fBspace\fR\fR .ad .RS 9n -.rt If the first character of a signed conversion is not a sign or if a signed conversion results in no characters, a space will be placed before the result. This means that if the \fBspace\fR and \fB+\fR flags both appear, the space @@ -289,12 +281,10 @@ flag will be ignored. .sp .ne 2 -.mk .na \fB\fB#\fR\fR .ad .RS 9n -.rt The value is to be converted to an alternate form. For \fBc\fR, \fBd\fR, \fBi\fR, \fBs\fR, and \fBu\fR conversions, the flag has no effect. For an \fBo\fR conversion, it increases the precision (if necessary) to force the @@ -310,12 +300,10 @@ normally are. .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 9n -.rt For \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, and \fBG\fR conversions, leading zeros (following any indication of sign or base) are used to pad to the field @@ -333,12 +321,10 @@ conversions, the behavior is undefined. The length modifiers and their meanings are: .sp .ne 2 -.mk .na \fB\fBhh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBsigned char\fR or \fBunsigned char\fR argument (the argument will have been promoted according to the integer @@ -349,12 +335,10 @@ applies to a pointer to a \fBsigned char\fR argument. .sp .ne 2 -.mk .na \fB\fBh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBshort\fR or \fBunsigned short\fR argument (the argument will have been promoted according to the integer @@ -365,12 +349,10 @@ applies to a pointer to a \fBshort\fR argument. .sp .ne 2 -.mk .na \fB\fBl (ell)\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBlong\fR or \fBunsigned long\fR argument; that a following \fBn\fR conversion specifier applies to a pointer to @@ -383,12 +365,10 @@ conversion specifier. .sp .ne 2 -.mk .na \fB\fBll (ell-ell)\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBlong long\fR or \fBunsigned long long\fR argument; or that a following \fBn\fR conversion specifier applies to a @@ -397,12 +377,10 @@ pointer to a \fBlong long\fR argument. .sp .ne 2 -.mk .na \fB\fBj\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to an \fBintmax_t\fR or \fBuintmax_t\fR argument; or that a following \fBn\fR conversion specifier applies to a pointer @@ -411,12 +389,10 @@ to an \fBintmax_t\fR argument. See NOTES. .sp .ne 2 -.mk .na \fB\fBz\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBsize_t\fR or the corresponding signed integer type argument; or that a following \fBn\fR conversion specifier @@ -426,12 +402,10 @@ argument. .sp .ne 2 -.mk .na \fB\fBt\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, or \fBX\fR conversion specifier applies to a \fBptrdiff_t\fR or the corresponding unsigned type argument; or that a following n conversion specifier applies to a @@ -440,12 +414,10 @@ pointer to a \fBptrdiff_t\fR argument. .sp .ne 2 -.mk .na \fB\fBL\fR\fR .ad .RS 16n -.rt Specifies that a following \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, or \fBG\fR conversion specifier applies to a \fBlong double\fR argument. @@ -467,12 +439,10 @@ ignored. The conversion specifiers and their meanings are: .sp .ne 2 -.mk .na \fB\fBd\fR, \fBi\fR\fR .ad .RS 8n -.rt The \fBint\fR argument is converted to a signed decimal in the style \fB[\fR\(mi\fB]\fR\fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer @@ -482,12 +452,10 @@ result of converting 0 with an explicit precision of 0 is no characters. .sp .ne 2 -.mk .na \fB\fBo\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned octal format in the style \fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer digits, it @@ -497,12 +465,10 @@ converting 0 with an explicit precision of 0 is no characters. .sp .ne 2 -.mk .na \fB\fBu\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned decimal format in the style \fIdddd\fR. The precision specifies the minimum number of digits to appear; if the value being converted can be represented in fewer digits, it @@ -512,12 +478,10 @@ converting 0 with an explicit precision of 0 is no characters. .sp .ne 2 -.mk .na \fB\fBx\fR\fR .ad .RS 8n -.rt The \fBunsigned int\fR argument is converted to unsigned hexadecimal format in the style \fIdddd\fR; the letters \fBabcdef\fR are used. The precision specifies the minimum number of digits to appear; if the value being converted @@ -528,24 +492,20 @@ of 0 is no characters. .sp .ne 2 -.mk .na \fB\fBX\fR\fR .ad .RS 8n -.rt Behaves the same as the \fBx\fR conversion specifier except that letters \fBABCDEF\fR are used instead of \fBabcdef\fR. .RE .sp .ne 2 -.mk .na \fB\fBf\fR, \fBF\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is converted to decimal notation in the style [\fB\(mi\fR]\fIddd\fR\fB\&.\fR\fIddd\fR, where the number of digits after the radix character (see \fBsetlocale\fR(3C)) is equal to the precision @@ -569,12 +529,10 @@ or "INF" is printed otherwise. .sp .ne 2 -.mk .na \fB\fBe\fR, \fBE\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is converted to the style [\fB\(mi\fR]\fId\fR\fB\&.\fR\fIddd\fR\fBe\fR\fI\(+-dd\fR, where there is one digit before the radix character (which is non-zero if the argument is @@ -590,12 +548,10 @@ inexact exception is raised. Infinity and NaN values are handled in one of the following ways: .sp .ne 2 -.mk .na \fBSUSv3\fR .ad .RS 11n -.rt For the \fBe\fR specifier, a \fBdouble\fR argument representing an infinity is printed as "[\(mi]\fBinfinity\fR", when the precision for the conversion is at least 7 and as "[\(mi]\fBinf\fR" otherwise. A \fBdouble\fR argument @@ -607,12 +563,10 @@ sign follows the rules described above. .sp .ne 2 -.mk .na \fBDefault\fR .ad .RS 11n -.rt A \fBdouble\fR argument representing an infinity is printed as "[\(mi]\fBInfinity\fR", when the precision for the conversion is at least 7 and as "[\(mi]\fBInf\fR" otherwise. A double argument representing a NaN is printed @@ -623,12 +577,10 @@ as "[\(mi]\fBNaN\fR". Printing of the sign follows the rules described above. .sp .ne 2 -.mk .na \fB\fBg\fR, \fBG\fR\fR .ad .RS 8n -.rt The \fBdouble\fR argument is printed in style \fBf\fR or \fBe\fR (or in style \fBE\fR in the case of a \fBG\fR conversion specifier), with the precision specifying the number of significant digits. If an explicit precision is 0, it @@ -646,12 +598,10 @@ precision is at least 8 and "inf", "INF", or "Inf" is printed otherwise. .sp .ne 2 -.mk .na \fB\fBa\fR, \fBA\fR\fR .ad .RS 8n -.rt A \fBdouble\fR argument representing a floating-point number is converted in the style "[-]0\fIxh\fR.\fIhhhhp\fR\(+-\fId\fR", where the single hexadecimal digit preceding the radix point is 0 if the value converted is zero and 1 @@ -677,12 +627,10 @@ SUSv3 style of an \fBe\fR or \fBE\fR conversion specifier. .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 8n -.rt The \fBint\fR argument is converted to an \fBunsigned char\fR, and the resulting byte is printed. .sp @@ -695,35 +643,29 @@ specification and the second element contains a null wide-character. .sp .ne 2 -.mk .na \fB\fBC\fR\fR .ad .RS 8n -.rt Same as \fBlc\fR. .RE .sp .ne 2 -.mk .na \fB\fBwc\fR\fR .ad .RS 8n -.rt The \fBint\fR argument is converted to a wide character (\fBwchar_t\fR), and the resulting wide character is printed. .RE .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 8n -.rt The argument must be a pointer to an array of \fBchar\fR. Bytes from the array are written up to (but not including) any terminating null byte. If a precision is specified, a standard-conforming application (see \fBstandards\fR(5)) will @@ -751,23 +693,19 @@ character written. .sp .ne 2 -.mk .na \fB\fBS\fR\fR .ad .RS 8n -.rt Same as \fBls\fR. .RE .sp .ne 2 -.mk .na \fB\fBws\fR\fR .ad .RS 8n -.rt The argument must be a pointer to an array of \fBwchar_t\fR. Bytes from the array are written up to (but not including) any terminating null character. If the precision is specified, only that portion of the wide-character array that @@ -779,12 +717,10 @@ with a null value will yield undefined results. .sp .ne 2 -.mk .na \fB\fBp\fR\fR .ad .RS 8n -.rt The argument must be a pointer to \fBvoid\fR. The value of the pointer is converted to a set of sequences of printable characters, which should be the same as the set of sequences that are matched by the \fB%p\fR conversion of the @@ -793,12 +729,10 @@ same as the set of sequences that are matched by the \fB%p\fR conversion of the .sp .ne 2 -.mk .na \fB\fBn\fR\fR .ad .RS 8n -.rt The argument must be a pointer to an integer into which is written the number of bytes written to the output standard I/O stream so far by this call to one of the \fBprintf()\fR functions. No argument is converted. @@ -806,12 +740,10 @@ of the \fBprintf()\fR functions. No argument is converted. .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 8n -.rt Print a \fB%\fR; no argument is converted. The entire conversion specification must be %%. .RE @@ -861,12 +793,10 @@ may fail, refer to \fBfputc\fR(3C) or \fBfputwc\fR(3C). The \fBsnprintf()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The value of \fIn\fR is greater than \fBINT_MAX\fR or the number of bytes needed to hold the output excluding the terminating null is greater than \fBINT_MAX\fR. @@ -878,24 +808,20 @@ The \fBprintf()\fR, \fBfprintf()\fR, \fBsprintf()\fR, and \fBsnprintf()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt A wide-character code that does not correspond to a valid character has been detected. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are insufficient arguments. .RE @@ -905,23 +831,19 @@ The \fBprintf()\fR, \fBfprintf()\fR, and \fBasprintf()\fR functions may fail due to an underlying \fBmalloc\fR(3C) failure if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt Storage space is temporarily unavailable. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -939,81 +861,67 @@ when entering format strings for the \fBprintf()\fR functions, but these sequences are processed by the C compiler, not by the \fBprintf()\fR function. .sp .ne 2 -.mk .na \fB\fB\ea\fR\fR .ad .RS 7n -.rt Alert. Ring the bell. .RE .sp .ne 2 -.mk .na \fB\fB\eb\fR\fR .ad .RS 7n -.rt Backspace. Move the printing position to one character before the current position, unless the current position is the start of a line. .RE .sp .ne 2 -.mk .na \fB\fB\ef\fR\fR .ad .RS 7n -.rt Form feed. Move the printing position to the initial printing position of the next logical page. .RE .sp .ne 2 -.mk .na \fB\fB\en\fR\fR .ad .RS 7n -.rt Newline. Move the printing position to the start of the next line. .RE .sp .ne 2 -.mk .na \fB\fB\er\fR\fR .ad .RS 7n -.rt Carriage return. Move the printing position to the start of the current line. .RE .sp .ne 2 -.mk .na \fB\fB\et\fR\fR .ad .RS 7n -.rt Horizontal tab. Move the printing position to the next implementation-defined horizontal tab position on the current line. .RE .sp .ne 2 -.mk .na \fB\fB\ev\fR\fR .ad .RS 7n -.rt Vertical tab. Move the printing position to the start of the next implementation-defined vertical tab position. .RE @@ -1136,19 +1044,18 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSee below. +MT-Level See below. _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/priv_addset.3c b/usr/src/man/man3c/priv_addset.3c index cba11c6480..7537cacde6 100644 --- a/usr/src/man/man3c/priv_addset.3c +++ b/usr/src/man/man3c/priv_addset.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 priv_addset 3C "28 Jan 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PRIV_ADDSET 3C "Jan 28, 2005" .SH NAME priv_addset, priv_allocset, priv_copyset, priv_delset, priv_emptyset, priv_fillset, priv_freeset, priv_intersect, priv_inverse, priv_isemptyset, @@ -174,24 +174,20 @@ Upon successful completion, \fBpriv_delset()\fR and \fBpriv_addset()\fR return The \fBpriv_allocset()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by the memory allocation needed to hold a privilege set. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There is insufficient memory for allocation to hold a privilege set. The application can try again later. .RE @@ -201,12 +197,10 @@ application can try again later. The \fBpriv_delset()\fR and \fBpriv_addset()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The privilege argument is not a valid privilege name. .RE @@ -218,15 +212,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/priv_set.3c b/usr/src/man/man3c/priv_set.3c index 5c48f8c939..97b1729ed8 100644 --- a/usr/src/man/man3c/priv_set.3c +++ b/usr/src/man/man3c/priv_set.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 priv_set 3C "25 Sep 2003" "SunOS 5.11" "Standard C Library Functions" +.TH PRIV_SET 3C "Sep 25, 2003" .SH NAME priv_set, priv_ineffect \- change privilege sets and check whether privileges are set @@ -58,34 +58,28 @@ and sets \fBerrno\fR to incicate the error. The \fBpriv_set()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIop\fR or \fIwhich\fR is out of range. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory was allocated. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The application attempted to add privileges to \fBPRIV_LIMIT\fR or \fBPRIV_PERMITTED\fR, or the application attempted to add privileges to \fBPRIV_INHERITABLE\fR or \fBPRIV_EFFECTIVE\fR that were not in @@ -97,23 +91,19 @@ The application attempted to add privileges to \fBPRIV_LIMIT\fR or The \fBpriv_ineffect()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The privilege specified by \fIpriv\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory was allocated. .RE @@ -125,15 +115,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/priv_str_to_set.3c b/usr/src/man/man3c/priv_str_to_set.3c index 333dd92074..783b41238a 100644 --- a/usr/src/man/man3c/priv_str_to_set.3c +++ b/usr/src/man/man3c/priv_str_to_set.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 priv_str_to_set 3C "6 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PRIV_STR_TO_SET 3C "Jan 6, 2004" .SH NAME priv_str_to_set, priv_set_to_str, priv_getbyname, priv_getbynum, priv_getsetbyname, priv_getsetbynum, priv_gettext \- privilege name functions @@ -143,24 +143,20 @@ privilege can be found. The \fBpriv_str_to_set()\fR and \fBpriv_set_to_str()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by the memory allocation needed to hold a privilege set. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There is not enough memory available to allocate sufficient memory to hold a privilege set, but the application could try again later. .RE @@ -170,12 +166,10 @@ privilege set, but the application could try again later. All of these functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One or more of the arguments is invalid. .RE @@ -215,15 +209,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pset_getloadavg.3c b/usr/src/man/man3c/pset_getloadavg.3c index e0cabe5b8d..372a42086e 100644 --- a/usr/src/man/man3c/pset_getloadavg.3c +++ b/usr/src/man/man3c/pset_getloadavg.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 pset_getloadavg 3C "28 Jun 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PSET_GETLOADAVG 3C "Jun 28, 2004" .SH NAME pset_getloadavg \- get system load averages for a processor set .SH SYNOPSIS @@ -50,12 +50,10 @@ exist, \(mi1 is returned and \fBerrno\fR is set to indicate the error. The \fBpset_getloadavg()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The number of elements specified is less than 0, or an invalid processor set ID was specified. .sp @@ -71,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/psignal.3c b/usr/src/man/man3c/psignal.3c index 8b76212041..213c45f07f 100644 --- a/usr/src/man/man3c/psignal.3c +++ b/usr/src/man/man3c/psignal.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 psignal 3C "31 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PSIGNAL 3C "Mar 31, 2005" .SH NAME psignal, psiginfo \- system signal messages .SH SYNOPSIS @@ -42,13 +42,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_atfork.3c b/usr/src/man/man3c/pthread_atfork.3c index 794a0f15a9..5268247209 100644 --- a/usr/src/man/man3c/pthread_atfork.3c +++ b/usr/src/man/man3c/pthread_atfork.3c @@ -3,20 +3,20 @@ .\" Copyright (c) 1995 IEEE All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_atfork 3C "12 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATFORK 3C "Dec 12, 2003" .SH NAME pthread_atfork \- register fork handlers .SH SYNOPSIS .LP .nf -#include <sys/types.h> +#include <sys/types.h> #include <unistd.h> \fBint\fR \fBpthread_atfork\fR(\fBvoid (*\fR\fIprepare\fR) (void), \fBvoid (*\fR\fIparent\fR) (void), @@ -56,12 +56,10 @@ an error number is returned. The \fBpthread_atfork()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR \fR .ad .RS 11n -.rt Insufficient table space exists to record the fork handler addresses. .RE @@ -128,14 +126,14 @@ Add a call to \fBpthread_atfork(f1, f2, f3)\fR in the library's pthread_mutex_lock(\|.\|.\|.); pthread_mutex_lock(Ln); } - + f2(\|) { pthread_mutex_unlock(L1); pthread_mutex_unlock(\|.\|.\|.); pthread_mutex_unlock(Ln); } - + f3(\|) { pthread_mutex_unlock(L1); @@ -153,15 +151,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getdetachstate.3c b/usr/src/man/man3c/pthread_attr_getdetachstate.3c index 74fee5b341..6c7dcd4a7c 100644 --- a/usr/src/man/man3c/pthread_attr_getdetachstate.3c +++ b/usr/src/man/man3c/pthread_attr_getdetachstate.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getdetachstate 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETDETACHSTATE 3C "Mar 23, 2005" .SH NAME pthread_attr_getdetachstate, pthread_attr_setdetachstate \- get or set detachstate attribute @@ -17,7 +17,7 @@ detachstate attribute .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_attr_setdetachstate\fR(\fBpthread_attr_t *\fR\fIattr\fR, \fBint\fR \fIdetachstate\fR); @@ -66,12 +66,10 @@ The \fBpthread_attr_setdetachstate()\fR or \fBpthread_attr_getdetachstate()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIdetachstate\fR is invalid. .RE @@ -83,15 +81,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getguardsize.3c b/usr/src/man/man3c/pthread_attr_getguardsize.3c index 877eb73b53..0b9e657030 100644 --- a/usr/src/man/man3c/pthread_attr_getguardsize.3c +++ b/usr/src/man/man3c/pthread_attr_getguardsize.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getguardsize 3C "23 mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETGUARDSIZE 3C "Mar 23, 2005" .SH NAME pthread_attr_getguardsize, pthread_attr_setguardsize \- get or set thread guardsize attribute @@ -17,7 +17,7 @@ guardsize attribute .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_attr_getguardsize\fR(\fBconst pthread_attr_t *restrict\fR \fIattr\fR, \fBsize_t *restrict\fR \fIguardsize\fR); @@ -102,34 +102,28 @@ The \fBpthread_attr_getguardsize()\fR and \fBpthread_attr_setguardsize()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The attribute \fIattr\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The parameter \fIguardsize\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The parameter \fIguardsize\fR contains an invalid value. .RE @@ -141,15 +135,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getinheritsched.3c b/usr/src/man/man3c/pthread_attr_getinheritsched.3c index d6de3aec55..b25c0df818 100644 --- a/usr/src/man/man3c/pthread_attr_getinheritsched.3c +++ b/usr/src/man/man3c/pthread_attr_getinheritsched.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getinheritsched 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETINHERITSCHED 3C "Mar 23, 2005" .SH NAME pthread_attr_getinheritsched, pthread_attr_setinheritsched \- get or set inheritsched attribute @@ -41,12 +41,10 @@ When the attribute objects are used by \fBpthread_create()\fR, the the created thread are to be set: .sp .ne 2 -.mk .na \fB\fBPTHREAD_INHERIT_SCHED\fR \fR .ad .RS 27n -.rt Specifies that the scheduling policy and associated attributes are to be inherited from the creating thread, and the scheduling attributes in this \fIattr\fR argument are to be ignored. @@ -54,12 +52,10 @@ inherited from the creating thread, and the scheduling attributes in this .sp .ne 2 -.mk .na \fB\fBPTHREAD_EXPLICIT_SCHED\fR \fR .ad .RS 27n -.rt Specifies that the scheduling policy and associated attributes are to be set to the corresponding values from this attribute object. .RE @@ -81,12 +77,10 @@ The \fBpthread_attr_setinheritsched()\fR or \fBpthread_attr_getinheritsched()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIinheritsched\fR is invalid. .RE @@ -104,15 +98,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getschedparam.3c b/usr/src/man/man3c/pthread_attr_getschedparam.3c index 7a5d6e6e5a..bbc76ce098 100644 --- a/usr/src/man/man3c/pthread_attr_getschedparam.3c +++ b/usr/src/man/man3c/pthread_attr_getschedparam.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getschedparam 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSCHEDPARAM 3C "Apr 1, 2008" .SH NAME pthread_attr_getschedparam, pthread_attr_setschedparam \- get or set schedparam attribute @@ -49,12 +49,10 @@ error number is returned to indicate the error. The \fBpthread_attr_setschedparam()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR is invalid. .RE @@ -63,12 +61,10 @@ The \fBpthread_attr_setschedparam()\fR function may fail if: The \fBpthread_attr_getschedparam()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIparam\fR is invalid. .RE @@ -86,17 +82,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getschedpolicy.3c b/usr/src/man/man3c/pthread_attr_getschedpolicy.3c index 34b7f52c5e..4cc9a90c4a 100644 --- a/usr/src/man/man3c/pthread_attr_getschedpolicy.3c +++ b/usr/src/man/man3c/pthread_attr_getschedpolicy.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getschedpolicy 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSCHEDPOLICY 3C "Apr 1, 2008" .SH NAME pthread_attr_getschedpolicy, pthread_attr_setschedpolicy \- get or set schedpolicy attribute @@ -59,12 +59,10 @@ The \fBpthread_attr_setschedpolicy()\fR or \fBpthread_attr_getschedpolicy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIpolicy\fR is invalid. .RE @@ -82,17 +80,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getscope.3c b/usr/src/man/man3c/pthread_attr_getscope.3c index 3dd4188996..72d9fa8044 100644 --- a/usr/src/man/man3c/pthread_attr_getscope.3c +++ b/usr/src/man/man3c/pthread_attr_getscope.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getscope 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSCOPE 3C "Mar 23, 2005" .SH NAME pthread_attr_getscope, pthread_attr_setscope \- get or set contentionscope attribute @@ -56,12 +56,10 @@ The \fBpthread_attr_setscope()\fR, or \fBpthread_attr_getscope()\fR, function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIcontentionscope\fR is invalid. .RE @@ -79,15 +77,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getstack.3c b/usr/src/man/man3c/pthread_attr_getstack.3c index 951ffce866..1f1cb5cbfb 100644 --- a/usr/src/man/man3c/pthread_attr_getstack.3c +++ b/usr/src/man/man3c/pthread_attr_getstack.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getstack 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSTACK 3C "Mar 23, 2005" .SH NAME pthread_attr_getstack, pthread_attr_setstack \- get or set stack attributes .SH SYNOPSIS .LP .nf -cc \fB-mt\fR [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpthread\fR [ \fIlibrary\fR\&.\|.\|. ] +cc \fB-mt\fR [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpthread\fR [ \fIlibrary\fR\&.\|.\|. ] #include <pthread.h> \fBint\fR \fBpthread_attr_getstack\fR(\fBconst pthread_attr_t *restrict\fR \fIattr\fR, @@ -58,12 +58,10 @@ stackaddr and stacksize if successful. The \fBpthread_attr_setstack()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIstacksize\fR is less than {\fBPTHREAD_STACK_MIN\fR}. .RE @@ -72,24 +70,20 @@ The value of \fIstacksize\fR is less than {\fBPTHREAD_STACK_MIN\fR}. The \fBpthread_attr_setstack()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The stack page(s) described by \fIstackaddr\fR and \fIstacksize\fR are not both readable and writable by the thread. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIstackaddr\fR does not have proper alignment to be used as a stack, or (\fIstackaddr\fR + \fIstacksize\fR) lacks proper alignment. .RE @@ -107,15 +101,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getstackaddr.3c b/usr/src/man/man3c/pthread_attr_getstackaddr.3c index a5059b42db..01a3f55460 100644 --- a/usr/src/man/man3c/pthread_attr_getstackaddr.3c +++ b/usr/src/man/man3c/pthread_attr_getstackaddr.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getstackaddr 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSTACKADDR 3C "Mar 23, 2005" .SH NAME pthread_attr_getstackaddr, pthread_attr_setstackaddr \- get or set stackaddr attribute @@ -56,12 +56,10 @@ If successful, the \fBpthread_attr_getstackaddr()\fR function stores the The \fBpthread_attr_setstackaddr()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR is invalid. .RE @@ -70,12 +68,10 @@ The \fBpthread_attr_setstackaddr()\fR function may fail if: The \fBpthread_attr_getstackaddr()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIstackaddr\fR is invalid. .RE @@ -87,15 +83,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_getstacksize.3c b/usr/src/man/man3c/pthread_attr_getstacksize.3c index 4bc3409a84..6586c9e1bc 100644 --- a/usr/src/man/man3c/pthread_attr_getstacksize.3c +++ b/usr/src/man/man3c/pthread_attr_getstacksize.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_getstacksize 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_GETSTACKSIZE 3C "Mar 23, 2005" .SH NAME pthread_attr_getstacksize, pthread_attr_setstacksize \- get or set stacksize attribute @@ -55,12 +55,10 @@ The \fBpthread_attr_setstacksize()\fR or \fBpthread_attr_getstacksize()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR or \fIstacksize\fR is invalid. .RE @@ -72,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_attr_init.3c b/usr/src/man/man3c/pthread_attr_init.3c index 191b46b5a9..5d5bce0420 100644 --- a/usr/src/man/man3c/pthread_attr_init.3c +++ b/usr/src/man/man3c/pthread_attr_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_attr_init 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ATTR_INIT 3C "Apr 1, 2008" .SH NAME pthread_attr_init, pthread_attr_destroy \- initialize or destroy threads attribute object @@ -47,22 +47,20 @@ The \fBpthread_attr_init()\fR function initializes a thread attributes object ( .sp .TS -tab(); -cw(1.83i) cw(1.83i) cw(1.83i) -lw(1.83i) lw(1.83i) lw(1.83i) -. -AttributeDefault ValueMeaning of Default +c c c +l l l . +Attribute Default Value Meaning of Default _ -\fIcontentionscope\fR\fBPTHREAD_SCOPE_PROCESS\fRresource competition within process -\fIdetachstate\fR\fBPTHREAD_CREATE_JOINABLE\fRjoinable by other threads -\fIstackaddr\fR\fBNULL\fRstack allocated by system -\fIstacksize\fR01 or 2 megabyte -\fIpriority\fR0priority of the thread -\fIpolicy\fR\fBSCHED_OTHER\fRtraditional time-sharing policy -\fIinheritsched\fR\fBPTHREAD_INHERIT_SCHED\fRT{ +\fIcontentionscope\fR \fBPTHREAD_SCOPE_PROCESS\fR resource competition within process +\fIdetachstate\fR \fBPTHREAD_CREATE_JOINABLE\fR joinable by other threads +\fIstackaddr\fR \fBNULL\fR stack allocated by system +\fIstacksize\fR 0 1 or 2 megabyte +\fIpriority\fR 0 priority of the thread +\fIpolicy\fR \fBSCHED_OTHER\fR traditional time-sharing policy +\fIinheritsched\fR \fBPTHREAD_INHERIT_SCHED\fR T{ scheduling policy and parameters are inherited from the creating thread T} -\fIguardsize\fR\fBPAGESIZE\fRT{ +\fIguardsize\fR \fBPAGESIZE\fR T{ size of guard area for a thread's created stack T} .TE @@ -86,12 +84,10 @@ number is returned to indicate the error. The \fBpthread_attr_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the thread attributes object. .RE @@ -100,12 +96,10 @@ Insufficient memory exists to initialize the thread attributes object. The \fBpthread_attr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt \fIattr\fR is invalid. .RE @@ -117,17 +111,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_barrier_destroy.3c b/usr/src/man/man3c/pthread_barrier_destroy.3c index 4aa7d5420b..8bf63cde88 100644 --- a/usr/src/man/man3c/pthread_barrier_destroy.3c +++ b/usr/src/man/man3c/pthread_barrier_destroy.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_barrier_destroy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_BARRIER_DESTROY 3C "Jan 30, 2004" .SH NAME pthread_barrier_destroy, pthread_barrier_init \- destroy and initialize a barrier object @@ -74,34 +74,28 @@ number is returned to indicate the error. The \fBpthread_barrier_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacks the necessary resources to initialize another barrier. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIcount\fR is equal to 0. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the barrier. .RE @@ -110,12 +104,10 @@ Insufficient memory exists to initialize the barrier. The \fBpthread_barrier_init()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The implementation has detected an attempt to destroy a barrier while it is in use (for example, while being used in a \fBpthread_barrier_wait()\fR call) by another thread. @@ -123,12 +115,10 @@ another thread. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -137,12 +127,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_barrier_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The implementation has detected an attempt to destroy a barrier while it is in use (for example, while being used in a \fBpthread_barrier_wait()\fR call) by another thread. @@ -150,12 +138,10 @@ another thread. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIbarrier\fR is invalid. .RE @@ -167,15 +153,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_barrier_wait.3c b/usr/src/man/man3c/pthread_barrier_wait.3c index e02e87a44e..9a612c96c2 100644 --- a/usr/src/man/man3c/pthread_barrier_wait.3c +++ b/usr/src/man/man3c/pthread_barrier_wait.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_barrier_wait 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_BARRIER_WAIT 3C "Jan 30, 2004" .SH NAME pthread_barrier_wait \- synchronize at a barrier .SH SYNOPSIS @@ -73,12 +73,10 @@ error number is returned to indicate the error. The \fBpthread_barrier_wait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIbarrier\fR does not refer to an initialized barrier object. .RE @@ -91,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_barrierattr_destroy.3c b/usr/src/man/man3c/pthread_barrierattr_destroy.3c index d9adc06151..5edd4ba053 100644 --- a/usr/src/man/man3c/pthread_barrierattr_destroy.3c +++ b/usr/src/man/man3c/pthread_barrierattr_destroy.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_barrierattr_destroy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_BARRIERATTR_DESTROY 3C "Jan 30, 2004" .SH NAME pthread_barrierattr_destroy, pthread_barrierattr_init \- destroy and initialize barrier attributes object @@ -61,12 +61,10 @@ number is returned to indicate the error. The \fBpthread_barrierattr_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the barrier attributes object. .RE @@ -75,12 +73,10 @@ Insufficient memory exists to initialize the barrier attributes object. The \fBpthread_barrierattr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -92,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_barrierattr_getpshared.3c b/usr/src/man/man3c/pthread_barrierattr_getpshared.3c index 654461c143..34c4c63156 100644 --- a/usr/src/man/man3c/pthread_barrierattr_getpshared.3c +++ b/usr/src/man/man3c/pthread_barrierattr_getpshared.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_barrierattr_getpshared 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_BARRIERATTR_GETPSHARED 3C "Jan 30, 2004" .SH NAME pthread_barrierattr_getpshared, pthread_barrierattr_setpshared \- get and set process-shared attribute of barrier attributes object @@ -72,12 +72,10 @@ returns 0. Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -86,12 +84,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_barrierattr_setpshared()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The new value specified for the \fIprocess-shared\fR attribute is not one of the legal values \fBPTHREAD_PROCESS_SHARED\fR or \fBPTHREAD_PROCESS_PRIVATE\fR. .RE @@ -104,15 +100,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cancel.3c b/usr/src/man/man3c/pthread_cancel.3c index 84ee0d92de..da6f6b3bfd 100644 --- a/usr/src/man/man3c/pthread_cancel.3c +++ b/usr/src/man/man3c/pthread_cancel.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cancel 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CANCEL 3C "Nov 2, 2007" .SH NAME pthread_cancel \- cancel execution of a thread .SH SYNOPSIS @@ -57,12 +57,10 @@ an error number is returned to indicate the error. The \fBpthread_cancel()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt No thread was found with an \fBID\fR corresponding to that specified by the given thread \fBID,\fR \fItarget_thread\fR. .RE @@ -75,17 +73,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cleanup_pop.3c b/usr/src/man/man3c/pthread_cleanup_pop.3c index 01681dc129..a15a51a9ba 100644 --- a/usr/src/man/man3c/pthread_cleanup_pop.3c +++ b/usr/src/man/man3c/pthread_cleanup_pop.3c @@ -3,14 +3,14 @@ .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cleanup_pop 3C "4 Oct 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CLEANUP_POP 3C "Oct 4, 2005" .SH NAME pthread_cleanup_pop \- pop a thread cancellation cleanup handler .SH SYNOPSIS @@ -72,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cleanup_push.3c b/usr/src/man/man3c/pthread_cleanup_push.3c index 5988078c67..4b0cee982b 100644 --- a/usr/src/man/man3c/pthread_cleanup_push.3c +++ b/usr/src/man/man3c/pthread_cleanup_push.3c @@ -3,14 +3,14 @@ .\" Copyright (c) 1995 IEEE. All Rights Reserved. .\" Copyright (c) 1991, 1992, 1994, The X/Open Company Ltd. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cleanup_push 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CLEANUP_PUSH 3C "Nov 2, 2007" .SH NAME pthread_cleanup_push \- push a thread cancellation cleanup handler .SH SYNOPSIS @@ -77,17 +77,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cond_init.3c b/usr/src/man/man3c/pthread_cond_init.3c index 7c1596708f..755b2c33a0 100644 --- a/usr/src/man/man3c/pthread_cond_init.3c +++ b/usr/src/man/man3c/pthread_cond_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cond_init 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_COND_INIT 3C "Mar 23, 2005" .SH NAME pthread_cond_init, pthread_cond_destroy \- initialize or destroy condition variables @@ -81,24 +81,20 @@ condition variable specified by \fIcond\fR. The \fBpthread_cond_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacked the necessary resources (other than memory) to initialize another condition variable. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the condition variable. .RE @@ -107,12 +103,10 @@ Insufficient memory exists to initialize the condition variable. The \fBpthread_cond_init()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The implementation has detected an attempt to re-initialize the object referenced by \fIcond\fR, a previously initialized, but not yet destroyed, condition variable. @@ -120,12 +114,10 @@ condition variable. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -134,12 +126,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_cond_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The implementation has detected an attempt to destroy the object referenced by \fIcond\fR while it is referenced (for example, while being used in a \fBpthread_cond_wait()\fR or \fBpthread_cond_timedwait()\fR) by another thread. @@ -147,12 +137,10 @@ The implementation has detected an attempt to destroy the object referenced by .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIcond\fR is invalid. .RE @@ -164,15 +152,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cond_signal.3c b/usr/src/man/man3c/pthread_cond_signal.3c index 0959e39f0e..d0aba675cb 100644 --- a/usr/src/man/man3c/pthread_cond_signal.3c +++ b/usr/src/man/man3c/pthread_cond_signal.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cond_signal 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_COND_SIGNAL 3C "Mar 23, 2005" .SH NAME pthread_cond_signal, pthread_cond_broadcast \- signal or broadcast a condition .SH SYNOPSIS @@ -76,12 +76,10 @@ The \fBpthread_cond_signal()\fR and \fBpthread_cond_broadcast()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value \fIcond\fR does not refer to an initialized condition variable. .RE @@ -93,15 +91,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_cond_wait.3c b/usr/src/man/man3c/pthread_cond_wait.3c index abf79de77e..e9e69a1a6f 100644 --- a/usr/src/man/man3c/pthread_cond_wait.3c +++ b/usr/src/man/man3c/pthread_cond_wait.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_cond_wait 3C "11 Nov 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_COND_WAIT 3C "Nov 11, 2008" .SH NAME pthread_cond_wait, pthread_cond_timedwait, pthread_cond_reltimedwait_np \- wait on a condition @@ -17,7 +17,7 @@ on a condition .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_cond_wait\fR(\fBpthread_cond_t *restrict\fR \fIcond\fR, \fBpthread_mutex_t *restrict\fR \fImutex\fR); @@ -143,12 +143,10 @@ returned to indicate the error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The mutex type is \fBPTHREAD_MUTEX_ERRORCHECK\fR or the mutex is a robust mutex, and the current thread does not own the mutex. .RE @@ -158,12 +156,10 @@ mutex, and the current thread does not own the mutex. The \fBpthread_cond_timedwait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The absolute time specified by \fIabstime\fR to \fBpthread_cond_timedwait()\fR has passed. .RE @@ -173,23 +169,19 @@ has passed. The \fBpthread_cond_reltimedwait_np()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The value specified by \fIreltime\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The relative time specified by \fIreltime\fR to \fBpthread_cond_reltimedwait_np()\fR has passed. .RE @@ -199,24 +191,20 @@ The relative time specified by \fIreltime\fR to These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIcond\fR, \fImutex\fR, \fIabstime\fR, or \fIreltime\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Different mutexes were supplied for concurrent operations on the same condition variable. .RE @@ -232,24 +220,20 @@ the \fBpthread_mutex_lock\fR(3C) and \fBpthread_mutexattr_setrobust\fR(3C) manual pages. .sp .ne 2 -.mk .na \fB\fBEOWNERDEAD\fR\fR .ad .RS 19n -.rt The last owner of this mutex died while holding the mutex, leaving the state it was protecting possibly inconsistent. The mutex is now owned by the caller. .RE .sp .ne 2 -.mk .na \fB\fBENOTRECOVERABLE\fR\fR .ad .RS 19n -.rt The mutex was protecting state that has now been left irrecoverable. The mutex has not been acquired. .RE @@ -262,15 +246,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_condattr_getclock.3c b/usr/src/man/man3c/pthread_condattr_getclock.3c index 6f9934a14c..b4fa5e37dd 100644 --- a/usr/src/man/man3c/pthread_condattr_getclock.3c +++ b/usr/src/man/man3c/pthread_condattr_getclock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_condattr_getclock 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CONDATTR_GETCLOCK 3C "Jan 30, 2004" .SH NAME pthread_condattr_getclock, pthread_condattr_setclock \- get and set the clock selection condition variable attribute @@ -60,12 +60,10 @@ returns 0. Otherwise, an error number is returned to indicate the error. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -74,12 +72,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_condattr_setclock()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIclock_id\fR does not refer to a known clock, or is a CPU-time clock. .RE @@ -92,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_condattr_getpshared.3c b/usr/src/man/man3c/pthread_condattr_getpshared.3c index 7601dbb160..0d761be9d2 100644 --- a/usr/src/man/man3c/pthread_condattr_getpshared.3c +++ b/usr/src/man/man3c/pthread_condattr_getpshared.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_condattr_getpshared 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CONDATTR_GETPSHARED 3C "Mar 23, 2005" .SH NAME pthread_condattr_getpshared, pthread_condattr_setpshared \- get or set process-shared condition variable attributes @@ -72,12 +72,10 @@ The \fBpthread_condattr_getpshared()\fR and \fBpthread_condattr_setpshared()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -86,12 +84,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_condattr_setpshared()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The new value specified for the attribute is outside the range of legal values for that attribute. .RE @@ -104,15 +100,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_condattr_init.3c b/usr/src/man/man3c/pthread_condattr_init.3c index eae5001381..c53e51f615 100644 --- a/usr/src/man/man3c/pthread_condattr_init.3c +++ b/usr/src/man/man3c/pthread_condattr_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_condattr_init 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CONDATTR_INIT 3C "Mar 23, 2005" .SH NAME pthread_condattr_init, pthread_condattr_destroy \- initialize or destroy condition variable attributes object @@ -73,12 +73,10 @@ number is returned to indicate the error. The \fBpthread_condattr_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the condition variable attributes object. .RE @@ -88,12 +86,10 @@ object. The \fBpthread_condattr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -105,15 +101,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_create.3c b/usr/src/man/man3c/pthread_create.3c index eeeada69f5..ecc98ceb42 100644 --- a/usr/src/man/man3c/pthread_create.3c +++ b/usr/src/man/man3c/pthread_create.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_create 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_CREATE 3C "Mar 23, 2005" .SH NAME pthread_create \- create a thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_create\fR(\fBpthread_t *restrict\fR \fIthread\fR, \fBconst pthread_attr_t *restrict\fR \fIattr\fR, @@ -65,7 +65,7 @@ Default thread creation: .nf pthread_t tid; void *start_func(void *), *arg; - + pthread_create(&tid, NULL, start_func, arg); .fi .in -2 @@ -77,7 +77,7 @@ This would have the same effect as: .in +2 .nf \fBpthread_attr_t attr; - + pthread_attr_init(&attr); /* initialize attr with default */ /* attributes */ pthread_create(&tid, &attr, start_func, arg);\fR @@ -93,7 +93,7 @@ system-wide basis, use: .nf pthread_attr_init(&attr); /* initialize attr with default */ /* attributes */ -pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); +pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); /* system-wide contention */ pthread_create(&tid, &attr, start_func, arg); .fi @@ -127,12 +127,10 @@ an error number is returned to indicate the error. The \fBpthread_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacked the necessary resources to create another thread, or the system-imposed limit on the total number of threads in a process \fBPTHREAD_THREADS_MAX\fR would be exceeded. @@ -140,23 +138,19 @@ system-imposed limit on the total number of threads in a process .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have appropriate permission to set the required scheduling parameters or scheduling policy. .RE @@ -185,23 +179,19 @@ The command-line to time this process is: .sp .ne 2 -.mk .na \fBPOSIX threading\fR .ad .RS 21n -.rt /usr/bin/time a.out 0 .RE .sp .ne 2 -.mk .na \fBSolaris threading\fR .ad .RS 21n -.rt /usr/bin/time a.out 1 .RE @@ -212,14 +202,14 @@ The command-line to time this process is: #define _REENTRANT /* basic 3-lines for threads */ #include <pthread.h> #include <thread.h> - + #define NUM_THREADS 5 #define SLEEP_TIME 10 - + void *sleeping(void *); /* thread routine */ int i; thread_t tid[NUM_THREADS]; /* array of thread IDs */ - + int main(int argc, char *argv[]) { @@ -228,7 +218,7 @@ main(int argc, char *argv[]) printf("or use 1 as arg1 to use thr_create(\|)\en"); return (1); } - + switch (*argv[1]) { case '0': /* POSIX */ for ( i = 0; i < NUM_THREADS; i++) @@ -237,7 +227,7 @@ main(int argc, char *argv[]) for ( i = 0; i < NUM_THREADS; i++) pthread_join(tid[i], NULL); break; - + case '1': /* Solaris */ for ( i = 0; i < NUM_THREADS; i++) thr_create(NULL, 0, sleeping, (void *)SLEEP_TIME, 0, @@ -246,11 +236,11 @@ main(int argc, char *argv[]) ; break; } /* switch */ - printf("main(\|) reporting that all %d threads have + printf("main(\|) reporting that all %d threads have terminated\en", i); return (0); } /* main */ - + void * sleeping(void *arg) { @@ -279,15 +269,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_detach.3c b/usr/src/man/man3c/pthread_detach.3c index 0a769b4b90..b4f7cec1a6 100644 --- a/usr/src/man/man3c/pthread_detach.3c +++ b/usr/src/man/man3c/pthread_detach.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_detach 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_DETACH 3C "Mar 23, 2005" .SH NAME pthread_detach \- detach a thread .SH SYNOPSIS @@ -44,24 +44,20 @@ number is returned to indicate the error. The \fBpthread_detach()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The implementation has detected that the value specified by \fIthread\fR does not refer to a joinable thread. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No thread could be found corresponding to that specified by the given thread \fBID.\fR .RE @@ -74,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_equal.3c b/usr/src/man/man3c/pthread_equal.3c index 01d8b7f01a..921ec228d4 100644 --- a/usr/src/man/man3c/pthread_equal.3c +++ b/usr/src/man/man3c/pthread_equal.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_equal 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_EQUAL 3C "Mar 23, 2005" .SH NAME pthread_equal \- compare thread IDs .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_exit.3c b/usr/src/man/man3c/pthread_exit.3c index 856c859e49..b4709907ba 100644 --- a/usr/src/man/man3c/pthread_exit.3c +++ b/usr/src/man/man3c/pthread_exit.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_exit 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_EXIT 3C "Nov 2, 2007" .SH NAME pthread_exit \- terminate calling thread .SH SYNOPSIS @@ -79,17 +79,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_getconcurrency.3c b/usr/src/man/man3c/pthread_getconcurrency.3c index f3f34317c0..465a99f735 100644 --- a/usr/src/man/man3c/pthread_getconcurrency.3c +++ b/usr/src/man/man3c/pthread_getconcurrency.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_getconcurrency 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_GETCONCURRENCY 3C "Mar 23, 2005" .SH NAME pthread_getconcurrency, pthread_setconcurrency \- get or set level of concurrency @@ -17,7 +17,7 @@ concurrency .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_getconcurrency\fR(\fBvoid\fR); .fi @@ -84,23 +84,19 @@ level set by a previous call to \fBpthread_setconcurrency()\fR. If the The \fBpthread_setconcurrency()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fInew_level\fR is negative. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The value specific by \fInew_level\fR would cause a system resource to be exceeded. .RE @@ -113,15 +109,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_getschedparam.3c b/usr/src/man/man3c/pthread_getschedparam.3c index 0a33807cf6..7422b78b62 100644 --- a/usr/src/man/man3c/pthread_getschedparam.3c +++ b/usr/src/man/man3c/pthread_getschedparam.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_getschedparam 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_GETSCHEDPARAM 3C "Apr 1, 2008" .SH NAME pthread_getschedparam, pthread_setschedparam \- access dynamic thread scheduling parameters @@ -38,67 +38,55 @@ within a multithreaded process to be retrieved and set. Supported policies are : .sp .ne 2 -.mk .na \fB\fBSCHED_OTHER\fR\fR .ad .RS 15n -.rt traditional time-sharing scheduling class .RE .sp .ne 2 -.mk .na \fB\fBSCHED_FIFO\fR\fR .ad .RS 15n -.rt real-time class: run to completion .RE .sp .ne 2 -.mk .na \fB\fBSCHED_RR\fR\fR .ad .RS 15n -.rt real-time class: round-robin .RE .sp .ne 2 -.mk .na \fB\fBSCHED_IA\fR\fR .ad .RS 15n -.rt interactive time-sharing class .RE .sp .ne 2 -.mk .na \fB\fBSCHED_FSS\fR\fR .ad .RS 15n -.rt fair-share scheduling class .RE .sp .ne 2 -.mk .na \fB\fBSCHED_FX\fR\fR .ad .RS 15n -.rt fixed priority scheduling class .RE @@ -136,12 +124,10 @@ The \fBpthread_getschedparam()\fR and \fBpthread_gsetschedparam()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt The value specified by \fIthread\fR does not refer to an existing thread. .RE @@ -150,24 +136,20 @@ The value specified by \fIthread\fR does not refer to an existing thread. The \fBpthread_setschedparam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIpolicy\fR or one of the scheduling parameters associated with the scheduling policy \fIpolicy\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the appropriate permission to set either the scheduling parameters or the scheduling policy of the specified thread. .RE @@ -180,17 +162,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_getspecific.3c b/usr/src/man/man3c/pthread_getspecific.3c index 31904adc5d..51c17027b5 100644 --- a/usr/src/man/man3c/pthread_getspecific.3c +++ b/usr/src/man/man3c/pthread_getspecific.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_getspecific 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_GETSPECIFIC 3C "Mar 23, 2005" .SH NAME pthread_getspecific, pthread_setspecific \- manage thread-specific data .SH SYNOPSIS @@ -66,12 +66,10 @@ Upon successful completion, the \fBpthread_setspecific()\fR function returns The \fBpthread_setspecific()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to associate the value with the key. .RE @@ -80,12 +78,10 @@ Insufficient memory exists to associate the value with the key. The \fBpthread_setspecific()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The key value is invalid. .RE @@ -100,15 +96,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_join.3c b/usr/src/man/man3c/pthread_join.3c index 45e930b3a1..a8c6a4331d 100644 --- a/usr/src/man/man3c/pthread_join.3c +++ b/usr/src/man/man3c/pthread_join.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_join 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_JOIN 3C "Mar 23, 2005" .SH NAME pthread_join \- wait for thread termination .SH SYNOPSIS @@ -56,35 +56,29 @@ is returned to indicate the error. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt A joining deadlock would occur, such as when a thread attempts to wait for itself. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The thread corresponding to the given thread ID is a detached thread. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 11n -.rt No thread could be found corresponding to the given thread ID. .RE @@ -96,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_key_create.3c b/usr/src/man/man3c/pthread_key_create.3c index 49b40d5c3e..eb528ec023 100644 --- a/usr/src/man/man3c/pthread_key_create.3c +++ b/usr/src/man/man3c/pthread_key_create.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_key_create 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_KEY_CREATE 3C "Nov 2, 2007" .SH NAME pthread_key_create, pthread_key_create_once_np \- create thread-specific data key @@ -87,12 +87,10 @@ The \fBpthread_key_create()\fR and \fBpthread_key_create_once_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacked the necessary resources to create another thread-specific data key, or the system-imposed limit on the total number of keys per process \fBPTHREAD_KEYS_MAX\fR has been exceeded. @@ -100,12 +98,10 @@ data key, or the system-imposed limit on the total number of keys per process .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to create the key. .RE @@ -175,7 +171,7 @@ static void show_tsd() { void *tsd = pthread_getspecific(tsd_key); - + printf("tsd for %d = %s\en", pthread_self(), (char *)tsd); } @@ -197,17 +193,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted. +Interface Stability Committed. _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/pthread_key_delete.3c b/usr/src/man/man3c/pthread_key_delete.3c index 571b50ce43..1f395b23cc 100644 --- a/usr/src/man/man3c/pthread_key_delete.3c +++ b/usr/src/man/man3c/pthread_key_delete.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_key_delete 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_KEY_DELETE 3C "Mar 23, 2005" .SH NAME pthread_key_delete \- delete thread-specific data key .SH SYNOPSIS @@ -50,12 +50,10 @@ Otherwise, an error number is returned to indicate the error. The \fBpthread_key_delete()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIkey\fR value is invalid. .RE @@ -71,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_kill.3c b/usr/src/man/man3c/pthread_kill.3c index 8f2ddd733d..6e35828868 100644 --- a/usr/src/man/man3c/pthread_kill.3c +++ b/usr/src/man/man3c/pthread_kill.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_kill 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_KILL 3C "Mar 23, 2005" .SH NAME pthread_kill \- send a signal to a thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <signal.h> +#include <signal.h> #include <pthread.h> \fBint\fR \fBpthread_kill\fR(\fBpthread_t\fR \fIthread\fR, \fBint\fR \fIsig\fR); @@ -44,24 +44,20 @@ fails, no signal is sent. The \fBpthread_kill()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No thread could be found corresponding to that specified by the given thread \fBID.\fR .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIsig\fR argument is an invalid or unsupported signal number. .RE @@ -73,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutex_getprioceiling.3c b/usr/src/man/man3c/pthread_mutex_getprioceiling.3c index d29046a8d3..a0686deff5 100644 --- a/usr/src/man/man3c/pthread_mutex_getprioceiling.3c +++ b/usr/src/man/man3c/pthread_mutex_getprioceiling.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutex_getprioceiling 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEX_GETPRIOCEILING 3C "Apr 1, 2008" .SH NAME pthread_mutex_getprioceiling, pthread_mutex_setprioceiling \- change priority ceiling of a mutex @@ -77,12 +77,10 @@ The \fBpthread_mutex_getprioceiling()\fR and \fBpthread_mutex_setprioceiling()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fImutex\fR does not refer to a currently existing mutex. .RE @@ -92,35 +90,29 @@ mutex. The \fBpthread_mutex_setprioceiling()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The mutex was not initialized with its \fIprotocol\fR attribute having the value of \fBPTHREAD_PRIO_PROTECT\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The priority requested by \fIprioceiling\fR is out of range. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the privilege to perform the operation. .RE @@ -132,17 +124,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutex_init.3c b/usr/src/man/man3c/pthread_mutex_init.3c index 1f0cd42d92..ba2848ef7f 100644 --- a/usr/src/man/man3c/pthread_mutex_init.3c +++ b/usr/src/man/man3c/pthread_mutex_init.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutex_init 3C "11 Nov 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEX_INIT 3C "Nov 11, 2008" .SH NAME pthread_mutex_init, pthread_mutex_destroy \- initialize or destroy a mutex .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_mutex_init\fR(\fBpthread_mutex_t *restrict\fR \fImutex\fR, \fBconst pthread_mutexattr_t *restrict\fR \fIattr\fR); @@ -74,59 +74,49 @@ the error. The \fBpthread_mutex_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacked the necessary resources (other than memory) to initialize another mutex. .RE .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt An attempt was detected to re-initialize a robust mutex previously initialized but not yet destroyed. See \fBpthread_mutexattr_setrobust\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An attempt was detected to re-initialize a robust mutex previously initialized with a different set of attributes. See \fBpthread_mutexattr_setrobust\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the mutex. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the privilege to perform the operation. .RE @@ -135,24 +125,20 @@ The caller does not have the privilege to perform the operation. The \fBpthread_mutex_init()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt An attempt was detected to re-initialize the object referenced by \fImutex\fR, a mutex previously initialized but not yet destroyed. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR or \fImutex\fR is invalid. .RE @@ -161,12 +147,10 @@ The value specified by \fIattr\fR or \fImutex\fR is invalid. The \fBpthread_mutex_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt An attempt was detected to destroy the object referenced by \fImutex\fR while it is locked or referenced (for example, while being used in a \fBpthread_cond_wait\fR(3C) or \fBpthread_cond_timedwait\fR(3C)) by another @@ -175,12 +159,10 @@ thread. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fImutex\fR is invalid. .RE @@ -192,15 +174,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutex_lock.3c b/usr/src/man/man3c/pthread_mutex_lock.3c index aa1fcb7449..37a8e0fb88 100644 --- a/usr/src/man/man3c/pthread_mutex_lock.3c +++ b/usr/src/man/man3c/pthread_mutex_lock.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutex_lock 3C "11 Nov 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEX_LOCK 3C "Nov 11, 2008" .SH NAME pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock \- lock or unlock a mutex @@ -109,24 +109,20 @@ The \fBpthread_mutex_lock()\fR and \fBpthread_mutex_trylock()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The mutex could not be acquired because the maximum number of recursive locks for mutex has been exceeded. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fImutex\fR was created with the protocol attribute having the value \fBPTHREAD_PRIO_PROTECT\fR and the calling thread's priority is higher than the mutex's current priority ceiling. @@ -134,12 +130,10 @@ mutex's current priority ceiling. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The mutex was created with the protocol attribute having the value \fBPTHREAD_PRIO_PROTECT\fR and the calling thread is not in the real-time class (\fBSCHED_RR\fR or \fBSCHED_FIFO\fR scheduling class). @@ -150,12 +144,10 @@ The mutex was created with the protocol attribute having the value The \fBpthread_mutex_trylock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt The \fImutex\fR could not be acquired because it was already locked. .RE @@ -165,12 +157,10 @@ The \fBpthread_mutex_lock()\fR, \fBpthread_mutex_trylock()\fR and \fBpthread_mutex_unlock()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fImutex\fR does not refer to an initialized mutex object. .RE @@ -180,23 +170,19 @@ object. The \fBpthread_mutex_lock()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The current thread already owns the mutex. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The limit on the number of simultaneously held mutexes has been exceeded. .RE @@ -205,12 +191,10 @@ The limit on the number of simultaneously held mutexes has been exceeded. The \fBpthread_mutex_unlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The mutex type is PTHREAD_MUTEX_ERRORCHECK or the mutex is a robust mutex, and the current thread does not own the mutex. .RE @@ -224,12 +208,10 @@ attribute having the value \fBPTHREAD_MUTEX_ROBUST\fR (see if: .sp .ne 2 -.mk .na \fB\fBEOWNERDEAD\fR\fR .ad .RS 19n -.rt The last owner of this mutex died while holding the mutex, or the process containing the owner of the mutex unmapped the memory containing the mutex or performed one of the \fBexec\fR(2) functions. This mutex is now owned by the @@ -248,12 +230,10 @@ value \fBENOTRECOVERABLE\fR. If the owner who acquired the lock with .sp .ne 2 -.mk .na \fB\fBENOTRECOVERABLE\fR\fR .ad .RS 19n -.rt The mutex trying to be acquired was protecting the state that has been left irrecoverable by the mutex's last owner. The mutex has not been acquired. This condition can occur when the lock was previously acquired with @@ -269,17 +249,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutex_timedlock.3c b/usr/src/man/man3c/pthread_mutex_timedlock.3c index 8b8b851e8e..ad72aa0f5f 100644 --- a/usr/src/man/man3c/pthread_mutex_timedlock.3c +++ b/usr/src/man/man3c/pthread_mutex_timedlock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutex_timedlock 3C "5 Jun 2007" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEX_TIMEDLOCK 3C "Jun 5, 2007" .SH NAME pthread_mutex_timedlock, pthread_mutex_reltimedlock_np \- lock a mutex .SH SYNOPSIS @@ -84,12 +84,10 @@ functions will fail for the same reasons as \fBpthread_mutex_lock\fR(3C). In addition, they will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The caller would have blocked and the \fItimeout\fR parameter specified a nanoseconds field value less than zero or greater than or equal to 1,000 million. @@ -97,12 +95,10 @@ million. .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The mutex could not be locked before the specified \fItimeout\fR expired. .RE @@ -114,15 +110,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/pthread_mutexattr_getprioceiling.3c b/usr/src/man/man3c/pthread_mutexattr_getprioceiling.3c index 42333985ca..bcd5aa3f17 100644 --- a/usr/src/man/man3c/pthread_mutexattr_getprioceiling.3c +++ b/usr/src/man/man3c/pthread_mutexattr_getprioceiling.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutexattr_getprioceiling 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEXATTR_GETPRIOCEILING 3C "Apr 1, 2008" .SH NAME pthread_mutexattr_getprioceiling, pthread_mutexattr_setprioceiling \- get or set prioceiling attribute of mutex attribute object @@ -17,7 +17,7 @@ set prioceiling attribute of mutex attribute object .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_mutexattr_getprioceiling\fR( \fBconst pthread_mutexattr_t *restrict\fR \fIattr\fR, @@ -71,12 +71,10 @@ an error number is returned to indicate the error. The \fBpthread_mutexattr_setprioceiling()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is \fINULL\fR or \fIprioceiling\fR is invalid. .RE @@ -87,23 +85,19 @@ The \fBpthread_mutexattr_getprioceiling()\fR and \fBpthread_mutexattr_setprioceiling()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR or \fIprioceiling\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the privilege to perform the operation. .RE @@ -115,17 +109,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutexattr_getprotocol.3c b/usr/src/man/man3c/pthread_mutexattr_getprotocol.3c index e888e8f757..edec614683 100644 --- a/usr/src/man/man3c/pthread_mutexattr_getprotocol.3c +++ b/usr/src/man/man3c/pthread_mutexattr_getprotocol.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutexattr_getprotocol 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEXATTR_GETPROTOCOL 3C "Feb 5, 2008" .SH NAME pthread_mutexattr_getprotocol, pthread_mutexattr_setprotocol \- get or set protocol attribute of mutex attribute object @@ -17,7 +17,7 @@ protocol attribute of mutex attribute object .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_mutexattr_getprotocol\fR( \fBconst pthread_mutexattr_t *restrict\fR \fIattr\fR, @@ -125,23 +125,19 @@ The \fBpthread_mutexattr_getprotocol()\fR and \fBpthread_mutexattr_setprotocol()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The value specified by \fIattr\fR is \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 11n -.rt Neither of the options \fB_POSIX_THREAD_PRIO_PROTECT\fR and \fB_POSIX_THREAD_PRIO_INHERIT\fR is defined and the system does not support the function. @@ -149,12 +145,10 @@ function. .sp .ne 2 -.mk .na \fB\fBENOTSUP\fR\fR .ad .RS 11n -.rt The value specified by \fIprotocol\fR is an unsupported value. .RE @@ -164,23 +158,19 @@ The \fBpthread_mutexattr_getprotocol()\fR and \fBpthread_mutexattr_setprotocol()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR or \fIprotocol\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the privilege to perform the operation. .RE @@ -192,17 +182,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutexattr_getpshared.3c b/usr/src/man/man3c/pthread_mutexattr_getpshared.3c index 2b0e522e65..469b6142ae 100644 --- a/usr/src/man/man3c/pthread_mutexattr_getpshared.3c +++ b/usr/src/man/man3c/pthread_mutexattr_getpshared.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutexattr_getpshared 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEXATTR_GETPSHARED 3C "Mar 23, 2005" .SH NAME pthread_mutexattr_getpshared, pthread_mutexattr_setpshared \- get or set process-shared attribute @@ -17,7 +17,7 @@ process-shared attribute .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_mutexattr_getpshared\fR( \fBconst pthread_mutexattr_t *restrict\fR \fIattr\fR, @@ -67,12 +67,10 @@ The \fBpthread_mutexattr_getpshared()\fR and \fBpthread_mutexattr_setpshared()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -81,12 +79,10 @@ The value specified by \fIattr\fR is invalid. The \fBpthread_mutexattr_setpshared()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The new value specified for the attribute is outside the range of legal values for that attribute. .RE @@ -99,15 +95,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutexattr_gettype.3c b/usr/src/man/man3c/pthread_mutexattr_gettype.3c index 79d1379b28..4b9dd32579 100644 --- a/usr/src/man/man3c/pthread_mutexattr_gettype.3c +++ b/usr/src/man/man3c/pthread_mutexattr_gettype.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutexattr_gettype 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEXATTR_GETTYPE 3C "Mar 23, 2005" .SH NAME pthread_mutexattr_gettype, pthread_mutexattr_settype \- get or set mutex type .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBint\fR \fBpthread_mutexattr_gettype\fR(\fBpthread_mutexattr_t *restrict\fR \fIattr\fR, \fBint *restrict\fR \fItype\fR); @@ -40,12 +40,10 @@ The type of mutex is contained in the \fItype\fR attribute of the mutex attributes. Valid mutex types include: .sp .ne 2 -.mk .na \fB\fBPTHREAD_MUTEX_NORMAL\fR\fR .ad .RS 28n -.rt This type of mutex does not detect deadlock. A thread attempting to relock this mutex without first unlocking it will deadlock. Attempting to unlock a mutex locked by a different thread results in undefined behavior. Attempting to @@ -54,12 +52,10 @@ unlock an unlocked mutex results in undefined behavior. .sp .ne 2 -.mk .na \fB\fBPTHREAD_MUTEX_ERRORCHECK\fR\fR .ad .RS 28n -.rt This type of mutex provides error checking. A thread attempting to relock this mutex without first unlocking it will return with an error. A thread attempting to unlock a mutex that another thread has locked will return with an error. A @@ -68,12 +64,10 @@ thread attempting to unlock an unlocked mutex will return with an error. .sp .ne 2 -.mk .na \fB\fBPTHREAD_MUTEX_RECURSIVE\fR\fR .ad .RS 28n -.rt A thread attempting to relock this mutex without first unlocking it will succeed in locking the mutex. The relocking deadlock that can occur with mutexes of type \fBPTHREAD_MUTEX_NORMAL\fR cannot occur with this type of @@ -87,12 +81,10 @@ attribute is \fBPTHREAD_PROCESS_PRIVATE\fR. .sp .ne 2 -.mk .na \fB\fBPTHREAD_MUTEX_DEFAULT\fR\fR .ad .RS 28n -.rt Attempting to recursively lock a mutex of this type results in undefined behavior. Attempting to unlock a mutex of this type that was not locked by the calling thread results in undefined behavior. Attempting to unlock a mutex of @@ -118,12 +110,10 @@ The \fBpthread_mutexattr_gettype()\fR and \fBpthread_mutexattr_settype()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value \fBtype\fR is invalid. .RE @@ -133,12 +123,10 @@ The \fBpthread_mutexattr_gettype()\fR and \fBpthread_mutexattr_settype()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -150,15 +138,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_mutexattr_init.3c b/usr/src/man/man3c/pthread_mutexattr_init.3c index 6849148304..b089331613 100644 --- a/usr/src/man/man3c/pthread_mutexattr_init.3c +++ b/usr/src/man/man3c/pthread_mutexattr_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_mutexattr_init 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_MUTEXATTR_INIT 3C "Mar 23, 2005" .SH NAME pthread_mutexattr_init, pthread_mutexattr_destroy \- initialize or destroy mutex attributes object @@ -62,12 +62,10 @@ returned to indicate the error. The \fBpthread_mutexattr_init()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the mutex attributes object. .RE @@ -76,12 +74,10 @@ Insufficient memory exists to initialize the mutex attributes object. The \fBpthread_mutexattr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -93,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_once.3c b/usr/src/man/man3c/pthread_once.3c index 606c697cc0..5168ec1e33 100644 --- a/usr/src/man/man3c/pthread_once.3c +++ b/usr/src/man/man3c/pthread_once.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1995 IEEE. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2005, Sun Microsystems, Inc. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_once 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_ONCE 3C "Mar 23, 2005" .SH NAME pthread_once \- initialize dynamic package .SH SYNOPSIS @@ -17,7 +17,7 @@ pthread_once \- initialize dynamic package .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBpthread_once_t\fR \fIonce_control\fR = \fBPTHREAD_ONCE_INIT\fR; \fBint\fR \fBpthread_once\fR(\fBpthread_once_t *\fR\fIonce_control\fR, @@ -54,12 +54,10 @@ error number is returned to indicate the error. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt \fIonce_control\fR or \fIinit_routine\fR is \fINULL\fR. .RE @@ -71,15 +69,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlock_init.3c b/usr/src/man/man3c/pthread_rwlock_init.3c index 4296d5e072..92bf41c9c7 100644 --- a/usr/src/man/man3c/pthread_rwlock_init.3c +++ b/usr/src/man/man3c/pthread_rwlock_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_init 3C "23 mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_INIT 3C "Mar 23, 2005" .SH NAME pthread_rwlock_init, pthread_rwlock_destroy \- initialize or destroy read-write lock object @@ -83,23 +83,19 @@ The \fBpthread_rwlock_init()\fR and \fBpthread_rwlock_destroy()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIrwlock\fR is invalid. .RE @@ -111,15 +107,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlock_rdlock.3c b/usr/src/man/man3c/pthread_rwlock_rdlock.3c index 0d4e7de778..d729a10426 100644 --- a/usr/src/man/man3c/pthread_rwlock_rdlock.3c +++ b/usr/src/man/man3c/pthread_rwlock_rdlock.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_rdlock 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_RDLOCK 3C "Mar 23, 2005" .SH NAME pthread_rwlock_rdlock, pthread_rwlock_tryrdlock \- lock or attempt to lock read-write lock object for reading @@ -86,12 +86,10 @@ The \fBpthread_rwlock_rdlock()\fR and \fBpthread_rwlock_tryrdlock()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The read lock could not be acquired because the maximum number of read locks by the current thread for \fIrwlock\fR has been exceeded. .RE @@ -101,12 +99,10 @@ the current thread for \fIrwlock\fR has been exceeded. The \fBpthread_rwlock_rdlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The current thread already owns the read-write lock for writing. .RE @@ -115,12 +111,10 @@ The current thread already owns the read-write lock for writing. The \fBpthread_rwlock_tryrdlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt The read-write lock could not be acquired for reading because a writer holds the lock or a writer with the appropriate priority was blocked on it. .RE @@ -133,15 +127,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c b/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c index cc55b6ea76..4c6270a46c 100644 --- a/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c +++ b/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_timedrdlock 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_TIMEDRDLOCK 3C "Jan 30, 2004" .SH NAME pthread_rwlock_timedrdlock, pthread_rwlock_reltimedrdlock_np \- lock a read-write lock for reading @@ -85,12 +85,10 @@ The \fBpthread_rwlock_timedrdlock()\fR and and \fBpthread_rwlock_reltimedrdlock_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The lock could not be acquired before the specified timeout expired. .RE @@ -100,35 +98,29 @@ The \fBpthread_rwlock_timedrdlock()\fR and \fBpthread_rwlock_reltimedrdlock_np()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 11n -.rt The read lock could not be acquired because the maximum number of read locks for lock would be exceeded. .RE .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The calling thread already holds a write lock on \fIrwlock\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The value specified by \fIrwlock\fR does not refer to an initialized read-write lock object, or the timeout nanosecond value is less than zero or greater than or equal to 1 000 million. @@ -142,15 +134,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c b/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c index 73f055325e..8d900a3e35 100644 --- a/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c +++ b/usr/src/man/man3c/pthread_rwlock_timedwrlock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_timedwrlock 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_TIMEDWRLOCK 3C "Jan 30, 2004" .SH NAME pthread_rwlock_timedwrlock, pthread_rwlock_reltimedwrlock_np \- lock a read-write lock for writing @@ -82,12 +82,10 @@ The \fBpthread_rwlock_timedwrlock()\fR and \fBpthread_rwlock_reltimedwrlock_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The lock could not be acquired before the specified timeout expired. .RE @@ -97,23 +95,19 @@ The \fBpthread_rwlock_timedwrlock()\fR and \fBpthread_rwlock_reltimedwrlock_np()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The calling thread already holds the rwlock. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt The value specified by \fIrwlock\fR does not refer to an initialized read-write lock object, or the timeout nanosecond value is less than zero or greater than or equal to 1,000 million. @@ -127,15 +121,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/pthread_rwlock_unlock.3c b/usr/src/man/man3c/pthread_rwlock_unlock.3c index aa75954ede..10a393f303 100644 --- a/usr/src/man/man3c/pthread_rwlock_unlock.3c +++ b/usr/src/man/man3c/pthread_rwlock_unlock.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_unlock 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_UNLOCK 3C "Mar 23, 2005" .SH NAME pthread_rwlock_unlock \- unlock read-write lock object .SH SYNOPSIS @@ -70,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlock_wrlock.3c b/usr/src/man/man3c/pthread_rwlock_wrlock.3c index fa0e756fca..b419f3a07a 100644 --- a/usr/src/man/man3c/pthread_rwlock_wrlock.3c +++ b/usr/src/man/man3c/pthread_rwlock_wrlock.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlock_wrlock 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCK_WRLOCK 3C "Mar 23, 2005" .SH NAME pthread_rwlock_wrlock, pthread_rwlock_trywrlock \- lock or attempt to lock read-write lock object for writing @@ -68,12 +68,10 @@ Otherwise an error number is returned to indicate the error. The \fBpthread_rwlock_wrlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The current thread already owns the read-write lock for writing or reading. .RE @@ -82,12 +80,10 @@ The current thread already owns the read-write lock for writing or reading. The \fBpthread_rwlock_trywrlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt The read-write lock could not be acquired for writing because it was already locked for reading or writing. .RE @@ -100,15 +96,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlockattr_getpshared.3c b/usr/src/man/man3c/pthread_rwlockattr_getpshared.3c index 124d264b1f..902d491b91 100644 --- a/usr/src/man/man3c/pthread_rwlockattr_getpshared.3c +++ b/usr/src/man/man3c/pthread_rwlockattr_getpshared.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlockattr_getpshared 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCKATTR_GETPSHARED 3C "Mar 23, 2005" .SH NAME pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared \- get or set process-shared attribute of read-write lock attributes object @@ -68,12 +68,10 @@ The \fBpthread_rwlockattr_getpshared()\fR and \fBpthread_rwlockattr_setpshared()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR or \fIpshared\fR is invalid. .RE @@ -85,15 +83,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_rwlockattr_init.3c b/usr/src/man/man3c/pthread_rwlockattr_init.3c index 8fa0bcb37d..c169165293 100644 --- a/usr/src/man/man3c/pthread_rwlockattr_init.3c +++ b/usr/src/man/man3c/pthread_rwlockattr_init.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_rwlockattr_init 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_RWLOCKATTR_INIT 3C "Mar 23, 2005" .SH NAME pthread_rwlockattr_init, pthread_rwlockattr_destroy \- initialize or destroy read-write lock attributes object @@ -62,12 +62,10 @@ error number is returned to indicate the error. The \fBpthread_rwlockattr_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to initialize the read-write lock attributes object. .RE @@ -76,12 +74,10 @@ Insufficient memory exists to initialize the read-write lock attributes object. The \fBpthread_rwlockattr_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIattr\fR is invalid. .RE @@ -93,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_self.3c b/usr/src/man/man3c/pthread_self.3c index 2cf981fbe1..7c8dc0d915 100644 --- a/usr/src/man/man3c/pthread_self.3c +++ b/usr/src/man/man3c/pthread_self.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright 1991, 1992, 1994, The X/Open Company Ltd. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_self 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SELF 3C "Mar 23, 2005" .SH NAME pthread_self \- get calling thread's ID .SH SYNOPSIS @@ -17,7 +17,7 @@ pthread_self \- get calling thread's ID .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> \fBpthread_t\fR \fBpthread_self\fR(\fBvoid\fR); .fi @@ -39,15 +39,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_setcancelstate.3c b/usr/src/man/man3c/pthread_setcancelstate.3c index 8521a78cca..c5d13dc242 100644 --- a/usr/src/man/man3c/pthread_setcancelstate.3c +++ b/usr/src/man/man3c/pthread_setcancelstate.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_setcancelstate 3C "22 Jan 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SETCANCELSTATE 3C "Jan 22, 2008" .SH NAME pthread_setcancelstate \- enable or disable cancellation .SH SYNOPSIS @@ -33,7 +33,6 @@ is not \fINULL\fR, stores the previous cancellation \fIstate\fR in The \fIstate\fR can be either of the following: .sp .ne 2 -.mk .na \fB\fBPTHREAD_CANCEL_ENABLE\fR\fR .ad @@ -47,7 +46,6 @@ receipt of a \fBpthread_cancel\fR(3C) call causes immediate cancellation. .sp .ne 2 -.mk .na \fB\fBPTHREAD_CANCEL_DISABLE\fR\fR .ad @@ -75,12 +73,10 @@ Otherwise, an error number is returned to indicate the error. The \fBpthread_setcancelstate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The specified \fIstate\fR is not \fBPTHREAD_CANCEL_ENABLE\fR or \fBPTHREAD_CANCEL_DISABLE\fR. .RE @@ -93,17 +89,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_setcanceltype.3c b/usr/src/man/man3c/pthread_setcanceltype.3c index 9a3e98055b..f69dc09e8b 100644 --- a/usr/src/man/man3c/pthread_setcanceltype.3c +++ b/usr/src/man/man3c/pthread_setcanceltype.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_setcanceltype 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SETCANCELTYPE 3C "Mar 23, 2005" .SH NAME pthread_setcanceltype \- set cancellation type of a thread .SH SYNOPSIS @@ -30,7 +30,6 @@ cancellation type to the specified \fBtype\fR and, if \fIoldtype\fR is not \fBtype\fR can be either of the following: .sp .ne 2 -.mk .na \fB\fBPTHREAD_CANCEL_DEFERRED\fR \fR .ad @@ -44,7 +43,6 @@ requests to the target thread are held pending. .sp .ne 2 -.mk .na \fB\fBPTHREAD_CANCEL_ASYNCHRONOUS\fR \fR .ad @@ -77,12 +75,10 @@ Upon successful completion, the \fBpthread_setcanceltype()\fR function returns The \fBpthread_setcanceltype()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The specified \fBtype\fR is not \fBPTHREAD_CANCEL_DEFERRED\fR or \fBPTHREAD_CANCEL_ASYNCHRONOUS.\fR .RE @@ -95,15 +91,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_setschedprio.3c b/usr/src/man/man3c/pthread_setschedprio.3c index 1d941e028d..a8336df158 100644 --- a/usr/src/man/man3c/pthread_setschedprio.3c +++ b/usr/src/man/man3c/pthread_setschedprio.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_setschedprio 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SETSCHEDPRIO 3C "Apr 1, 2008" .SH NAME pthread_setschedprio \- dynamic thread scheduling parameters access .SH SYNOPSIS .LP .nf -cc \fB-mt\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpthread\fR [ \fIlibrary\fR... ] +cc \fB-mt\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpthread\fR [ \fIlibrary\fR... ] #include <pthread.h> \fBint\fR \fBpthread_setschedprio\fR(\fBpthread_t\fR \fIthread\fR, \fBint\fR \fIprio\fR); @@ -41,36 +41,30 @@ an error number is returned to indicate the error. The \fBpthread_setschedprio()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIprio\fR is invalid for the scheduling policy of the specified thread. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the appropriate permission to set the priority to the value specified. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt The value specified by thread does not refer to an existing thread. .RE @@ -82,17 +76,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_sigmask.3c b/usr/src/man/man3c/pthread_sigmask.3c index 0f6d72962d..3f3d13a318 100644 --- a/usr/src/man/man3c/pthread_sigmask.3c +++ b/usr/src/man/man3c/pthread_sigmask.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_sigmask 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SIGMASK 3C "Mar 23, 2005" .SH NAME pthread_sigmask \- change or examine calling thread's signal mask .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... -lpthread [ \fIlibrary\fR... ] -#include <pthread.h> +#include <pthread.h> #include <signal.h> \fBint\fR \fBpthread_sigmask\fR(\fBint\fR \fIhow\fR, \fBconst sigset_t *\fR\fIset\fR, \fBsigset_t *\fR\fIoset\fR); @@ -42,36 +42,30 @@ The value of the argument \fIhow\fR specifies the method in which the set is changed and takes one of the following values: .sp .ne 2 -.mk .na \fB\fBSIG_BLOCK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to a set of signals to block. They are added to the current signal mask. .RE .sp .ne 2 -.mk .na \fB\fBSIG_UNBLOCK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to a set of signals to unblock. These signals are deleted from the current signal mask. .RE .sp .ne 2 -.mk .na \fB\fBSIG_SETMASK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to the new signal mask. The current signal mask is replaced by \fBset\fR. .RE @@ -91,12 +85,10 @@ Upon successful completion, the \fBpthread_sigmask()\fR function returns The \fBpthread_sigmask()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIhow\fR is not defined and \fIoset\fR is \fINULL\fR. .RE @@ -234,7 +226,7 @@ handler(char *argv1) thr_sigsetmask(SIG_UNBLOCK, &new, NULL); break; } - printf("\en Press CTRL-C to deliver SIGINT signal to the + printf("\en Press CTRL-C to deliver SIGINT signal to the process\en"); sleep(8); /* give user time to hit CTRL-C */ return (NULL) @@ -248,7 +240,7 @@ interrupt(int sig) void test_argv(char argv1[\|]) { if(argv1 == NULL) { - printf("use 0 as arg1 to use thr_create(\|);\en \e + printf("use 0 as arg1 to use thr_create(\|);\en \e or use 1 as arg1 to use pthread_create(\|)\en"); exit(NULL); } @@ -309,15 +301,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe and Async-Signal-Safe +MT-Level MT-Safe and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_spin_destroy.3c b/usr/src/man/man3c/pthread_spin_destroy.3c index 8d36d03a2b..791233befb 100644 --- a/usr/src/man/man3c/pthread_spin_destroy.3c +++ b/usr/src/man/man3c/pthread_spin_destroy.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_spin_destroy 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SPIN_DESTROY 3C "Jan 30, 2004" .SH NAME pthread_spin_destroy, pthread_spin_init \- destroy or initialize a spin lock object @@ -84,12 +84,10 @@ number is returned to indicate the error. The \fBpthread_spin_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacks the necessary resources to initialize another spin lock. .RE @@ -98,12 +96,10 @@ The system lacks the necessary resources to initialize another spin lock. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 10n -.rt The system has detected an attempt to initialize or destroy a spin lock while it is in use (for example, while being used in a \fBpthread_spin_lock()\fR call) by another thread. @@ -111,12 +107,10 @@ call) by another thread. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIlock\fR is invalid. .RE @@ -128,15 +122,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_spin_lock.3c b/usr/src/man/man3c/pthread_spin_lock.3c index da6c83fbaa..4095db11c6 100644 --- a/usr/src/man/man3c/pthread_spin_lock.3c +++ b/usr/src/man/man3c/pthread_spin_lock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_spin_lock 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SPIN_LOCK 3C "Jan 30, 2004" .SH NAME pthread_spin_lock, pthread_spin_trylock \- lock a spin lock object .SH SYNOPSIS @@ -55,12 +55,10 @@ number is returned to indicate the error. The \fBpthread_spin_trylock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR\fR .ad .RS 9n -.rt A thread currently holds the lock. .RE @@ -69,12 +67,10 @@ A thread currently holds the lock. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value specified by \fIlock\fR does not refer to an initialized spin lock object. .RE @@ -84,12 +80,10 @@ object. The \fBpthread_spin_lock()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt The calling thread already holds the lock. .RE @@ -101,15 +95,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_spin_unlock.3c b/usr/src/man/man3c/pthread_spin_unlock.3c index e65fdf2d06..8fa5bd569c 100644 --- a/usr/src/man/man3c/pthread_spin_unlock.3c +++ b/usr/src/man/man3c/pthread_spin_unlock.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_spin_unlock 3C "30 Jan 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_SPIN_UNLOCK 3C "Jan 30, 2004" .SH NAME pthread_spin_unlock \- unlock a spin lock object .SH SYNOPSIS @@ -44,23 +44,19 @@ Otherwise, an error number shall be returned to indicate the error. The \fBpthread_spin_unlock()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An invalid argument was specified. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The calling thread does not hold the lock. .RE @@ -72,15 +68,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/pthread_testcancel.3c b/usr/src/man/man3c/pthread_testcancel.3c index 3e62a3cd20..79ddbf25fa 100644 --- a/usr/src/man/man3c/pthread_testcancel.3c +++ b/usr/src/man/man3c/pthread_testcancel.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 pthread_testcancel 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH PTHREAD_TESTCANCEL 3C "Mar 23, 2005" .SH NAME pthread_testcancel \- create cancellation point in the calling thread .SH SYNOPSIS @@ -53,15 +53,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ptrace.3c b/usr/src/man/man3c/ptrace.3c index 30a5ca51ef..9d7a6fef95 100644 --- a/usr/src/man/man3c/ptrace.3c +++ b/usr/src/man/man3c/ptrace.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 ptrace 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PTRACE 3C "Mar 22, 2004" .SH NAME ptrace \- allows a parent process to control the execution of a child process .SH SYNOPSIS @@ -32,12 +32,10 @@ The \fIrequest\fR argument determines the action to be taken by \fBptrace()\fR and is one of the following: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt This request must be issued by the child process if it is to be traced by its parent. It turns on the child's trace flag that stipulates that the child should be left in a stopped state on receipt of a signal rather than the state @@ -54,12 +52,10 @@ The remainder of the requests can only be used by the parent process. For each, state before these requests are made. .sp .ne 2 -.mk .na \fB\fB1, 2\fR\fR .ad .RS 8n -.rt With these requests, the word at location \fIaddr\fR in the address space of the child is returned to the parent process. If instruction and data space are separated, request \fB1\fR returns a word from instruction space, and request @@ -73,12 +69,10 @@ returned to the parent process and the parent's \fBerrno\fR is set to .sp .ne 2 -.mk .na \fB\fB3\fR\fR .ad .RS 8n -.rt With this request, the word at location \fIaddr\fR in the child's user area in the system's address space (see <\fBsys/user.h\fR>) is returned to the parent process. The \fIdata\fR argument is ignored. This request fails if \fIaddr\fR @@ -89,12 +83,10 @@ set to \fBEIO\fR. .sp .ne 2 -.mk .na \fB\fB4, 5\fR\fR .ad .RS 8n -.rt With these requests, the value given by the \fIdata\fR argument is written into the address space of the child at location \fIaddr\fR. If instruction and data space are separated, request \fB4\fR writes a word into instruction space, and @@ -108,12 +100,10 @@ process and the parent's \fBerrno\fR is set to \fBEIO\fR. .sp .ne 2 -.mk .na \fB\fB6\fR\fR .ad .RS 8n -.rt With this request, a few entries in the child's user area can be written. \fIdata\fR gives the value that is to be written and \fIaddr\fR is the location of the entry. The few entries that can be written are the general registers and @@ -122,12 +112,10 @@ the condition codes of the Processor Status Word. .sp .ne 2 -.mk .na \fB\fB7\fR\fR .ad .RS 8n -.rt This request causes the child to resume execution. If the \fIdata\fR argument is 0, all pending signals including the one that caused the child to stop are canceled before it resumes execution. If the \fIdata\fR argument is a valid @@ -141,24 +129,20 @@ parent's \fBerrno\fR is set to \fBEIO\fR. .sp .ne 2 -.mk .na \fB\fB8\fR\fR .ad .RS 8n -.rt This request causes the child to terminate with the same consequences as \fBexit\fR(2). .RE .sp .ne 2 -.mk .na \fB\fB9\fR\fR .ad .RS 8n -.rt This request sets the trace bit in the Processor Status Word of the child and then executes the same steps as listed above for request \fB7\fR. The trace bit causes an interrupt on completion of one machine instruction. This effectively @@ -178,35 +162,29 @@ before executing the first instruction of the new image showing signal The \fBptrace()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 9n -.rt The \fIrequest\fR argument is an illegal number. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The calling process does not have appropriate privileges to control the calling process. See \fBproc\fR(4). .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt The \fIpid\fR argument identifies a child that does not exist or has not executed a \fBptrace()\fR call with request \fB0\fR. .RE @@ -231,15 +209,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ptsname.3c b/usr/src/man/man3c/ptsname.3c index d621dc5191..080cddac31 100644 --- a/usr/src/man/man3c/ptsname.3c +++ b/usr/src/man/man3c/ptsname.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ptsname 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH PTSNAME 3C "Aug 14, 2002" .SH NAME ptsname \- get name of the slave pseudo-terminal device .SH SYNOPSIS @@ -44,15 +44,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/putenv.3c b/usr/src/man/man3c/putenv.3c index 7de0f3d8b6..05e7f01594 100644 --- a/usr/src/man/man3c/putenv.3c +++ b/usr/src/man/man3c/putenv.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 putenv 3C "7 Aug 2004" "SunOS 5.11" "Standard C Library Functions" +.TH PUTENV 3C "Aug 7, 2004" .SH NAME putenv \- change or add value to environment .SH SYNOPSIS @@ -48,12 +48,10 @@ non-zero value and sets \fBerrno\fR to indicate the error. The \fBputenv()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory was available. .RE @@ -75,15 +73,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/putpwent.3c b/usr/src/man/man3c/putpwent.3c index 9344ca241d..53c146156f 100644 --- a/usr/src/man/man3c/putpwent.3c +++ b/usr/src/man/man3c/putpwent.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 putpwent 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH PUTPWENT 3C "Dec 29, 1996" .SH NAME putpwent \- write password file entry .SH SYNOPSIS @@ -43,13 +43,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/puts.3c b/usr/src/man/man3c/puts.3c index df382e46cd..24f0bc11dc 100644 --- a/usr/src/man/man3c/puts.3c +++ b/usr/src/man/man3c/puts.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 puts 3C "18 Jun 2003" "SunOS 5.11" "Standard C Library Functions" +.TH PUTS 3C "Jun 18, 2003" .SH NAME puts, fputs \- put a string on a stream .SH SYNOPSIS @@ -58,15 +58,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/putspent.3c b/usr/src/man/man3c/putspent.3c index c7e6131093..04f23304fa 100644 --- a/usr/src/man/man3c/putspent.3c +++ b/usr/src/man/man3c/putspent.3c @@ -4,7 +4,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 putspent 3C "23 Jan 2008" "SunOS 5.11" "Standard C Library Functions" +.TH PUTSPENT 3C "Jan 23, 2008" .SH NAME putspent \- write shadow password file entry .SH SYNOPSIS @@ -65,13 +65,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/putws.3c b/usr/src/man/man3c/putws.3c index 42ee660a66..0f503daf9f 100644 --- a/usr/src/man/man3c/putws.3c +++ b/usr/src/man/man3c/putws.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 putws 3C "22 Apr 1997" "SunOS 5.11" "Standard C Library Functions" +.TH PUTWS 3C "Apr 22, 1997" .SH NAME putws \- convert a string of Process Code characters to EUC characters .SH SYNOPSIS @@ -40,12 +40,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/qsort.3c b/usr/src/man/man3c/qsort.3c index de1dafb952..133f654330 100644 --- a/usr/src/man/man3c/qsort.3c +++ b/usr/src/man/man3c/qsort.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 qsort 3C "6 Dec 2004" "SunOS 5.11" "Standard C Library Functions" +.TH QSORT 3C "Dec 6, 2004" .SH NAME qsort \- quick sort .SH SYNOPSIS @@ -95,15 +95,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/raise.3c b/usr/src/man/man3c/raise.3c index ef5aa03e97..951e0f486e 100644 --- a/usr/src/man/man3c/raise.3c +++ b/usr/src/man/man3c/raise.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 raise 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH RAISE 3C "Mar 23, 2005" .SH NAME raise \- send a signal to the executing thread .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rand.3c b/usr/src/man/man3c/rand.3c index 2d76432f10..4fc6754c3b 100644 --- a/usr/src/man/man3c/rand.3c +++ b/usr/src/man/man3c/rand.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 rand 3C "19 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH RAND 3C "May 19, 2004" .SH NAME rand, srand, rand_r \- simple random-number generator .SH SYNOPSIS @@ -72,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/random.3c b/usr/src/man/man3c/random.3c index bb4f3598d0..6381bb498d 100644 --- a/usr/src/man/man3c/random.3c +++ b/usr/src/man/man3c/random.3c @@ -1,11 +1,11 @@ '\" te .\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, .\" X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH random 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH RANDOM 3C "Aug 14, 2002" .SH NAME random, srandom, initstate, setstate \- pseudorandom number functions .SH SYNOPSIS @@ -182,15 +182,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee \fBNOTES\fR below. +MT-Level See \fBNOTES\fR below. .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rctl_walk.3c b/usr/src/man/man3c/rctl_walk.3c index eb9698e0fc..0ab73157f8 100644 --- a/usr/src/man/man3c/rctl_walk.3c +++ b/usr/src/man/man3c/rctl_walk.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 rctl_walk 3C " 2001" "SunOS 5.11" "Standard C Library Functions" +.TH RCTL_WALK 3C "Jan 1, 2001" .SH NAME rctl_walk \- visit registered rctls on current system .SH SYNOPSIS @@ -37,12 +37,10 @@ encountered an error, in which case \fBerrno\fR is set to indicate the error. The \fBrctl_walk()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is insufficient memory available to set up the initial data for the walk. .RE @@ -95,15 +93,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rctlblk_set_value.3c b/usr/src/man/man3c/rctlblk_set_value.3c index a89ac7fb5c..dfde32278b 100644 --- a/usr/src/man/man3c/rctlblk_set_value.3c +++ b/usr/src/man/man3c/rctlblk_set_value.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 rctlblk_set_value 3C "15 May 2006" "SunOS 5.11" "Standard C Library Functions" +.TH RCTLBLK_SET_VALUE 3C "May 15, 2006" .SH NAME rctlblk_set_value, rctlblk_get_firing_time, rctlblk_get_global_action, rctlblk_get_global_flags, rctlblk_get_local_action, rctlblk_get_local_flags, @@ -112,24 +112,20 @@ listed in the table below. Global flags are generally a published property of the control and are not modifiable. .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_DENY_ALWAYS\fR\fR .ad .RS 28n -.rt The action taken when a control value is exceeded on this control will always include denial of the resource. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_DENY_NEVER\fR\fR .ad .RS 28n -.rt The action taken when a control value is exceeded on this control will always exclude denial of the resource; the resource will always be granted, although other actions can also be taken. @@ -137,104 +133,86 @@ other actions can also be taken. .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_SIGNAL_NEVER\fR\fR .ad .RS 28n -.rt No signal actions are permitted on this control. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_CPU_TIME\fR\fR .ad .RS 28n -.rt The valid signals available as local actions include the \fBSIGXCPU\fR signal. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_FILE_SIZE\fR\fR .ad .RS 28n -.rt The valid signals available as local actions include the \fBSIGXFSZ\fR signal. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_INFINITE\fR\fR .ad .RS 28n -.rt This resource control supports the concept of an unlimited value; generally true only of accumulation-oriented resources, such as CPU time. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_LOWERABLE\fR\fR .ad .RS 28n -.rt Non-privileged callers are able to lower the value of privileged resource control values on this control. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_NOACTION\fR\fR .ad .RS 28n -.rt No global action will be taken when a resource control value is exceeded on this control. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_NOBASIC\fR\fR .ad .RS 28n -.rt No values with the \fBRCPRIV_BASIC\fR privilege are permitted on this control. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_SYSLOG\fR\fR .ad .RS 28n -.rt A standard message will be logged by the \fBsyslog\fR(3C) facility when any resource control value on a sequence associated with this control is exceeded. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_SYSLOG_NEVER\fR\fR .ad .RS 28n -.rt The resource control does not support the \fBsyslog()\fR global action. Exceeding a resource control value on this control will not result in a message logged by the \fBsyslog()\fR facility. @@ -242,12 +220,10 @@ logged by the \fBsyslog()\fR facility. .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_UNOBSERVABLE\fR\fR .ad .RS 28n -.rt The resource control (generally on a task- or project-related control) does not support observational control values. An \fBRCPRIV_BASIC\fR privileged control value placed by a process on the task or process will generate an action only @@ -256,34 +232,28 @@ if the value is exceeded by that process. .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_BYTES\fR\fR .ad .RS 28n -.rt This resource control represents a number of bytes. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_SECONDS\fR\fR .ad .RS 28n -.rt This resource control represents a quantity of time in seconds. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_GLOBAL_COUNT\fR\fR .ad .RS 28n -.rt This resource control represents an integer count. .RE @@ -301,12 +271,10 @@ signals is made available for normal use by the resource control facility: specific control. Calls to \fBsetrctl()\fR with illegal signals will fail. .sp .ne 2 -.mk .na \fB\fBRCTL_LOCAL_DENY\fR\fR .ad .RS 23n -.rt When this resource control value is encountered, the request for the resource will be denied. Set on all values if \fBRCTL_GLOBAL_DENY_ALWAYS\fR is set for this control; cleared on all values if \fBRCTL_GLOBAL_DENY_NEVER\fR is set for @@ -315,12 +283,10 @@ this control. .sp .ne 2 -.mk .na \fB\fBRCTL_LOCAL_MAXIMAL\fR\fR .ad .RS 23n -.rt This resource control value represents a request for the maximum amount of resource for this control. If \fBRCTL_GLOBAL_INFINITE\fR is set for this resource control, \fBRCTL_LOCAL_MAXIMAL\fR indicates an unlimited resource @@ -329,23 +295,19 @@ control value, one that will never be exceeded. .sp .ne 2 -.mk .na \fB\fBRCTL_LOCAL_NOACTION\fR\fR .ad .RS 23n -.rt No local action will be taken when this resource control value is exceeded. .RE .sp .ne 2 -.mk .na \fB\fBRCTL_LOCAL_SIGNAL\fR\fR .ad .RS 23n -.rt The specified signal, sent by \fBrctlblk_set_local_action()\fR, will be sent to the process that placed this resource control value in the value sequence. This behavior is also true for signal actions on project and task resource controls. @@ -464,15 +426,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/re_comp.3c b/usr/src/man/man3c/re_comp.3c index bda9d7944e..536c97ab5e 100644 --- a/usr/src/man/man3c/re_comp.3c +++ b/usr/src/man/man3c/re_comp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 re_comp 3C "26 Feb 1997" "SunOS 5.11" "Standard C Library Functions" +.TH RE_COMP 3C "Feb 26, 1997" .SH NAME re_comp, re_exec \- compile and execute regular expressions .SH SYNOPSIS diff --git a/usr/src/man/man3c/readdir.3c b/usr/src/man/man3c/readdir.3c index 5b6d2b25e2..b0198adca2 100644 --- a/usr/src/man/man3c/readdir.3c +++ b/usr/src/man/man3c/readdir.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 readdir 3C "26 Jun 2007" "SunOS 5.11" "Standard C Library Functions" +.TH READDIR 3C "Jun 26, 2007" .SH NAME readdir, readdir_r \- read directory .SH SYNOPSIS @@ -140,12 +140,10 @@ the failure. The \fBreaddir()\fR and \fBreaddir_r()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt One of the values in the structure to be returned cannot be represented correctly. .RE @@ -155,23 +153,19 @@ correctly. The \fBreaddir()\fR and \fBreaddir_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIdirp\fR argument does not refer to an open directory stream. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 10n -.rt The current position of the directory stream is invalid. .RE @@ -265,15 +259,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee below. +MT-Level See below. .TE .sp diff --git a/usr/src/man/man3c/realpath.3c b/usr/src/man/man3c/realpath.3c index 91142373ed..efce404f83 100644 --- a/usr/src/man/man3c/realpath.3c +++ b/usr/src/man/man3c/realpath.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 realpath 3C "9 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH REALPATH 3C "Oct 9, 2003" .SH NAME realpath \- resolve pathname .SH SYNOPSIS @@ -41,92 +41,76 @@ to indicate the error, and the contents of the buffer pointed to by The \fBrealpath()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt Read or search permission was denied for a component of \fIfile_name\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt Either the \fIfile_name\fR or \fIresolved_name\fR argument is a null pointer. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 16n -.rt An error occurred while reading from the file system. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIfile_name\fR. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt A loop exists in symbolic links encountered during resolution of the \fIfile_name\fR argument. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The \fIfile_name\fR argument is longer than {\fBPATH_MAX\fR} or a pathname component is longer than {\fBNAME_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIfile_name\fR does not name an existing file or \fIfile_name\fR points to an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix is not a directory. .RE @@ -135,24 +119,20 @@ A component of the path prefix is not a directory. The \fBrealpath()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds {\fBPATH_MAX\fR}. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 16n -.rt Insufficient storage space is available. .RE @@ -176,15 +156,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/reboot.3c b/usr/src/man/man3c/reboot.3c index 0ed8c30bc9..6f022899f9 100644 --- a/usr/src/man/man3c/reboot.3c +++ b/usr/src/man/man3c/reboot.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 reboot 3C "22 Mar 2004" "SunOS 5.11" "Standard C Library Functions" +.TH REBOOT 3C "Mar 22, 2004" .SH NAME reboot \- reboot system or halt processor .SH SYNOPSIS @@ -22,48 +22,40 @@ specifies the behavior of the system while rebooting and is a mask constructed by a bitwise-inclusive-OR of flags from the following list: .sp .ne 2 -.mk .na \fB\fBRB_AUTOBOOT\fR\fR .ad .RS 15n -.rt The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See \fBboot\fR(1M) and \fBkernel\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fBRB_HALT\fR\fR .ad .RS 15n -.rt The processor is simply halted; no reboot takes place. This option should be used with caution. .RE .sp .ne 2 -.mk .na \fB\fBRB_ASKNAME\fR\fR .ad .RS 15n -.rt Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap. .RE .sp .ne 2 -.mk .na \fB\fBRB_DUMP\fR\fR .ad .RS 15n -.rt The system is forced to panic immediately without any further processing and a crash dump is written to the dump device (see \fBdumpadm\fR(1M)) before rebooting. @@ -86,12 +78,10 @@ Upon successful completion, \fBreboot()\fR never returns. Otherwise, The \fBreboot()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The {\fBPRIV_SYS_CONFIG\fR} privilege is not asserted in the effective set of the calling process. .RE diff --git a/usr/src/man/man3c/regcmp.3c b/usr/src/man/man3c/regcmp.3c index c5773d44bd..3e718759de 100644 --- a/usr/src/man/man3c/regcmp.3c +++ b/usr/src/man/man3c/regcmp.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 regcmp 3C "14 Nov 2002" "SunOS 5.11" "Standard C Library Functions" +.TH REGCMP 3C "Nov 14, 2002" .SH NAME regcmp, regex \- compile and execute regular expression .SH SYNOPSIS @@ -47,35 +47,29 @@ have been changed slightly. The following are the valid symbols and associated meanings. .sp .ne 2 -.mk .na \fB\fB[\|]\|*\|.^\fR\fR .ad .RS 18n -.rt This group of symbols retains its meaning as described on the \fBregexp\fR(5) manual page. .RE .sp .ne 2 -.mk .na \fB\fB$\fR\fR .ad .RS 18n -.rt Matches the end of the string; \fB\en\fR matches a newline. .RE .sp .ne 2 -.mk .na \fB\fB\(mi\fR\fR .ad .RS 18n -.rt Within brackets the minus means \fIthrough\fR. For example, \fB[a\(miz]\fR is equivalent to \fB[abcd\|.\|.\|.xyz]\fR. The \fB\(mi\fR can appear as itself only if used as the first or last character. For example, the character class @@ -84,24 +78,20 @@ expression \fB[]\(mi]\fR matches the characters \fB]\fR and \fB\(mi\fR\&. .sp .ne 2 -.mk .na \fB\fB+\fR\fR .ad .RS 18n -.rt A regular expression followed by \fB+\fR means \fIone or more times\fR. For example, \fB[0\(mi9]+\fR is equivalent to \fB[0\(mi9][0\(mi9]*.\fR .RE .sp .ne 2 -.mk .na \fB\fB{\fR\fIm\fR} {\fIm,\fR} {\fIm,u\fR}\fR .ad .RS 18n -.rt Integer values enclosed in \fB{\|}\fR indicate the number of times the preceding regular expression is to be applied. The value \fIm\fR is the minimum number and \fIu\fR is a number, less than 256, which is the maximum. If only @@ -114,12 +104,10 @@ number of times the regular expression is to be applied. The value .sp .ne 2 -.mk .na \fB\fB( ... )$\fR\fIn\fR\fR .ad .RS 18n -.rt The value of the enclosed regular expression is to be returned. The value will be stored in the (\fIn\fR+1)th argument following the subject argument. At most, ten enclosed regular expressions are allowed. The \fBregex()\fR function @@ -128,12 +116,10 @@ makes its assignments unconditionally. .sp .ne 2 -.mk .na \fB\fB( ... )\fR\fR .ad .RS 18n -.rt Parentheses are used for grouping. An operator, for example, \fB*\fR, \fB+\fR, \fB{\|}\fR, can work on a single character or a regular expression enclosed in parentheses. For example, \fB(a*(cb+)*)$0\fR. By necessity, all the above @@ -199,13 +185,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/regcomp.3c b/usr/src/man/man3c/regcomp.3c index 9bee9c808f..1b893e3531 100644 --- a/usr/src/man/man3c/regcomp.3c +++ b/usr/src/man/man3c/regcomp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 regcomp 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH REGCOMP 3C "Nov 1, 2003" .SH NAME regcomp, regexec, regerror, regfree \- regular expression matching .SH SYNOPSIS @@ -48,12 +48,10 @@ These functions interpret \fIbasic\fR and \fIextended\fR regular expressions The structure type \fBregex_t\fR contains at least the following member: .sp .ne 2 -.mk .na \fB\fBsize_t\fR \fBre_nsub\fR\fR .ad .RS 18n -.rt Number of parenthesised subexpressions. .RE @@ -62,23 +60,19 @@ Number of parenthesised subexpressions. The structure type \fBregmatch_t\fR contains at least the following members: .sp .ne 2 -.mk .na \fB\fBregoff_t\fR \fBrm_so\fR\fR .ad .RS 18n -.rt Byte offset from start of \fIstring\fR to start of substring. .RE .sp .ne 2 -.mk .na \fB\fBregoff_t\fR \fBrm_eo\fR\fR .ad .RS 18n -.rt Byte offset from start of \fIstring\fR of the first character after the end of substring. .RE @@ -93,45 +87,37 @@ bitwise inclusive \fBOR\fR of zero or more of the following flags, which are defined in the header \fB<regex.h>\fR: .sp .ne 2 -.mk .na \fB\fBREG_EXTENDED\fR\fR .ad .RS 16n -.rt Use Extended Regular Expressions. .RE .sp .ne 2 -.mk .na \fB\fBREG_ICASE\fR\fR .ad .RS 16n -.rt Ignore case in match. .RE .sp .ne 2 -.mk .na \fB\fBREG_NOSUB\fR\fR .ad .RS 16n -.rt Report only success/fail in \fBregexec()\fR. .RE .sp .ne 2 -.mk .na \fB\fBREG_NEWLINE\fR\fR .ad .RS 16n -.rt Change the handling of \fBNEWLINE\fR characters, as described in the text. .RE @@ -156,12 +142,10 @@ inclusive \fBOR\fR of zero or more of the following flags, which are defined in the header <\fBregex.h\fR>: .sp .ne 2 -.mk .na \fB\fBREG_NOTBOL\fR\fR .ad .RS 14n -.rt The first character of the string pointed to by \fIstring\fR is not the beginning of the line. Therefore, the circumflex character (\fI^\fR), when taken as a special character, will not match the beginning of \fIstring\fR. @@ -169,12 +153,10 @@ taken as a special character, will not match the beginning of \fIstring\fR. .sp .ne 2 -.mk .na \fB\fBREG_NOTEOL\fR\fR .ad .RS 14n -.rt The last character of the string pointed to by \fIstring\fR is not the end of the line. Therefore, the dollar sign (\fI$\fR), when taken as a special character, will not match the end of \fIstring\fR. @@ -208,12 +190,10 @@ determine which substrings to report in \fIpmatch\fR when matching regular expressions: .sp .ne 2 -.mk .na \fB1.\fR .ad .RS 6n -.rt If subexpression \fIi\fR in a regular expression is not contained within another subexpression, and it participated in the match several times, then the byte offsets in \fIpmatch\fR\fB[\fR\fIi\fR\fB]\fR will delimit the last such @@ -222,12 +202,10 @@ match. .sp .ne 2 -.mk .na \fB2.\fR .ad .RS 6n -.rt If subexpression \fIi\fR is not contained within another subexpression, and it did not participate in an otherwise successful match, the byte offsets in \fIpmatch\fR\fB[\fR\fIi\fR\fB]\fR will be \fB\(mi1\fR\&. A subexpression does @@ -246,12 +224,10 @@ or another, and the other subexpression matched. .sp .ne 2 -.mk .na \fB3.\fR .ad .RS 6n -.rt If subexpression \fIi\fR is contained within another subexpression \fIj\fR, and \fIi\fR is not contained within any other subexpression that is contained within \fIj\fR, and a match of subexpression \fIj\fR is reported in @@ -263,12 +239,10 @@ within \fIj\fR, and a match of subexpression \fIj\fR is reported in .sp .ne 2 -.mk .na \fB4.\fR .ad .RS 6n -.rt If subexpression \fIi\fR is contained in subexpression \fIj\fR, and the byte offsets in \fIpmatch\fR\fB[\fR\fIj\fR\fB]\fR are \fB\(mi1\fR, then the pointers in \fIpmatch\fR\fB[\fR\fIi\fR\fB]\fR also will be \fB\(mi1\fR\&. @@ -276,12 +250,10 @@ in \fIpmatch\fR\fB[\fR\fIi\fR\fB]\fR also will be \fB\(mi1\fR\&. .sp .ne 2 -.mk .na \fB5.\fR .ad .RS 6n -.rt If subexpression \fIi\fR matched a zero-length string, then both byte offsets in \fIpmatch\fR\fB[\fR\fIi\fR\fB]\fR will be the byte offset of the character or \fINULL\fR terminator immediately following the zero-length string. @@ -299,24 +271,20 @@ in \fIpattern\fR or \fIstring\fR will be treated as an ordinary character. If except as follows: .sp .ne 2 -.mk .na \fB1.\fR .ad .RS 6n -.rt A \fBNEWLINE\fR character in \fIstring\fR will not be matched by a period outside a bracket expression or by any form of a non-matching list. .RE .sp .ne 2 -.mk .na \fB2.\fR .ad .RS 6n -.rt A circumflex (^) in \fIpattern\fR, when used to specify expression anchoring will match the zero-length string immediately after a newline in \fIstring\fR, regardless of the setting of \fBREG_NOTBOL\fR. @@ -324,12 +292,10 @@ regardless of the setting of \fBREG_NOTBOL\fR. .sp .ne 2 -.mk .na \fB3.\fR .ad .RS 6n -.rt A dollar-sign ($) in \fIpattern\fR, when used to specify expression anchoring, will match the zero-length string immediately before a newline in \fIstring\fR, regardless of the setting of \fBREG_NOTEOL.\fR @@ -345,156 +311,128 @@ associated with \fIpreg\fR. The following constants are defined as error return values: .sp .ne 2 -.mk .na \fB\fBREG_NOMATCH\fR\fR .ad .RS 16n -.rt The \fBregexec()\fR function failed to match. .RE .sp .ne 2 -.mk .na \fB\fBREG_BADPAT\fR\fR .ad .RS 16n -.rt Invalid regular expression. .RE .sp .ne 2 -.mk .na \fB\fBREG_ECOLLATE\fR\fR .ad .RS 16n -.rt Invalid collating element referenced. .RE .sp .ne 2 -.mk .na \fB\fBREG_ECTYPE\fR\fR .ad .RS 16n -.rt Invalid character class type referenced. .RE .sp .ne 2 -.mk .na \fB\fBREG_EESCAPE\fR\fR .ad .RS 16n -.rt Trailing \e in pattern. .RE .sp .ne 2 -.mk .na \fB\fBREG_ESUBREG\fR\fR .ad .RS 16n -.rt Number in \e\fIdigit\fR invalid or in error. .RE .sp .ne 2 -.mk .na \fB\fBREG_EBRACK\fR\fR .ad .RS 16n -.rt \fB[\|]\fR imbalance. .RE .sp .ne 2 -.mk .na \fB\fBREG_ENOSYS\fR\fR .ad .RS 16n -.rt The function is not supported. .RE .sp .ne 2 -.mk .na \fB\fBREG_EPAREN\fR\fR .ad .RS 16n -.rt \fB\e(\|\e)\fR or \fB()\fR imbalance. .RE .sp .ne 2 -.mk .na \fB\fBREG_EBRACE\fR\fR .ad .RS 16n -.rt \e{ \e} imbalance. .RE .sp .ne 2 -.mk .na \fB\fBREG_BADBR\fR\fR .ad .RS 16n -.rt Content of \e{ \e} invalid: not a number, number too large, more than two numbers, first larger than second. .RE .sp .ne 2 -.mk .na \fB\fBREG_ERANGE\fR\fR .ad .RS 16n -.rt Invalid endpoint in range expression. .RE .sp .ne 2 -.mk .na \fB\fBREG_ESPACE\fR\fR .ad .RS 16n -.rt Out of memory. .RE .sp .ne 2 -.mk .na \fB\fBREG_BADRPT\fR\fR .ad .RS 16n -.rt ?, * or + not preceded by valid regular expression. .RE @@ -632,17 +570,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/remove.3c b/usr/src/man/man3c/remove.3c index bcf320538f..0870752daa 100644 --- a/usr/src/man/man3c/remove.3c +++ b/usr/src/man/man3c/remove.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 remove 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH REMOVE 3C "Aug 14, 2002" .SH NAME remove \- remove file .SH SYNOPSIS @@ -42,15 +42,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rewind.3c b/usr/src/man/man3c/rewind.3c index f2701e7944..89dca974cb 100644 --- a/usr/src/man/man3c/rewind.3c +++ b/usr/src/man/man3c/rewind.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 rewind 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH REWIND 3C "Aug 14, 2002" .SH NAME rewind \- reset file position indicator in a stream .SH SYNOPSIS @@ -65,15 +65,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rewinddir.3c b/usr/src/man/man3c/rewinddir.3c index 53e1f1289a..b81473d5f4 100644 --- a/usr/src/man/man3c/rewinddir.3c +++ b/usr/src/man/man3c/rewinddir.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 rewinddir 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH REWINDDIR 3C "Aug 14, 2002" .SH NAME rewinddir \- reset position of directory stream to the beginning of a directory .SH SYNOPSIS @@ -55,15 +55,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/rwlock.3c b/usr/src/man/man3c/rwlock.3c index 21ad7bf460..8d5b8d59c3 100644 --- a/usr/src/man/man3c/rwlock.3c +++ b/usr/src/man/man3c/rwlock.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 rwlock 3C "14 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH RWLOCK 3C "May 14, 1998" .SH NAME rwlock, rwlock_init, rwlock_destroy, rw_rdlock, rw_wrlock, rw_tryrdlock, rw_trywrlock, rw_unlock \- multiple readers, single writer locks @@ -12,7 +12,7 @@ rw_trywrlock, rw_unlock \- multiple readers, single writer locks .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <synch.h> +#include <synch.h> \fBint\fR \fBrwlock_init\fR(\fBrwlock_t *\fR\fIrwlp\fR, \fBint\fR \fItype\fR, \fBvoid *\fR \fIarg\fR); .fi @@ -73,12 +73,10 @@ by way of \fIarg\fR. The \fItype\fR argument can be one of the following: .sp .ne 2 -.mk .na \fB\fBUSYNC_PROCESS\fR \fR .ad .RS 18n -.rt The readers/writer lock can synchronize threads in this process and other processes. The readers/writer lock should be initialized by only one process. \fIarg\fR is ignored. A readers/writer lock initialized with this type, must be @@ -90,12 +88,10 @@ shared memory. .sp .ne 2 -.mk .na \fB\fBUSYNC_THREAD\fR \fR .ad .RS 18n -.rt The readers/writer lock can synchronize threads in this process, only. \fIarg\fR is ignored. .RE @@ -114,7 +110,7 @@ The following are default readers/writer lock initialization (intra-process): .nf rwlock_t rwlp; rwlock_init(&rwlp, NULL, NULL); - + .fi .in -2 @@ -197,12 +193,10 @@ returned to indicate the error. The \fBrwlock_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt \fBtype\fR is invalid. .RE @@ -211,12 +205,10 @@ The \fBrwlock_init()\fR function will fail if: The \fBrw_tryrdlock()\fR or \fBrw_trywrlock()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR \fR .ad .RS 10n -.rt The reader or writer lock pointed to by \fIrwlp\fR was already locked. .RE @@ -225,12 +217,10 @@ The reader or writer lock pointed to by \fIrwlp\fR was already locked. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR \fR .ad .RS 11n -.rt \fIrwlp\fR or \fIarg\fR points to an illegal address. .RE @@ -242,13 +232,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/scandir.3c b/usr/src/man/man3c/scandir.3c index abc2ca00a2..97c7bd1c6e 100644 --- a/usr/src/man/man3c/scandir.3c +++ b/usr/src/man/man3c/scandir.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 scandir 3C "4 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH SCANDIR 3C "May 4, 2004" .SH NAME scandir, alphasort \- scan a directory .SH SYNOPSIS @@ -62,12 +62,10 @@ value reserved to indicate an error. The \fBscandir()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The number of directory entries exceeds the number that can be represented by an \fBint\fR. .RE @@ -85,15 +83,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSee below. +MT-Level See below. .TE .sp diff --git a/usr/src/man/man3c/scanf.3c b/usr/src/man/man3c/scanf.3c index 2a0b46f144..caf451704f 100644 --- a/usr/src/man/man3c/scanf.3c +++ b/usr/src/man/man3c/scanf.3c @@ -3,14 +3,14 @@ .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1997, The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 scanf 3C "10 Jul 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCANF 3C "Jul 10, 2008" .SH NAME scanf, fscanf, sscanf, vscanf, vfscanf, vsscanf \- convert formatted input .SH SYNOPSIS @@ -222,12 +222,10 @@ represented in the space provided, the behavior is undefined. The length modifiers and their meanings are: .sp .ne 2 -.mk .na \fB\fBhh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBsigned char\fR or \fBunsigned char\fR. @@ -235,12 +233,10 @@ pointer to \fBsigned char\fR or \fBunsigned char\fR. .sp .ne 2 -.mk .na \fB\fBh\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBshort\fR or \fBunsigned short\fR. @@ -248,12 +244,10 @@ pointer to \fBshort\fR or \fBunsigned short\fR. .sp .ne 2 -.mk .na \fB\fBl\fR (ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBlong\fR or \fBunsigned long\fR; that a following \fBa\fR, @@ -265,12 +259,10 @@ argument with type pointer to \fBwchar_t\fR. .sp .ne 2 -.mk .na \fB\fBll\fR (ell-ell)\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBlong long\fR or \fBunsigned long long\fR. @@ -278,12 +270,10 @@ pointer to \fBlong long\fR or \fBunsigned long long\fR. .sp .ne 2 -.mk .na \fB\fBj\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBintmax_t\fR or \fBuintmax_t\fR. @@ -291,12 +281,10 @@ pointer to \fBintmax_t\fR or \fBuintmax_t\fR. .sp .ne 2 -.mk .na \fB\fBz\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBsize_t\fR or the corresponding signed integer type. @@ -304,12 +292,10 @@ pointer to \fBsize_t\fR or the corresponding signed integer type. .sp .ne 2 -.mk .na \fB\fBt\fR\fR .ad .RS 16n -.rt Specifies that a following \fBd\fR, \fBi\fR, \fBo\fR, \fBu\fR, \fBx\fR, \fBX\fR, or \fBn\fR conversion specifier applies to an argument with type pointer to \fBptrdiff_t\fR or the corresponding \fBunsigned\fR type. @@ -317,12 +303,10 @@ pointer to \fBptrdiff_t\fR or the corresponding \fBunsigned\fR type. .sp .ne 2 -.mk .na \fB\fBL\fR\fR .ad .RS 16n -.rt Specifies that a following \fBa\fR, \fBA\fR, \fBe\fR, \fBE\fR, \fBf\fR, \fBF\fR, \fBg\fR, or \fBG\fR conversion specifier applies to an argument with type pointer to \fBlong double\fR. @@ -338,12 +322,10 @@ specified above, the behavior is undefined. The following conversion characters are valid: .sp .ne 2 -.mk .na \fB\fBd\fR\fR .ad .RS 11n -.rt Matches an optionally signed decimal integer, whose format is the same as expected for the subject sequence of \fBstrtol\fR(3C) with the value 10 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -352,12 +334,10 @@ argument must be a pointer to \fBint\fR. .sp .ne 2 -.mk .na \fB\fBi\fR\fR .ad .RS 11n -.rt Matches an optionally signed integer, whose format is the same as expected for the subject sequence of \fBstrtol()\fR with 0 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding argument must be a pointer to @@ -366,12 +346,10 @@ the absence of a size modifier, the corresponding argument must be a pointer to .sp .ne 2 -.mk .na \fB\fBo\fR\fR .ad .RS 11n -.rt Matches an optionally signed octal integer, whose format is the same as expected for the subject sequence of \fBstrtoul\fR(3C) with the value 8 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -380,12 +358,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBu\fR\fR .ad .RS 11n -.rt Matches an optionally signed decimal integer, whose format is the same as expected for the subject sequence of \fBstrtoul()\fR with the value 10 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -394,12 +370,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBx\fR\fR .ad .RS 11n -.rt Matches an optionally signed hexadecimal integer, whose format is the same as expected for the subject sequence of \fBstrtoul()\fR with the value 16 for the \fIbase\fR argument. In the absence of a size modifier, the corresponding @@ -408,12 +382,10 @@ argument must be a pointer to \fBunsigned int\fR. .sp .ne 2 -.mk .na \fB\fBa\fR,\fBe\fR,\fBf\fR,\fBg\fR\fR .ad .RS 11n -.rt Matches an optionally signed floating-point number, infinity, or NaN, whose format is the same as expected for the subject sequence of \fBstrtod\fR(3C). In the absence of a size modifier, the corresponding argument must be a pointer to @@ -431,12 +403,10 @@ setting of \fBerrno\fR to \fBERANGE\fR, if applicable. .sp .ne 2 -.mk .na \fB\fBs\fR\fR .ad .RS 11n -.rt Matches a sequence of bytes that are not white-space characters. The corresponding argument must be a pointer to the initial byte of an array of \fBchar\fR, \fBsigned char\fR, or \fBunsigned char\fR large enough to accept @@ -454,12 +424,10 @@ the terminating null wide-character, which will be added automatically. .sp .ne 2 -.mk .na \fB\fB[\fR\fR .ad .RS 11n -.rt Matches a non-empty sequence of characters from a set of expected characters (the \fIscanset\fR). The normal skip over white-space characters is suppressed in this case. The corresponding argument must be a pointer to the initial byte @@ -492,12 +460,10 @@ it indicates a range of characters to be matched. .sp .ne 2 -.mk .na \fB\fBc\fR\fR .ad .RS 11n -.rt Matches a sequence of characters of the number specified by the field width (1 if no field width is present in the conversion specification). The corresponding argument must be a pointer to the initial byte of an array of @@ -516,12 +482,10 @@ sequence of wide-characters. No null wide-character is added. .sp .ne 2 -.mk .na \fB\fBp\fR\fR .ad .RS 11n -.rt Matches the set of sequences that is the same as the set of sequences that is produced by the \fB%p\fR conversion of the corresponding \fBprintf\fR(3C) functions. The corresponding argument must be a pointer to a pointer to @@ -532,12 +496,10 @@ otherwise the behavior of the \fB%p\fR conversion is undefined. .sp .ne 2 -.mk .na \fB\fBn\fR\fR .ad .RS 11n -.rt No input is consumed. The corresponding argument must be a pointer to the integer into which is to be written the number of bytes read from the input so far by this call to the \fBscanf()\fR functions. Execution of a \fB%n\fR @@ -547,34 +509,28 @@ the completion of execution of the function. .sp .ne 2 -.mk .na \fB\fBC\fR\fR .ad .RS 11n -.rt Same as \fBlc\fR. .RE .sp .ne 2 -.mk .na \fB\fBS\fR\fR .ad .RS 11n -.rt Same as \fBls\fR. .RE .sp .ne 2 -.mk .na \fB\fB%\fR\fR .ad .RS 11n -.rt Matches a single \fB%\fR; no conversion or assignment occurs. The complete conversion specification must be \fB%%\fR. .RE @@ -636,23 +592,19 @@ fail, refer to \fBfgetc\fR(3C) or \fBfgetwc\fR(3C). In addition, \fBfscanf()\fR may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Input byte sequence does not form a valid character. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There are insufficient arguments. .RE @@ -724,19 +676,18 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_get_priority_max.3c b/usr/src/man/man3c/sched_get_priority_max.3c index c73a79125f..49b7ceb075 100644 --- a/usr/src/man/man3c/sched_get_priority_max.3c +++ b/usr/src/man/man3c/sched_get_priority_max.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_get_priority_max 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_GET_PRIORITY_MAX 3C "Apr 1, 2008" .SH NAME sched_get_priority_max, sched_get_priority_min \- get scheduling parameter limits @@ -50,12 +50,10 @@ The \fBsched_get_priority_max()\fR and \fBsched_get_priority_min()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIpolicy\fR parameter does not represent a defined scheduling policy. .RE @@ -68,17 +66,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_getparam.3c b/usr/src/man/man3c/sched_getparam.3c index fcd3964abb..d5a6ee918d 100644 --- a/usr/src/man/man3c/sched_getparam.3c +++ b/usr/src/man/man3c/sched_getparam.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_getparam 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_GETPARAM 3C "Apr 1, 2008" .SH NAME sched_getparam \- get scheduling parameters .SH SYNOPSIS @@ -48,24 +48,20 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBsched_getparam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The requesting process does not have permission to obtain the scheduling parameters of the specified process. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt No process can be found corresponding to that specified by \fIpid\fR. .RE @@ -77,17 +73,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_getscheduler.3c b/usr/src/man/man3c/sched_getscheduler.3c index ee76da92f3..a35b1782ec 100644 --- a/usr/src/man/man3c/sched_getscheduler.3c +++ b/usr/src/man/man3c/sched_getscheduler.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_getscheduler 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_GETSCHEDULER 3C "Apr 1, 2008" .SH NAME sched_getscheduler \- get scheduling policy .SH SYNOPSIS @@ -51,24 +51,20 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBsched_getscheduler()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt The requesting process does not have permission to determine the scheduling policy of the specified process. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt No process can be found corresponding to that specified by \fIpid\fR. .RE @@ -80,17 +76,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_rr_get_interval.3c b/usr/src/man/man3c/sched_rr_get_interval.3c index ae69a39540..a2f5bb91ee 100644 --- a/usr/src/man/man3c/sched_rr_get_interval.3c +++ b/usr/src/man/man3c/sched_rr_get_interval.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_rr_get_interval 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_RR_GET_INTERVAL 3C "Apr 1, 2008" .SH NAME sched_rr_get_interval \- get execution time limits .SH SYNOPSIS @@ -39,12 +39,10 @@ Otherwise, it returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBsched_rr_get_interval()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt No process can be found corresponding to that specified by \fIpid\fR. .RE @@ -56,17 +54,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_setparam.3c b/usr/src/man/man3c/sched_setparam.3c index f9cf8d82ff..226470a892 100644 --- a/usr/src/man/man3c/sched_setparam.3c +++ b/usr/src/man/man3c/sched_setparam.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_setparam 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_SETPARAM 3C "Apr 1, 2008" .SH NAME sched_setparam \- set scheduling parameters .SH SYNOPSIS @@ -73,24 +73,20 @@ indicate the error. The \fBsched_setparam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One or more of the requested scheduling parameters is outside the range defined for the scheduling policy of the specified \fIpid\fR. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The requesting process does not have permission to set the scheduling parameters for the specified process, or does not have the appropriate privilege to invoke \fBsched_setparam()\fR. @@ -98,12 +94,10 @@ privilege to invoke \fBsched_setparam()\fR. .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No process can be found corresponding to that specified by \fIpid\fR. .RE @@ -115,17 +109,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_setscheduler.3c b/usr/src/man/man3c/sched_setscheduler.3c index c9f4ae0864..c87c6e2f0b 100644 --- a/usr/src/man/man3c/sched_setscheduler.3c +++ b/usr/src/man/man3c/sched_setscheduler.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_setscheduler 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_SETSCHEDULER 3C "Apr 1, 2008" .SH NAME sched_setscheduler \- set scheduling policy and scheduling parameters .SH SYNOPSIS @@ -74,12 +74,10 @@ and the function returns \(mi1 and sets \fBerrno\fR to indicate the error. The \fBsched_setscheduler()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIpolicy\fR is invalid, or one or more of the parameters contained in \fIparam\fR is outside the valid range for the specified scheduling policy. @@ -87,24 +85,20 @@ scheduling policy. .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The requesting process does not have permission to set either or both of the scheduling parameters or the scheduling policy of the specified process. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No process can be found corresponding to that specified by \fIpid.\fR .RE @@ -116,17 +110,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sched_yield.3c b/usr/src/man/man3c/sched_yield.3c index 182b2cacec..283060728f 100644 --- a/usr/src/man/man3c/sched_yield.3c +++ b/usr/src/man/man3c/sched_yield.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sched_yield 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SCHED_YIELD 3C "Feb 5, 2008" .SH NAME sched_yield \- yield processor .SH SYNOPSIS @@ -43,17 +43,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/schedctl_init.3c b/usr/src/man/man3c/schedctl_init.3c index f2ee505330..f2a92538fa 100644 --- a/usr/src/man/man3c/schedctl_init.3c +++ b/usr/src/man/man3c/schedctl_init.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 schedctl_init 3C "28 May 2003" "SunOS 5.11" "Standard C Library Functions" +.TH SCHEDCTL_INIT 3C "May 28, 2003" .SH NAME schedctl_init, schedctl_lookup, schedctl_exit, schedctl_start, schedctl_stop \- preemption control @@ -99,15 +99,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/seekdir.3c b/usr/src/man/man3c/seekdir.3c index 578d12d127..2b8dfd0b99 100644 --- a/usr/src/man/man3c/seekdir.3c +++ b/usr/src/man/man3c/seekdir.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 seekdir 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH SEEKDIR 3C "Aug 14, 2002" .SH NAME seekdir \- set position of directory stream .SH SYNOPSIS @@ -49,15 +49,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/select.3c b/usr/src/man/man3c/select.3c index 0be08d4352..0b154856e0 100644 --- a/usr/src/man/man3c/select.3c +++ b/usr/src/man/man3c/select.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 select 3C "1 Nov 2004" "SunOS 5.11" "Standard C Library Functions" +.TH SELECT 3C "Nov 1, 2004" .SH NAME select, pselect, FD_SET, FD_CLR, FD_ISSET, FD_ZERO \- synchronous I/O multiplexing @@ -242,48 +242,40 @@ the macros \fBFD_CLR()\fR, \fBFD_ISSET()\fR, \fBFD_SET()\fR, and \fBFD_ZERO()\fR. .sp .ne 2 -.mk .na \fB\fBFD_CLR\fR(\fIfd\fR, &\fIfdset\fR)\fR .ad .RS 24n -.rt Clears the bit for the file descriptor \fIfd\fR in the file descriptor set \fIfdset\fR. .RE .sp .ne 2 -.mk .na \fB\fBFD_ISSET\fR(\fIfd\fR, &\fIfdset\fR)\fR .ad .RS 24n -.rt Returns a non-zero value if the bit for the file descriptor \fIfd\fR is set in the file descriptor set pointed to by \fIfdset\fR, and 0 otherwise. .RE .sp .ne 2 -.mk .na \fB\fBFD_SET\fR(\fIfd\fR, &\fIfdset\fR)\fR .ad .RS 24n -.rt Sets the bit for the file descriptor \fIfd\fR in the file descriptor set \fIfdset\fR. .RE .sp .ne 2 -.mk .na \fB\fBFD_ZERO\fR(&\fIfdset\fR)\fR .ad .RS 24n -.rt Initializes the file descriptor set \fIfdset\fR to have zero bits for all file descriptors. .RE @@ -311,24 +303,20 @@ descriptor \fIfd\fR is set in the file descriptor set pointed to by The \fBselect()\fR and \fBpselect()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt One or more of the file descriptor sets specified a file descriptor that is not a valid open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The function was interrupted before any of the selected events occurred and before the timeout interval expired. .sp @@ -339,46 +327,38 @@ implementation-dependent whether \fBselect()\fR restarts or returns with .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An invalid timeout interval was specified. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fInfds\fR argument is less than 0 or greater than \fBFD_SETSIZE\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt One of the specified file descriptors refers to a STREAM or multiplexer that is linked (directly or indirectly) downstream from a multiplexer. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt A component of the pointed-to time limit is outside the acceptable range: \fBt_sec\fR must be between \fB0\fR and 10^8, inclusive. \fBt_usec\fR must be greater than or equal to \fB0\fR, and less than 10^6. @@ -405,15 +385,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_close.3c b/usr/src/man/man3c/sem_close.3c index f0277ae754..801ac40beb 100644 --- a/usr/src/man/man3c/sem_close.3c +++ b/usr/src/man/man3c/sem_close.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_close 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_CLOSE 3C "Feb 5, 2008" .SH NAME sem_close \- close a named semaphore .SH SYNOPSIS @@ -48,23 +48,19 @@ If successful, \fBsem_close()\fR returns \fB0\fR, otherwise it returns The \fBsem_close()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIsem\fR argument is not a valid semaphore descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBsem_close()\fR function is not supported by the system. .RE @@ -81,17 +77,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_destroy.3c b/usr/src/man/man3c/sem_destroy.3c index 8712ae64c4..9a8ae6b9d7 100644 --- a/usr/src/man/man3c/sem_destroy.3c +++ b/usr/src/man/man3c/sem_destroy.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_destroy 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_DESTROY 3C "Feb 5, 2008" .SH NAME sem_destroy \- destroy an unnamed semaphore .SH SYNOPSIS @@ -45,12 +45,10 @@ If successful, \fBsem_destroy()\fR returns \fB0\fR, otherwise it returns The \fBsem_destroy()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIsem\fR argument is not a valid semaphore. .RE @@ -59,12 +57,10 @@ The \fIsem\fR argument is not a valid semaphore. The \fBsem_destroy()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR \fR .ad .RS 10n -.rt There are currently processes (or LWPs or threads) blocked on the semaphore. .RE @@ -76,17 +72,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_getvalue.3c b/usr/src/man/man3c/sem_getvalue.3c index 45a641e772..dbc9c6bf47 100644 --- a/usr/src/man/man3c/sem_getvalue.3c +++ b/usr/src/man/man3c/sem_getvalue.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_getvalue 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_GETVALUE 3C "Feb 5, 2008" .SH NAME sem_getvalue \- get the value of a semaphore .SH SYNOPSIS @@ -50,23 +50,19 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBsem_getvalue()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIsem\fR argument does not refer to a valid semaphore. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBsem_getvalue()\fR function is not supported by the system. .RE @@ -78,17 +74,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_init.3c b/usr/src/man/man3c/sem_init.3c index 919f2b9d83..d91aa23763 100644 --- a/usr/src/man/man3c/sem_init.3c +++ b/usr/src/man/man3c/sem_init.3c @@ -10,7 +10,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 sem_init 3C "9 Jul 2009" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_INIT 3C "Jul 9, 2009" .SH NAME sem_init \- initialize an unnamed semaphore .SH SYNOPSIS @@ -69,46 +69,38 @@ the error. The \fBsem_init()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIvalue\fR argument exceeds \fBSEM_VALUE_MAX\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR \fR .ad .RS 11n -.rt A resource required to initialize the semaphore has been exhausted, or the resources have reached the limit on semaphores (\fBSEM_NSEMS_MAX\fR). .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBsem_init()\fR function is not supported by the system. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR \fR .ad .RS 11n -.rt The process lacks the appropriate privileges to initialize the semaphore. .RE @@ -120,17 +112,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_open.3c b/usr/src/man/man3c/sem_open.3c index 81e9d280a2..0fbceeae63 100644 --- a/usr/src/man/man3c/sem_open.3c +++ b/usr/src/man/man3c/sem_open.3c @@ -10,7 +10,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 sem_open 3C "9 Jul 2009" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_OPEN 3C "Jul 9, 2009" .SH NAME sem_open \- initialize/open a named semaphore .SH SYNOPSIS @@ -41,12 +41,10 @@ accessed by the call to \fBsem_open()\fR. The following flag bits may be set in \fIoflag\fR: .sp .ne 2 -.mk .na \fB\fBO_CREAT\fR\fR .ad .RS 11n -.rt This flag is used to create a semaphore if it does not already exist. If \fBO_CREAT\fR is set and the semaphore already exists, then \fBO_CREAT\fR has no effect, except as noted under \fB\fR\fBO_EXCL.\fR Otherwise, @@ -71,12 +69,10 @@ the \fBO_CREAT\fR flag, other processes can connect to the semaphore by calling .sp .ne 2 -.mk .na \fB\fBO_EXCL\fR\fR .ad .RS 11n -.rt If \fBO_EXCL\fR and \fBO_CREAT\fR are set, \fBsem_open()\fR fails if the semaphore \fIname\fR exists. The check for the existence of the semaphore and the creation of the semaphore if it does not exist are atomic with respect to @@ -125,12 +121,10 @@ If any of the following conditions occur, the \fBsem_open()\fR function will return \fBSEM_FAILED\fR and set \fBerrno\fR to the corresponding value: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt The named semaphore exists and the \fBO_RDWR\fR permissions are denied, or the named semaphore does not exist and permission to create the named semaphore is denied. @@ -138,34 +132,28 @@ denied. .sp .ne 2 -.mk .na \fB\fBEEXIST\fR\fR .ad .RS 16n -.rt \fBO_CREAT\fR and \fBO_EXCL\fR are set and the named semaphore already exists. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 16n -.rt The \fBsem_open()\fR function was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fBsem_open()\fR operation is not supported for the given name, or \fBO_CREAT\fR was set in \fIoflag\fR and \fIvalue\fR is greater than \fBSEM_VALUE_MAX\fR. @@ -173,12 +161,10 @@ The \fBsem_open()\fR operation is not supported for the given name, or .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt The number of open semaphore descriptors in this process exceeds \fBSEM_NSEMS_MAX\fR, or the number of open file descriptors in this process exceeds \fBOPEN_MAX\fR. @@ -186,57 +172,47 @@ exceeds \fBOPEN_MAX\fR. .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of \fIname\fR string exceeds \fIPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt Too many semaphores are currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt \fBO_CREAT\fR is not set and the named semaphore does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 16n -.rt There is insufficient space for the creation of the new named semaphore. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 16n -.rt The \fBsem_open()\fR function is not supported by the system. .RE @@ -248,17 +224,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_post.3c b/usr/src/man/man3c/sem_post.3c index e67147083a..11be97c49f 100644 --- a/usr/src/man/man3c/sem_post.3c +++ b/usr/src/man/man3c/sem_post.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_post 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_POST 3C "Feb 5, 2008" .SH NAME sem_post \- increment the count of a semaphore .SH SYNOPSIS @@ -54,34 +54,28 @@ If successful, \fBsem_post()\fR returns \fB0\fR; otherwise it returns The \fBsem_post()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 14n -.rt The \fIsem\fR argument does not refer to a valid semaphore. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 14n -.rt The \fBsem_post()\fR function is not supported by the system. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR \fR .ad .RS 14n -.rt The semaphore value exceeds \fBSEM_VALUE_MAX\fR. .RE @@ -105,17 +99,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_timedwait.3c b/usr/src/man/man3c/sem_timedwait.3c index 4da84b09e0..874365e41c 100644 --- a/usr/src/man/man3c/sem_timedwait.3c +++ b/usr/src/man/man3c/sem_timedwait.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_timedwait 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_TIMEDWAIT 3C "Feb 5, 2008" .SH NAME sem_timedwait, sem_reltimedwait_np \- lock a semaphore .SH SYNOPSIS @@ -78,23 +78,19 @@ The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The \fIsem\fR argument does not refer to a valid semaphore. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The process or thread would have blocked, and the timeout parameter specified a nanoseconds field value less than zero or greater than or equal to 1,000 million. @@ -102,12 +98,10 @@ million. .sp .ne 2 -.mk .na \fB\fBETIMEDOUT\fR\fR .ad .RS 13n -.rt The semaphore could not be locked before the specified timeout expired. .RE @@ -117,23 +111,19 @@ The \fBsem_timedwait()\fR and \fBsem_reltimedwait_np()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR\fR .ad .RS 11n -.rt A deadlock condition was detected. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 11n -.rt A signal interrupted this function. .RE @@ -145,17 +135,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommmitted +Interface Stability Commmitted _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/sem_unlink.3c b/usr/src/man/man3c/sem_unlink.3c index f91cccae70..5060e80ed3 100644 --- a/usr/src/man/man3c/sem_unlink.3c +++ b/usr/src/man/man3c/sem_unlink.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_unlink 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_UNLINK 3C "Feb 5, 2008" .SH NAME sem_unlink \- remove a named semaphore .SH SYNOPSIS @@ -46,46 +46,38 @@ sets \fBerrno\fR to indicate the error. The \fBsem_unlink()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR \fR .ad .RS 17n -.rt Permission is denied to unlink the named semaphore. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR \fR .ad .RS 17n -.rt The length of \fIname\fR string exceeds \fIPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR \fR .ad .RS 17n -.rt The named semaphore does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 17n -.rt The \fBsem_unlink()\fR function is not supported by the system. .RE @@ -97,17 +89,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sem_wait.3c b/usr/src/man/man3c/sem_wait.3c index a8068979a3..feff731536 100644 --- a/usr/src/man/man3c/sem_wait.3c +++ b/usr/src/man/man3c/sem_wait.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sem_wait 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEM_WAIT 3C "Feb 5, 2008" .SH NAME sem_wait, sem_trywait \- acquire or wait for a semaphore .SH SYNOPSIS @@ -57,23 +57,19 @@ the semaphore is unchanged, and the function returns \fB\(mi1\fR and sets The \fBsem_wait()\fR and \fBsem_trywait()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIsem\fR function does not refer to a valid semaphore. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBsem_wait()\fR and \fBsem_trywait()\fR functions are not supported by the system. .RE @@ -83,12 +79,10 @@ system. The \fBsem_trywait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt The semaphore was already locked, so it cannot be immediately locked by the \fBsem_trywait()\fR operation. .RE @@ -98,12 +92,10 @@ The semaphore was already locked, so it cannot be immediately locked by the The \fBsem_wait()\fR and \fBsem_trywait()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR \fR .ad .RS 12n -.rt A deadlock condition was detected; that is, two separate processes are waiting for an available resource to be released via a semaphore "held" by the other process. @@ -111,12 +103,10 @@ process. .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 12n -.rt A signal interrupted this function. .RE @@ -149,14 +139,14 @@ int banking_hours(), deposit_withdrawal; void *customer(), do_business(), skip_banking_today(); thread_t tid; \&... - -sem_init(&bank_line,TRUE,TELLERS); /* 10 tellers + +sem_init(&bank_line,TRUE,TELLERS); /* 10 tellers available */ while(banking_hours()) - thr_create(NULL, NULL, customer, + thr_create(NULL, NULL, customer, (void *)deposit_withdrawal, THREAD_NEW_LWP, &tid); \&... - + void * customer(deposit_withdrawal) void *deposit_withdrawal; @@ -168,15 +158,15 @@ void *deposit_withdrawal; if (errno == EAGAIN) { /* no teller available */ skip_banking_today(this_customer); return; - } /*else go immediately to available teller + } /*else go immediately to available teller & decrement bank_line*/ } else - sem_wait(&bank_line); /* wait for next teller, + sem_wait(&bank_line); /* wait for next teller, then proceed, and decrement bank_line */ do_business((int *)deposit_withdrawal); sem_getvalue(&bank_line,&num_tellers); - sem_post(&bank_line); /* increment bank_line; + sem_post(&bank_line); /* increment bank_line; this_customer's teller is now available */ } .fi @@ -190,17 +180,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/semaphore.3c b/usr/src/man/man3c/semaphore.3c index e58f749e88..a7f44daf27 100644 --- a/usr/src/man/man3c/semaphore.3c +++ b/usr/src/man/man3c/semaphore.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 semaphore 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SEMAPHORE 3C "Feb 5, 2008" .SH NAME semaphore, sema_init, sema_destroy, sema_wait, sema_trywait, sema_post \- semaphores @@ -17,7 +17,7 @@ semaphores .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... -lthread -lc [ \fIlibrary\fR... ] -#include <synch.h> +#include <synch.h> \fBint\fR \fBsema_init\fR(\fBsema_t *\fR\fIsp\fR, \fBunsigned int\fR \fIcount\fR, \fBint\fR \fItype\fR, \fBvoid *\fR \fIarg\fR); @@ -68,12 +68,10 @@ assign several different types of behavior to a semaphore. No current type uses The \fItype\fR argument may be one of the following: .sp .ne 2 -.mk .na \fB\fBUSYNC_PROCESS\fR \fR .ad .RS 18n -.rt The semaphore can synchronize threads in this process and other processes. Initializing the semaphore should be done by only one process. A semaphore initialized with this type must be allocated in memory shared between @@ -84,12 +82,10 @@ this way and not allocate it in such shared memory. \fIarg\fR is ignored. .sp .ne 2 -.mk .na \fB\fBUSYNC_THREAD\fR \fR .ad .RS 18n -.rt The semaphore can synchronize threads only in this process. The \fIarg\fR argument is ignored. \fBUSYNC_THREAD\fR does not support multiple mappings to the same logical synch object. If you need to \fBmmap()\fR a synch object to @@ -173,23 +169,19 @@ indicates an error. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIsp\fR argument does not refer to a valid semaphore. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR \fR .ad .RS 11n -.rt Either the \fIsp\fR or \fIarg\fR argument points to an illegal address. .RE @@ -198,12 +190,10 @@ Either the \fIsp\fR or \fIarg\fR argument points to an illegal address. The \fBsema_wait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 10n -.rt The wait was interrupted by a signal or \fBfork()\fR. .RE @@ -212,12 +202,10 @@ The wait was interrupted by a signal or \fBfork()\fR. The \fBsema_trywait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBUSY\fR \fR .ad .RS 10n -.rt The semaphore pointed to by \fIsp\fR has a 0 count. .RE @@ -226,12 +214,10 @@ The semaphore pointed to by \fIsp\fR has a 0 count. The \fBsema_post()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR \fR .ad .RS 14n -.rt The semaphore value pointed to by \fIsp\fR exceeds \fBSEM_VALUE_MAX\fR. .RE @@ -272,11 +258,11 @@ customer(int deposit_withdrawal) decrement tellers */ } else - sema_wait(&tellers); /* wait for next teller, then + sema_wait(&tellers); /* wait for next teller, then proceed, and decrement tellers */ do_business(deposit_withdrawal); - sema_post(&tellers); /* increment tellers; this_customer's + sema_post(&tellers); /* increment tellers; this_customer's teller is now available */ } .fi @@ -290,13 +276,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setbuf.3c b/usr/src/man/man3c/setbuf.3c index 1ee1c23aeb..c49a7ce159 100644 --- a/usr/src/man/man3c/setbuf.3c +++ b/usr/src/man/man3c/setbuf.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 setbuf 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH SETBUF 3C "Aug 14, 2002" .SH NAME setbuf, setvbuf \- assign buffering to a stream .SH SYNOPSIS @@ -37,35 +37,29 @@ will be buffered. Legal values for \fItype\fR (defined in <\fBstdio.h\fR>) are: .sp .ne 2 -.mk .na \fB\fB_IOFBF\fR\fR .ad .RS 10n -.rt Input/output to be fully buffered. .RE .sp .ne 2 -.mk .na \fB\fB_IOLBF\fR\fR .ad .RS 10n -.rt Output to be line buffered; the buffer will be flushed when a \fBNEWLINE\fR is written, the buffer is full, or input is requested. .RE .sp .ne 2 -.mk .na \fB\fB_IONBF\fR\fR .ad .RS 10n -.rt Input/output to be completely unbuffered. .RE @@ -108,15 +102,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setbuffer.3c b/usr/src/man/man3c/setbuffer.3c index da90348042..78a42edc2c 100644 --- a/usr/src/man/man3c/setbuffer.3c +++ b/usr/src/man/man3c/setbuffer.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 setbuffer 3C "13 May 1997" "SunOS 5.11" "Standard C Library Functions" +.TH SETBUFFER 3C "May 13, 1997" .SH NAME setbuffer, setlinebuf \- assign buffering to a stream .SH SYNOPSIS diff --git a/usr/src/man/man3c/setcat.3c b/usr/src/man/man3c/setcat.3c index f73bf35cb7..5fb7ddec47 100644 --- a/usr/src/man/man3c/setcat.3c +++ b/usr/src/man/man3c/setcat.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 setcat 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH SETCAT 3C "Dec 29, 1996" .SH NAME setcat \- define default catalog .SH SYNOPSIS @@ -64,13 +64,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setenv.3c b/usr/src/man/man3c/setenv.3c index 2166176a71..03dd0a696b 100644 --- a/usr/src/man/man3c/setenv.3c +++ b/usr/src/man/man3c/setenv.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 setenv 3C "31 Mar 2002" "SunOS 5.11" "Standard C Library Functions" +.TH SETENV 3C "Mar 31, 2002" .SH NAME setenv \- add or change environment variable .SH SYNOPSIS @@ -53,24 +53,20 @@ Upon successful completion, 0 is returned. Otherwise, -1 is returned, The \fBsetenv()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIenvname\fR argument is a null pointer, points to an empty string, or points to a string containing an '=' character. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory was available to add a variable or its value to the environment. .RE @@ -83,15 +79,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setjmp.3c b/usr/src/man/man3c/setjmp.3c index 493247611a..a25dbdd9cd 100644 --- a/usr/src/man/man3c/setjmp.3c +++ b/usr/src/man/man3c/setjmp.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1997, The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 setjmp 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH SETJMP 3C "Aug 14, 2002" .SH NAME setjmp, sigsetjmp, longjmp, siglongjmp \- non-local goto .SH SYNOPSIS @@ -198,15 +198,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setkey.3c b/usr/src/man/man3c/setkey.3c index 47c22680a9..054bc2b66f 100644 --- a/usr/src/man/man3c/setkey.3c +++ b/usr/src/man/man3c/setkey.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 setkey 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH SETKEY 3C "Aug 14, 2002" .SH NAME setkey \- set encoding key .SH SYNOPSIS @@ -38,12 +38,10 @@ No values are returned. The \fBsetkey()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The functionality is not supported on this implementation. .RE @@ -69,15 +67,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setlabel.3c b/usr/src/man/man3c/setlabel.3c index 8049a6ef78..dfb913dd52 100644 --- a/usr/src/man/man3c/setlabel.3c +++ b/usr/src/man/man3c/setlabel.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 setlabel 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH SETLABEL 3C "Dec 29, 1996" .SH NAME setlabel \- define the label for \fBpfmt()\fR and \fBlfmt()\fR .SH SYNOPSIS @@ -65,13 +65,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/setlocale.3c b/usr/src/man/man3c/setlocale.3c index 78cbc5c877..4690ec3850 100644 --- a/usr/src/man/man3c/setlocale.3c +++ b/usr/src/man/man3c/setlocale.3c @@ -4,7 +4,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 setlocale 3C "19 Sep 2005" "SunOS 5.11" "Standard C Library Functions" +.TH SETLOCALE 3C "Sep 19, 2005" .SH NAME setlocale \- modify and query a program's locale .SH SYNOPSIS @@ -72,23 +72,22 @@ for the various categories is given below: .sp .TS -tab() box; -cw(1.38i) |cw(1.38i) |cw(1.38i) |cw(1.38i) -lw(1.38i) |lw(1.38i) |lw(1.38i) |lw(1.38i) -. -Category1st Env Var2nd Env Var3rd Env Var +box; +c | c | c | c +l | l | l | l . +Category 1st Env Var 2nd Env Var 3rd Env Var _ -LC_CTYPE:LC_ALLLC_CTYPELANG +LC_CTYPE: LC_ALL LC_CTYPE LANG _ -LC_COLLATE:LC_ALLLC_COLLATELANG +LC_COLLATE: LC_ALL LC_COLLATE LANG _ -LC_TIME:LC_ALLLC_TIMELANG +LC_TIME: LC_ALL LC_TIME LANG _ -LC_NUMERIC:LC_ALLLC_NUMERICLANG +LC_NUMERIC: LC_ALL LC_NUMERIC LANG _ -LC_MONETARY:LC_ALLLC_MONETARYLANG +LC_MONETARY: LC_ALL LC_MONETARY LANG _ -LC_MESSAGES:LC_ALLLC_MESSAGESLANG +LC_MESSAGES: LC_ALL LC_MESSAGES LANG .TE .sp @@ -132,12 +131,10 @@ No errors are defined. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fIlocale\fR\fR\fR .ad .RS 26n -.rt locale database directory for \fIlocale\fR .RE @@ -149,17 +146,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/shm_open.3c b/usr/src/man/man3c/shm_open.3c index d06a708f6b..4f19f0defb 100644 --- a/usr/src/man/man3c/shm_open.3c +++ b/usr/src/man/man3c/shm_open.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 shm_open 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SHM_OPEN 3C "Feb 5, 2008" .SH NAME shm_open \- open a shared memory object .SH SYNOPSIS @@ -52,23 +52,19 @@ Applications specify exactly one of the first two values (access modes) below in the value of \fIoflag\fR: .sp .ne 2 -.mk .na \fB\fBO_RDONLY\fR \fR .ad .RS 13n -.rt Open for read access only. .RE .sp .ne 2 -.mk .na \fB\fBO_RDWR\fR \fR .ad .RS 13n -.rt Open for read or write access. .RE @@ -78,12 +74,10 @@ Any combination of the remaining flags may be specified in the value of \fIoflag\fR: .sp .ne 2 -.mk .na \fB\fBO_CREAT\fR \fR .ad .RS 12n -.rt If the shared memory object exists, this flag has no effect, except as noted under \fBO_EXCL\fR below. Otherwise the shared memory object is created; the user \fBID\fR of the shared memory object will be set to the effective user @@ -99,12 +93,10 @@ for both. The shared memory object has a size of zero. .sp .ne 2 -.mk .na \fB\fBO_EXCL\fR \fR .ad .RS 12n -.rt If \fBO_EXCL\fR and \fBO_CREAT\fR are set, \fBshm_open()\fR fails if the shared memory object exists. The check for the existence of the shared memory object and the creation of the object if it does not exist is atomic with respect to @@ -115,12 +107,10 @@ with \fBO_EXCL\fR and \fBO_CREAT\fR set. If \fBO_EXCL\fR is set and .sp .ne 2 -.mk .na \fB\fBO_TRUNC\fR \fR .ad .RS 12n -.rt If the shared memory object exists, and it is successfully opened \fBO_RDWR\fR, the object will be truncated to zero length and the mode and owner will be unchanged by this function call. The result of using \fBO_TRUNC\fR with @@ -147,12 +137,10 @@ condition. The \fBshm_open()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR \fR .ad .RS 17n -.rt The shared memory object exists and the permissions specified by \fIoflag\fR are denied, or the shared memory object does not exist and permission to create the shared memory object is denied, or \fBO_TRUNC\fR is specified and write @@ -161,57 +149,47 @@ permission is denied. .sp .ne 2 -.mk .na \fB\fBEEXIST\fR \fR .ad .RS 17n -.rt \fBO_CREAT\fR and \fBO_EXCL\fR are set and the named shared memory object already exists. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR \fR .ad .RS 17n -.rt The \fBshm_open()\fR operation was interrupted by a signal. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 17n -.rt The \fBshm_open()\fR operation is not supported for the given name. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR \fR .ad .RS 17n -.rt Too many file descriptors are currently in use by this process. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR \fR .ad .RS 17n -.rt The length of the \fIname\fR string exceeds \fBPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. @@ -219,45 +197,37 @@ effect. .sp .ne 2 -.mk .na \fB\fBENFILE\fR \fR .ad .RS 17n -.rt Too many shared memory objects are currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR \fR .ad .RS 17n -.rt \fBO_CREAT\fR is not set and the named shared memory object does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR \fR .ad .RS 17n -.rt There is insufficient space for the creation of the new shared memory object. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 17n -.rt The \fBshm_open()\fR function is not supported by the system. .RE @@ -269,17 +239,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/shm_unlink.3c b/usr/src/man/man3c/shm_unlink.3c index f331ca1348..88f7019e19 100644 --- a/usr/src/man/man3c/shm_unlink.3c +++ b/usr/src/man/man3c/shm_unlink.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 shm_unlink 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SHM_UNLINK 3C "Feb 5, 2008" .SH NAME shm_unlink \- remove a shared memory object .SH SYNOPSIS @@ -41,23 +41,19 @@ the named shared memory object is not affected by this function call. The \fBshm_unlink()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR \fR .ad .RS 17n -.rt Permission is denied to unlink the named shared memory object. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR \fR .ad .RS 17n -.rt The length of the \fIname\fR string exceeds \fBPATH_MAX\fR, or a pathname component is longer than \fINAME_MAX\fR while \fB_POSIX_NO_TRUNC\fR is in effect. @@ -65,23 +61,19 @@ effect. .sp .ne 2 -.mk .na \fB\fBENOENT\fR \fR .ad .RS 17n -.rt The named shared memory object does not exist. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 17n -.rt The \fBshm_unlink()\fR function is not supported by the system. .RE @@ -93,17 +85,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sigfpe.3c b/usr/src/man/man3c/sigfpe.3c index f1c7187f86..5f40071c75 100644 --- a/usr/src/man/man3c/sigfpe.3c +++ b/usr/src/man/man3c/sigfpe.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 sigfpe 3C "4 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH SIGFPE 3C "May 4, 2004" .SH NAME sigfpe \- signal handling for specific SIGFPE codes .SH SYNOPSIS @@ -35,7 +35,7 @@ The \fIcode\fR argument is usually one of the five \fBIEEE\|754-related\fR .in +2 .nf FPE_FLTRES fp_inexact \(mi floating-point inexact result -FPE_FLTDIV fp_division \(mi floating-point division by zero +FPE_FLTDIV fp_division \(mi floating-point division by zero FPE_FLTUND fp_underflow \(mi floating-point underflow FPE_FLTOVF fp_overflow \(mi floating-point overflow FPE_FLTINV fp_invalid \(mi floating-point invalid operation @@ -100,7 +100,7 @@ sample_handler(int sig, siginfo_t *sip, ucontext_t *uap) { case FPE_FLTOVF: label = "overflow"; break; default: label = "???"; break; } - fprintf(stderr, + fprintf(stderr, "FP exception %s (0x%x) occurred at address %p.\en", label, sip\(mi>si_code, (void *) sip\(mi>si_addr); abort(); @@ -142,7 +142,6 @@ main(void) { .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/include/floatingpoint.h\fR\fR .ad @@ -153,7 +152,6 @@ main(void) { .sp .ne 2 -.mk .na \fB\fB/usr/include/siginfo.h\fR\fR .ad @@ -170,13 +168,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/siginterrupt.3c b/usr/src/man/man3c/siginterrupt.3c index 69fe20f644..0cfffd3b22 100644 --- a/usr/src/man/man3c/siginterrupt.3c +++ b/usr/src/man/man3c/siginterrupt.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 siginterrupt 3C "1 Sep 2003" "SunOS 5.11" "Standard C Library Functions" +.TH SIGINTERRUPT 3C "Sep 1, 2003" .SH NAME siginterrupt \- allow signals to interrupt functions .SH SYNOPSIS @@ -48,12 +48,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBsiginterrupt()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsig\fR argument is not a valid signal number. .RE @@ -72,15 +70,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/signal.3c b/usr/src/man/man3c/signal.3c index 790624ec5d..9dbcfcd3e0 100644 --- a/usr/src/man/man3c/signal.3c +++ b/usr/src/man/man3c/signal.3c @@ -4,7 +4,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 signal 3C "6 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH SIGNAL 3C "Sep 6, 2007" .SH NAME signal, sigset, sighold, sigrelse, sigignore, sigpause \- simplified signal management for application processes @@ -101,23 +101,19 @@ return \fB\(mi1\fR and set \fBerrno\fR to indicate the error. These functions fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during the execution \fBsigpause()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIsig\fR argument is not a valid signal or is equal to \fBSIGKILL\fR or \fBSIGSTOP\fR. .RE @@ -154,15 +150,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sigqueue.3c b/usr/src/man/man3c/sigqueue.3c index 4010b45067..41a3dc4428 100644 --- a/usr/src/man/man3c/sigqueue.3c +++ b/usr/src/man/man3c/sigqueue.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sigqueue 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SIGQUEUE 3C "Feb 5, 2008" .SH NAME sigqueue \- queue a signal to a process .SH SYNOPSIS .LP .nf #include <sys/types.h> -#include <signal.h> +#include <signal.h> \fBint\fR \fBsigqueue\fR(\fBpid_t\fR \fIpid\fR, \fBint\fR \fIsigno\fR, \fBconst union sigval\fR \fIvalue\fR); .fi @@ -64,12 +64,10 @@ Upon successful completion, the specified signal will have been queued, and the The \fBsigqueue()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt No resources are available to queue the signal. The process has already queued \fBSIGQUEUE_MAX\fR signals that are still pending at the receiver(s), or a system wide resource limit has been exceeded. @@ -77,46 +75,38 @@ system wide resource limit has been exceeded. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The value of \fIsigno\fR is an invalid or unsupported signal number. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBsigqueue()\fR function is not supported by the system. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR \fR .ad .RS 11n -.rt The process does not have the appropriate privilege to send the signal to the receiving process. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR \fR .ad .RS 11n -.rt The process \fIpid\fR does not exist. .RE @@ -128,17 +118,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sigsetops.3c b/usr/src/man/man3c/sigsetops.3c index 6de51bbd91..25af9a8101 100644 --- a/usr/src/man/man3c/sigsetops.3c +++ b/usr/src/man/man3c/sigsetops.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 sigsetops 3C "19 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH SIGSETOPS 3C "Dec 19, 2003" .SH NAME sigsetops, sigemptyset, sigfillset, sigaddset, sigdelset, sigismember \- manipulate sets of signals @@ -80,12 +80,10 @@ The \fBsigaddset()\fR, \fBsigdelset()\fR, and \fBsigismember()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIsigno\fR argument is not a valid signal number. .RE @@ -94,12 +92,10 @@ The value of the \fIsigno\fR argument is not a valid signal number. The \fBsigfillset()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIset\fR argument specifies an invalid address. .RE @@ -111,15 +107,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sigstack.3c b/usr/src/man/man3c/sigstack.3c index 94fb210cee..eca6515e6e 100644 --- a/usr/src/man/man3c/sigstack.3c +++ b/usr/src/man/man3c/sigstack.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sigstack 3C "28 Feb 1996" "SunOS 5.11" "Standard C Library Functions" +.TH SIGSTACK 3C "Feb 28, 1996" .SH NAME sigstack \- set and/or get alternate signal stack context .SH SYNOPSIS @@ -82,12 +82,10 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBsigstack()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 9n -.rt An attempt was made to modify an active stack. .RE diff --git a/usr/src/man/man3c/sigwaitinfo.3c b/usr/src/man/man3c/sigwaitinfo.3c index 9eb60303c3..1ecdb88c19 100644 --- a/usr/src/man/man3c/sigwaitinfo.3c +++ b/usr/src/man/man3c/sigwaitinfo.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sigwaitinfo 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SIGWAITINFO 3C "Feb 5, 2008" .SH NAME sigwaitinfo, sigtimedwait \- wait for queued signals .SH SYNOPSIS @@ -85,23 +85,19 @@ and sets \fBerrno\fR to indicate the error. The \fBsigwaitinfo()\fR and \fBsigtimedwait()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The wait was interrupted by an unblocked, caught signal. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBsigwaitinfo()\fR and \fBsigtimedwait()\fR functions are not supported. .RE @@ -110,12 +106,10 @@ The \fBsigwaitinfo()\fR and \fBsigtimedwait()\fR functions are not supported. The \fBsigtimedwait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt No signal specified by \fBset\fR was generated within the specified timeout period. .RE @@ -125,12 +119,10 @@ period. The \fBsigwaitinfo()\fR and \fBsigtimedwait()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIset\fR, \fIinfo\fR, or \fItimeout\fR argument points to an invalid address. .RE @@ -140,12 +132,10 @@ address. The \fBsigtimedwait()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fItimeout\fR argument specified a \fBtv_nsec\fR value less than zero or greater than or equal to 1000 million. The system only checks for this error if no signal is pending in \fIset\fR and it is necessary to wait. @@ -159,17 +149,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Safe +MT-Level Async-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sleep.3c b/usr/src/man/man3c/sleep.3c index b6ae2edef1..4fada59ca5 100644 --- a/usr/src/man/man3c/sleep.3c +++ b/usr/src/man/man3c/sleep.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sleep 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SLEEP 3C "Feb 5, 2008" .SH NAME sleep \- suspend execution for an interval of time .SH SYNOPSIS @@ -44,17 +44,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ssignal.3c b/usr/src/man/man3c/ssignal.3c index 316cbc37d2..aabb691106 100644 --- a/usr/src/man/man3c/ssignal.3c +++ b/usr/src/man/man3c/ssignal.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 ssignal 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH SSIGNAL 3C "Dec 29, 1996" .SH NAME ssignal, gsignal \- software signals .SH SYNOPSIS @@ -72,13 +72,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/stack_getbounds.3c b/usr/src/man/man3c/stack_getbounds.3c index af6053036f..a98bd6c491 100644 --- a/usr/src/man/man3c/stack_getbounds.3c +++ b/usr/src/man/man3c/stack_getbounds.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 stack_getbounds 3C "18 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH STACK_GETBOUNDS 3C "Jul 18, 2002" .SH NAME stack_getbounds \- retrieve stack boundaries .SH SYNOPSIS @@ -39,12 +39,10 @@ is returned and \fBerrno\fR is set to indicate the error. The \fBstack_getbounds()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIsp\fR argument does not refer to a valid address. .RE @@ -56,15 +54,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/stack_inbounds.3c b/usr/src/man/man3c/stack_inbounds.3c index 04782c638d..783de9536c 100644 --- a/usr/src/man/man3c/stack_inbounds.3c +++ b/usr/src/man/man3c/stack_inbounds.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 stack_inbounds 3C "18 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH STACK_INBOUNDS 3C "Jul 18, 2002" .SH NAME stack_inbounds \- determine if address is within stack boundaries .SH SYNOPSIS @@ -39,15 +39,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/stack_setbounds.3c b/usr/src/man/man3c/stack_setbounds.3c index 018ee00faa..c640989479 100644 --- a/usr/src/man/man3c/stack_setbounds.3c +++ b/usr/src/man/man3c/stack_setbounds.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 stack_setbounds 3C "18 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH STACK_SETBOUNDS 3C "Jul 18, 2002" .SH NAME stack_setbounds \- update stack boundaries .SH SYNOPSIS @@ -33,12 +33,10 @@ is returned and \fBerrno\fR is set to indicate the error. The \fBstack_setbounds()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIsp\fR argument does not refer to a valid address or the \fBss_sp\fR member of the \fBstack_t\fR structure pointed to by \fIsp\fR points to an illegal address. @@ -46,12 +44,10 @@ illegal address. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fBss_sp\fR member of the \fBstack_t\fR structure pointed to by sp is not properly aligned, the \fBss_size\fR member is too small or is not properly aligned, or the \fBss_flags\fR member is non-zero. @@ -70,15 +66,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/stack_violation.3c b/usr/src/man/man3c/stack_violation.3c index eff1a5c07d..ea27f83a54 100644 --- a/usr/src/man/man3c/stack_violation.3c +++ b/usr/src/man/man3c/stack_violation.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 stack_violation 3C "18 Jul 2002" "SunOS 5.11" "Standard C Library Functions" +.TH STACK_VIOLATION 3C "Jul 18, 2002" .SH NAME stack_violation \- determine stack boundary violation event .SH SYNOPSIS @@ -107,15 +107,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityEvolving +Interface Stability Evolving _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/stdio.3c b/usr/src/man/man3c/stdio.3c index d75bc0dc28..ce4b9d1f12 100644 --- a/usr/src/man/man3c/stdio.3c +++ b/usr/src/man/man3c/stdio.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 stdio 3C "18 May 2005" "SunOS 5.11" "Standard C Library Functions" +.TH STDIO 3C "May 18, 2005" .SH NAME stdio, stdin, stdout, stderr \- standard buffered input/output package .SH SYNOPSIS @@ -49,34 +49,28 @@ Normally, there are three open streams with constant pointers declared in the \fB<stdio.h>\fR header and associated with the standard open files: .sp .ne 2 -.mk .na \fB\fBstdin\fR\fR .ad .RS 10n -.rt standard input file .RE .sp .ne 2 -.mk .na \fB\fBstdout\fR\fR .ad .RS 10n -.rt standard output file .RE .sp .ne 2 -.mk .na \fB\fBstderr\fR\fR .ad .RS 10n -.rt standard error file .RE @@ -89,13 +83,11 @@ that will be associated with the C-language \fBstdin\fR, \fBstdout\fR and .sp .TS -tab(); -lw(1.38i) lw(1.65i) lw(.31i) lw(2.17i) -lw(1.38i) lw(1.65i) lw(.31i) lw(2.17i) -. -\fBSTDIN_FILENO\fRStandard input value0\fBstdin\fR -\fBSTDOUT_FILENO\fRStandard output value1\fBstdout\fR -\fBSTDERR_FILENO\fRStandard error value2\fBstderr\fR +l l l l +l l l l . +\fBSTDIN_FILENO\fR Standard input value 0 \fBstdin\fR +\fBSTDOUT_FILENO\fR Standard output value 1 \fBstdout\fR +\fBSTDERR_FILENO\fR Standard error value 2 \fBstderr\fR .TE .sp diff --git a/usr/src/man/man3c/str2sig.3c b/usr/src/man/man3c/str2sig.3c index 45d18a5916..addb460957 100644 --- a/usr/src/man/man3c/str2sig.3c +++ b/usr/src/man/man3c/str2sig.3c @@ -3,13 +3,13 @@ .\" 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 str2sig 3C "7 Oct 1999" "SunOS 5.11" "Standard C Library Functions" +.TH STR2SIG 3C "Oct 7, 1999" .SH NAME str2sig, sig2str \- translation between signal name and signal number .SH SYNOPSIS .LP .nf -#include <signal.h> +#include <signal.h> \fBint\fR \fBstr2sig\fR(\fBconst char *\fR\fIstr\fR, \fBint\fR \fI*signum\fR); .fi diff --git a/usr/src/man/man3c/strcoll.3c b/usr/src/man/man3c/strcoll.3c index 348e39bf32..b79c41af17 100644 --- a/usr/src/man/man3c/strcoll.3c +++ b/usr/src/man/man3c/strcoll.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strcoll 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRCOLL 3C "Nov 1, 2003" .SH NAME strcoll \- string collation .SH SYNOPSIS @@ -55,12 +55,10 @@ to indicate an error. The \fBstrcoll()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIs1\fR or \fIs2\fR arguments contain characters outside the domain of the collating sequence. .RE @@ -68,7 +66,6 @@ collating sequence. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fIlocale\fR/\fIlocale\fR.so.*\fR\fR .ad @@ -85,17 +82,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/strerror.3c b/usr/src/man/man3c/strerror.3c index 3aaa27bb6f..d343e9b4b4 100644 --- a/usr/src/man/man3c/strerror.3c +++ b/usr/src/man/man3c/strerror.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strerror 3C "31 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH STRERROR 3C "Mar 31, 2005" .SH NAME strerror, strerror_r \- get error message string .SH SYNOPSIS @@ -56,12 +56,10 @@ if \fIerrnum\fR is not a valid error number. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIerrnum\fR is not a valid error number. .RE @@ -70,12 +68,10 @@ The value of \fIerrnum\fR is not a valid error number. The \fBstrerror_r()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The \fIbuflen\fR argument specifies insufficient storage to contain the generated message string. .RE @@ -93,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strftime.3c b/usr/src/man/man3c/strftime.3c index e1e161aa98..4d73366ae5 100644 --- a/usr/src/man/man3c/strftime.3c +++ b/usr/src/man/man3c/strftime.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strftime 3C "5 Sep 2006" "SunOS 5.11" "Standard C Library Functions" +.TH STRFTIME 3C "Sep 5, 2006" .SH NAME strftime, cftime, ascftime \- convert date and time to string .SH SYNOPSIS @@ -64,68 +64,56 @@ in the structure pointed to by \fItimeptr\fR for \fBstrftime()\fR and \fBcftime()\fR. .sp .ne 2 -.mk .na \fB\fB%%\fR\fR .ad .RS 6n -.rt Same as \fB%\fR. .RE .sp .ne 2 -.mk .na \fB\fB%a\fR\fR .ad .RS 6n -.rt Locale's abbreviated weekday name. .RE .sp .ne 2 -.mk .na \fB\fB%A\fR\fR .ad .RS 6n -.rt Locale's full weekday name. .RE .sp .ne 2 -.mk .na \fB\fB%b\fR\fR .ad .RS 6n -.rt Locale's abbreviated month name. .RE .sp .ne 2 -.mk .na \fB\fB%B\fR\fR .ad .RS 6n -.rt Locale's full month name. .RE .SS "Default" .sp .ne 2 -.mk .na \fB\fB%c\fR\fR .ad .RS 6n -.rt Locale's appropriate date and time represented as: .sp .in +2 @@ -142,12 +130,10 @@ standards first supported by releases prior to Solaris 2.4. See .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fB%c\fR\fR .ad .RS 6n -.rt Locale's appropriate date and time represented as: .sp .in +2 @@ -163,12 +149,10 @@ This is standard-conforming behavior for standards first supported by Solaris .SS "Default" .sp .ne 2 -.mk .na \fB\fB%C\fR\fR .ad .RS 6n -.rt Locale's date and time representation as produced by \fBdate\fR(1). .sp This is the default behavior as well as standard-conforming behavior for @@ -178,12 +162,10 @@ standards first supported by releases prior to Solaris 2.4. .SS "Standard conforming" .sp .ne 2 -.mk .na \fB\fB%C\fR\fR .ad .RS 6n -.rt Century number (the year divided by 100 and truncated to an integer as a decimal number [01,99]). .sp @@ -193,269 +175,221 @@ This is standard-conforming behavior for standards first supported by Solaris .sp .ne 2 -.mk .na \fB\fB%d\fR\fR .ad .RS 6n -.rt Day of month [01,31]. .RE .sp .ne 2 -.mk .na \fB\fB%D\fR\fR .ad .RS 6n -.rt Date as \fB%m\fR/\fB%d\fR/\fB%y\fR. .RE .sp .ne 2 -.mk .na \fB\fB%e\fR\fR .ad .RS 6n -.rt Day of month [1,31]; single digits are preceded by a space. .RE .sp .ne 2 -.mk .na \fB\fB%F\fR\fR .ad .RS 6n -.rt Equivalent to \fB%Y\fR-\fB%m\fR-\fB%d\fR (the ISO 8601:2000 standard date format). .RE .sp .ne 2 -.mk .na \fB\fB%g\fR\fR .ad .RS 6n -.rt Week-based year within century [00,99]. .RE .sp .ne 2 -.mk .na \fB\fB%G\fR\fR .ad .RS 6n -.rt Week-based year, including the century [0000,9999]. .RE .sp .ne 2 -.mk .na \fB\fB%h\fR\fR .ad .RS 6n -.rt Locale's abbreviated month name. .RE .sp .ne 2 -.mk .na \fB\fB%H\fR\fR .ad .RS 6n -.rt Hour (24-hour clock) [00,23]. .RE .sp .ne 2 -.mk .na \fB\fB%I\fR\fR .ad .RS 6n -.rt Hour (12-hour clock) [01,12]. .RE .sp .ne 2 -.mk .na \fB\fB%j\fR\fR .ad .RS 6n -.rt Day number of year [001,366]. .RE .sp .ne 2 -.mk .na \fB\fB%k\fR\fR .ad .RS 6n -.rt Hour (24-hour clock) [0,23]; single digits are preceded by a space. .RE .sp .ne 2 -.mk .na \fB\fB%l\fR\fR .ad .RS 6n -.rt Hour (12-hour clock) [1,12]; single digits are preceded by a space. .RE .sp .ne 2 -.mk .na \fB\fB%m\fR\fR .ad .RS 6n -.rt Month number [01,12]. .RE .sp .ne 2 -.mk .na \fB\fB%M\fR\fR .ad .RS 6n -.rt Minute [00,59]. .RE .sp .ne 2 -.mk .na \fB\fB%n\fR\fR .ad .RS 6n -.rt Insert a NEWLINE. .RE .sp .ne 2 -.mk .na \fB\fB%p\fR\fR .ad .RS 6n -.rt Locale's equivalent of either a.m. or p.m. .RE .sp .ne 2 -.mk .na \fB\fB%r\fR\fR .ad .RS 6n -.rt Appropriate time representation in 12-hour clock format with \fB%p\fR. .RE .sp .ne 2 -.mk .na \fB\fB%R\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR. .RE .sp .ne 2 -.mk .na \fB\fB%S\fR\fR .ad .RS 6n -.rt Seconds [00,60]; the range of values is [00,60] rather than [00,59] to allow for the occasional leap second. .RE .sp .ne 2 -.mk .na \fB\fB%t\fR\fR .ad .RS 6n -.rt Insert a TAB. .RE .sp .ne 2 -.mk .na \fB\fB%T\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR:\fB%S\fR. .RE .sp .ne 2 -.mk .na \fB\fB%u\fR\fR .ad .RS 6n -.rt Weekday as a decimal number [1,7], with 1 representing Monday. See \fBNOTES\fR below. .RE .sp .ne 2 -.mk .na \fB\fB%U\fR\fR .ad .RS 6n -.rt Week number of year as a decimal number [00,53], with Sunday as the first day of week 1. .RE .sp .ne 2 -.mk .na \fB\fB%V\fR\fR .ad .RS 6n -.rt The ISO 8601 week number as a decimal number [01,53]. In the ISO 8601 week-based system, weeks begin on a Monday and week 1 of the year is the week that includes both January 4th and the first Thursday of the year. If the @@ -465,79 +399,65 @@ the last week of the preceding year. See \fBNOTES\fR below. .sp .ne 2 -.mk .na \fB\fB%w\fR\fR .ad .RS 6n -.rt Weekday as a decimal number [0,6], with 0 representing Sunday. .RE .sp .ne 2 -.mk .na \fB\fB%W\fR\fR .ad .RS 6n -.rt Week number of year as a decimal number [00,53], with Monday as the first day of week 1. .RE .sp .ne 2 -.mk .na \fB\fB%x\fR\fR .ad .RS 6n -.rt Locale's appropriate date representation. .RE .sp .ne 2 -.mk .na \fB\fB%X\fR\fR .ad .RS 6n -.rt Locale's appropriate time representation. .RE .sp .ne 2 -.mk .na \fB\fB%y\fR\fR .ad .RS 6n -.rt Year within century [00,99]. .RE .sp .ne 2 -.mk .na \fB\fB%Y\fR\fR .ad .RS 6n -.rt Year, including the century (for example 1993). .RE .sp .ne 2 -.mk .na \fB\fB%z\fR\fR .ad .RS 6n -.rt Replaced by offset from UTC in ISO 8601:2000 standard format (\fB+hhmm\fR or \fB-hhmm\fR), or by no characters if no time zone is determinable. For example, "-0430" means 4 hours 30 minutes behind UTC (west of Greenwich). If @@ -548,12 +468,10 @@ is negative, no characters are returned. .sp .ne 2 -.mk .na \fB\fB%Z\fR\fR .ad .RS 6n -.rt Time zone name or abbreviation, or no bytes if no time zone information exists. .RE @@ -580,236 +498,194 @@ If the alternate format or specification does not exist in the current locale, the behavior will be as if the unmodified specification were used. .sp .ne 2 -.mk .na \fB\fB%Ec\fR\fR .ad .RS 7n -.rt Locale's alternate appropriate date and time representation. .RE .sp .ne 2 -.mk .na \fB\fB%EC\fR\fR .ad .RS 7n -.rt Name of the base year (period) in the locale's alternate representation. .RE .sp .ne 2 -.mk .na \fB\fB%Eg\fR\fR .ad .RS 7n -.rt Offset from \fB%EC\fR of the week-based year in the locale's alternative representation. .RE .sp .ne 2 -.mk .na \fB\fB%EG\fR\fR .ad .RS 7n -.rt Full alternative representation of the week-based year. .RE .sp .ne 2 -.mk .na \fB\fB%Ex\fR\fR .ad .RS 7n -.rt Locale's alternate date representation. .RE .sp .ne 2 -.mk .na \fB\fB%EX\fR\fR .ad .RS 7n -.rt Locale's alternate time representation. .RE .sp .ne 2 -.mk .na \fB\fB%Ey\fR\fR .ad .RS 7n -.rt Offset from \fB%EC\fR (year only) in the locale's alternate representation. .RE .sp .ne 2 -.mk .na \fB\fB%EY\fR\fR .ad .RS 7n -.rt Full alternate year representation. .RE .sp .ne 2 -.mk .na \fB\fB%Od\fR\fR .ad .RS 7n -.rt Day of the month using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Oe\fR\fR .ad .RS 7n -.rt Same as \fB%Od\fR. .RE .sp .ne 2 -.mk .na \fB\fB%Og\fR\fR .ad .RS 7n -.rt Week-based year (offset from \fB%C\fR) in the locale's alternate representation and using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OH\fR\fR .ad .RS 7n -.rt Hour (24-hour clock) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OI\fR\fR .ad .RS 7n -.rt Hour (12-hour clock) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Om\fR\fR .ad .RS 7n -.rt Month using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OM\fR\fR .ad .RS 7n -.rt Minutes using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OS\fR\fR .ad .RS 7n -.rt Seconds using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Ou\fR\fR .ad .RS 7n -.rt Weekday as a number in the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OU\fR\fR .ad .RS 7n -.rt Week number of the year (Sunday as the first day of the week) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Ow\fR\fR .ad .RS 7n -.rt Number of the weekday (Sunday=0) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OW\fR\fR .ad .RS 7n -.rt Week number of the year (Monday as the first day of the week) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Oy\fR\fR .ad .RS 7n -.rt Year (offset from \fB%C\fR) in the locale's alternate representation and using the locale's alternate numeric symbols. .RE @@ -863,19 +739,18 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/string.3c b/usr/src/man/man3c/string.3c index f8717aa694..51a7aee7eb 100644 --- a/usr/src/man/man3c/string.3c +++ b/usr/src/man/man3c/string.3c @@ -4,14 +4,14 @@ .\" Portions Copyright (c) 1994 Man-cgi 1.15, Panagiotis Christias (christia@softlab.ntua.gr) .\" Portions Copyright (c) 1996-2008 Modified for NetBSD by Kimmo Suominen (kimmo@suominen.com) .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 string 3C "1 Aug 2008" "SunOS 5.11" "Standard C Library Functions" +.TH STRING 3C "Aug 1, 2008" .SH NAME string, strcasecmp, strncasecmp, strcat, strncat, strlcat, strchr, strrchr, strcmp, strncmp, strcpy, strncpy, strlcpy, strcspn, strspn, strdup, strlen, @@ -403,10 +403,10 @@ The following example searches for tokens separated by space characters. char *token; char line[] = "LINE TO BE SEPARATED"; char *search = " "; - + /* Token will point to "LINE". */ token = strtok(line, search); - + /* Token will point to "TO". */ token = strtok(NULL, search); .fi @@ -427,7 +427,7 @@ separated by any combination of SPACEs, TABs, or NEWLINEs. struct element { char *key; char *data; -}; +}; \&... char line[LINE_MAX]; char *key, *data; @@ -448,32 +448,32 @@ the second argument, "/". .sp .in +2 .nf -#define __EXTENSIONS__ +#define __EXTENSIONS__ #include <stdio.h> #include <string.h> - -int -main() { - char *buf="5/90/45"; - char *token; - char *lasts; - - printf("tokenizing \e"%s\e" with strtok():\en", buf); - if ((token = strtok(buf, "/")) != NULL) { - printf("token = "%s\e"\en", token); - while ((token = strtok(NULL, "/")) != NULL) { - printf("token = \e"%s\e"\en", token); - } - } - - buf = "//5//90//45//"; - printf("\entokenizing \e"%s\e" with strtok_r():\en", buf); - if ((token = strtok_r(buf, "/", &lasts)) != NULL) { - printf("token = \e"%s\e"\en", token); - while ((token = strtok_r(NULL, "/", &lasts)) != NULL) { - printf("token = \e"%s\e"\en", token); - } - } + +int +main() { + char *buf="5/90/45"; + char *token; + char *lasts; + + printf("tokenizing \e"%s\e" with strtok():\en", buf); + if ((token = strtok(buf, "/")) != NULL) { + printf("token = "%s\e"\en", token); + while ((token = strtok(NULL, "/")) != NULL) { + printf("token = \e"%s\e"\en", token); + } + } + + buf = "//5//90//45//"; + printf("\entokenizing \e"%s\e" with strtok_r():\en", buf); + if ((token = strtok_r(buf, "/", &lasts)) != NULL) { + printf("token = \e"%s\e"\en", token); + while ((token = strtok_r(NULL, "/", &lasts)) != NULL) { + printf("token = \e"%s\e"\en", token); + } + } } .fi .in -2 @@ -505,17 +505,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSee below. +MT-Level See below. _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/string_to_decimal.3c b/usr/src/man/man3c/string_to_decimal.3c index 75b606823d..7b0552e454 100644 --- a/usr/src/man/man3c/string_to_decimal.3c +++ b/usr/src/man/man3c/string_to_decimal.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 string_to_decimal 3C "1 Oct 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRING_TO_DECIMAL 3C "Oct 1, 2003" .SH NAME string_to_decimal, file_to_decimal, func_to_decimal \- parse characters into decimal record @@ -12,14 +12,14 @@ decimal record .nf #include <floatingpoint.h> -\fBvoid\fR \fBstring_to_decimal\fR(\fBchar **\fR\fIpc\fR, \fBint\fR \fInmax\fR, +\fBvoid\fR \fBstring_to_decimal\fR(\fBchar **\fR\fIpc\fR, \fBint\fR \fInmax\fR, \fBint\fR \fIfortran_conventions\fR, \fBdecimal_record *\fR\fIpd\fR, \fBenum decimal_string_form *\fR\fIpform\fR, \fBchar **\fR\fIpechar\fR); .fi .LP .nf -\fBvoid\fR \fBfunc_to_decimal\fR(\fBchar **\fR\fIpc\fR, \fBint\fR \fInmax\fR, +\fBvoid\fR \fBfunc_to_decimal\fR(\fBchar **\fR\fIpc\fR, \fBint\fR \fInmax\fR, \fBint\fR \fIfortran_conventions\fR, \fBdecimal_record *\fR\fIpd\fR, \fBenum decimal_string_form *\fR\fIpform\fR, \fBchar **\fR\fIpechar\fR, \fBint (*\fR\fIpget\fR)(void), \fBint *\fR\fIpnread\fR, \fBint (*\fR\fIpunget\fR)(int \fIc\fR)); @@ -77,45 +77,37 @@ The \fIfortran_conventions\fR argument provides additional control over the set of accepted forms. It must be one of the following values: .sp .ne 2 -.mk .na \fB0\fR .ad .RS 5n -.rt no Fortran conventions .RE .sp .ne 2 -.mk .na \fB1\fR .ad .RS 5n -.rt Fortran list-directed input conventions .RE .sp .ne 2 -.mk .na \fB2\fR .ad .RS 5n -.rt Fortran formatted input conventions, blanks are ignored .RE .sp .ne 2 -.mk .na \fB3\fR .ad .RS 5n -.rt Fortran formatted input conventions, blanks are interpreted as zeroes .RE @@ -150,26 +142,24 @@ defined above. Numbers in brackets refer to the notes following the table. .sp .TS -tab(); -cw(1.63i) cw(2.02i) cw(1.85i) -lw(1.63i) lw(2.02i) lw(1.85i) -. -form*\fIpform\fRpd->\fBfpclass\fR +c c c +l l l . +form *\fIpform\fR pd->\fBfpclass\fR _ -all white space [1]\fBwhitespace_form\fR\fBfp_zero\fR -\fIdigits\fR\fBfixed_int_form\fR\fBfp_normal\fR [2] -\fIdigits\fR.\fBfixed_intdot_form\fR\fBfp_normal\fR [2] -\&.\fIdigits\fR\fBfixed_dotfrac_form\fR\fBfp_normal\fR [2] -\fIdigits\fR.\fIdigits\fR\fBfixed_intdotfrac_form\fR\fBfp_normal\fR [2] -\fIdigits\fR \fIexponent\fR\fBfloating_int_form\fR\fBfp_normal\fR [2] -\fIdigits\fR. \fIexponent\fR\fBfloating_intdot_form\fR\fBfp_normal\fR [2] -\&.digits \fIexponent\fR\fBfloating_dotfrac_form\fR\fBfp_normal\fR [2] -\fIdigits\fR.\fIdigits\fR \fIexponent\fR\fBfloating_intdotfrac_form\fR\fBfp_normal\fR [2] -INF\fBinf_form\fR\fBfp_infinity\fR -INFINITY\fBinfinity_form\fR\fBfp_infinity\fR -NAN\fBnan_form\fR\fBfp_quiet\fR -NAN(\fIstring\fR)\fBnanstring_form\fR\fBfp_quiet\fR -none of the above\fBinvalid_form\fR\fBfp_signaling\fR +all white space [1] \fBwhitespace_form\fR \fBfp_zero\fR +\fIdigits\fR \fBfixed_int_form\fR \fBfp_normal\fR [2] +\fIdigits\fR. \fBfixed_intdot_form\fR \fBfp_normal\fR [2] +\&.\fIdigits\fR \fBfixed_dotfrac_form\fR \fBfp_normal\fR [2] +\fIdigits\fR.\fIdigits\fR \fBfixed_intdotfrac_form\fR \fBfp_normal\fR [2] +\fIdigits\fR \fIexponent\fR \fBfloating_int_form\fR \fBfp_normal\fR [2] +\fIdigits\fR. \fIexponent\fR \fBfloating_intdot_form\fR \fBfp_normal\fR [2] +\&.digits \fIexponent\fR \fBfloating_dotfrac_form\fR \fBfp_normal\fR [2] +\fIdigits\fR.\fIdigits\fR \fIexponent\fR \fBfloating_intdotfrac_form\fR \fBfp_normal\fR [2] +INF \fBinf_form\fR \fBfp_infinity\fR +INFINITY \fBinfinity_form\fR \fBfp_infinity\fR +NAN \fBnan_form\fR \fBfp_quiet\fR +NAN(\fIstring\fR) \fBnanstring_form\fR \fBfp_quiet\fR +none of the above \fBinvalid_form\fR \fBfp_signaling\fR .TE .sp @@ -274,13 +264,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strptime.3c b/usr/src/man/man3c/strptime.3c index 5b7c68d777..e9c77c9d1f 100644 --- a/usr/src/man/man3c/strptime.3c +++ b/usr/src/man/man3c/strptime.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strptime 3C "27 Aug 2007" "SunOS 5.11" "Standard C Library Functions" +.TH STRPTIME 3C "Aug 27, 2007" .SH NAME strptime \- date and time conversion .SH SYNOPSIS @@ -55,80 +55,66 @@ Behavior\fR, is provided if \fB_STRPTIME_DONTZERO\fR is defined. The following conversion specifications are supported: .sp .ne 2 -.mk .na \fB\fB%%\fR\fR .ad .RS 6n -.rt Same as \fB%\fR. .RE .sp .ne 2 -.mk .na \fB\fB%a\fR\fR .ad .RS 6n -.rt Day of week, using the locale's weekday names; either the abbreviated or full name may be specified. .RE .sp .ne 2 -.mk .na \fB\fB%A\fR\fR .ad .RS 6n -.rt Same as \fB%a\fR. .RE .sp .ne 2 -.mk .na \fB\fB%b\fR\fR .ad .RS 6n -.rt Month, using the locale's month names; either the abbreviated or full name may be specified. .RE .sp .ne 2 -.mk .na \fB\fB%B\fR\fR .ad .RS 6n -.rt Same as \fB%b\fR. .RE .sp .ne 2 -.mk .na \fB\fB%c\fR\fR .ad .RS 6n -.rt Locale's appropriate date and time representation. .RE .sp .ne 2 -.mk .na \fB\fB%C\fR\fR .ad .RS 6n -.rt Century number (the year divided by 100 and truncated to an integer as a decimal number [1,99]); single digits are preceded by 0. If \fB%C\fR is used without the \fB%y\fR specifier, \fBstrptime()\fR assumes the year offset is @@ -140,156 +126,128 @@ should not depend on it. This behavior may change in a future release. .sp .ne 2 -.mk .na \fB\fB%d\fR\fR .ad .RS 6n -.rt Day of month [1,31]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%D\fR\fR .ad .RS 6n -.rt Date as \fB%m\fR/\fB%d\fR/\fB%y\fR. .RE .sp .ne 2 -.mk .na \fB\fB%e\fR\fR .ad .RS 6n -.rt Same as \fB%d\fR. .RE .sp .ne 2 -.mk .na \fB\fB%h\fR\fR .ad .RS 6n -.rt Same as \fB%b\fR. .RE .sp .ne 2 -.mk .na \fB\fB%H\fR\fR .ad .RS 6n -.rt Hour (24-hour clock) [0,23]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%I\fR\fR .ad .RS 6n -.rt Hour (12-hour clock) [1,12]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%j\fR\fR .ad .RS 6n -.rt Day number of the year [1,366]; leading zeros are permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%m\fR\fR .ad .RS 6n -.rt Month number [1,12]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%M\fR\fR .ad .RS 6n -.rt Minute [0-59]; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%n\fR\fR .ad .RS 6n -.rt Any white space. .RE .sp .ne 2 -.mk .na \fB\fB%p\fR\fR .ad .RS 6n -.rt Locale's equivalent of either a.m. or p.m. .RE .sp .ne 2 -.mk .na \fB\fB%r\fR\fR .ad .RS 6n -.rt Appropriate time representation in the 12-hour clock format with \fB%p\fR. .RE .sp .ne 2 -.mk .na \fB\fB%R\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR. .RE .SS "SUSv3" .sp .ne 2 -.mk .na \fB\fB%S\fR\fR .ad .RS 6n -.rt Seconds [0,60]; leading zero is permitted but not required. The range of values is [00,60] rather than [00,59] to allow for the occasional leap second. .RE @@ -297,12 +255,10 @@ is [00,60] rather than [00,59] to allow for the occasional leap second. .SS "Default and other standards" .sp .ne 2 -.mk .na \fB\fB%S\fR\fR .ad .RS 6n -.rt Seconds [0,61]; leading zero is permitted but not required. The range of values is [00,61] rather than [00,59] to allow for the occasional leap second and even more occasional double leap second. @@ -310,91 +266,75 @@ more occasional double leap second. .sp .ne 2 -.mk .na \fB\fB%t\fR\fR .ad .RS 6n -.rt Any white space. .RE .sp .ne 2 -.mk .na \fB\fB%T\fR\fR .ad .RS 6n -.rt Time as \fB%H\fR:\fB%M\fR:\fB%S\fR. .RE .sp .ne 2 -.mk .na \fB\fB%U\fR\fR .ad .RS 6n -.rt Week number of the year as a decimal number [0,53], with Sunday as the first day of the week; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%w\fR\fR .ad .RS 6n -.rt Weekday as a decimal number [0,6], with 0 representing Sunday. .RE .sp .ne 2 -.mk .na \fB\fB%W\fR\fR .ad .RS 6n -.rt Week number of the year as a decimal number [0,53], with Monday as the first day of the week; leading zero is permitted but not required. .RE .sp .ne 2 -.mk .na \fB\fB%x\fR\fR .ad .RS 6n -.rt Locale's appropriate date representation. .RE .sp .ne 2 -.mk .na \fB\fB%X\fR\fR .ad .RS 6n -.rt Locale's appropriate time representation. .RE .sp .ne 2 -.mk .na \fB\fB%y\fR\fR .ad .RS 6n -.rt Year within century. When a century is not otherwise specified, values in the range 69-99 refer to years in the twentieth century (1969 to 1999 inclusive); values in the range 00-68 refer to years in the twenty-first century (2000 to @@ -403,23 +343,19 @@ values in the range 00-68 refer to years in the twenty-first century (2000 to .sp .ne 2 -.mk .na \fB\fB%Y\fR\fR .ad .RS 6n -.rt Year, including the century (for example, 1993). .RE .sp .ne 2 -.mk .na \fB\fB%Z\fR\fR .ad .RS 6n -.rt Time zone name or no characters if no time zone exists. .RE @@ -434,190 +370,156 @@ current locale, the behavior will be as if the unmodified conversion specification were used. .sp .ne 2 -.mk .na \fB\fB%Ec\fR\fR .ad .RS 7n -.rt Locale's alternate appropriate date and time representation. .RE .sp .ne 2 -.mk .na \fB\fB%EC\fR\fR .ad .RS 7n -.rt Name of the base year (era) in the locale's alternate representation. .RE .sp .ne 2 -.mk .na \fB\fB%Ex\fR\fR .ad .RS 7n -.rt Locale's alternate date representation. .RE .sp .ne 2 -.mk .na \fB\fB%EX\fR\fR .ad .RS 7n -.rt Locale's alternate time representation. .RE .sp .ne 2 -.mk .na \fB\fB%Ey\fR\fR .ad .RS 7n -.rt Offset from \fB%EC\fR (year only) in the locale's alternate representation. .RE .sp .ne 2 -.mk .na \fB\fB%EY\fR\fR .ad .RS 7n -.rt Full alternate year representation. .RE .sp .ne 2 -.mk .na \fB\fB%Od\fR\fR .ad .RS 7n -.rt Day of the month using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Oe\fR\fR .ad .RS 7n -.rt Same as \fB%Od\fR. .RE .sp .ne 2 -.mk .na \fB\fB%OH\fR\fR .ad .RS 7n -.rt Hour (24-hour clock) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OI\fR\fR .ad .RS 7n -.rt Hour (12-hour clock) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Om\fR\fR .ad .RS 7n -.rt Month using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OM\fR\fR .ad .RS 7n -.rt Minutes using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OS\fR\fR .ad .RS 7n -.rt Seconds using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OU\fR\fR .ad .RS 7n -.rt Week number of the year (Sunday as the first day of the week) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Ow\fR\fR .ad .RS 7n -.rt Number of the weekday (Sunday=0) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%OW\fR\fR .ad .RS 7n -.rt Week number of the year (Monday as the first day of the week) using the locale's alternate numeric symbols. .RE .sp .ne 2 -.mk .na \fB\fB%Oy\fR\fR .ad .RS 7n -.rt Year (offset from \fB%C\fR) in the locale's alternate representation and using the locale's alternate numeric symbols. .RE @@ -780,19 +682,18 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strsignal.3c b/usr/src/man/man3c/strsignal.3c index f15af0e7ca..c4102d1b91 100644 --- a/usr/src/man/man3c/strsignal.3c +++ b/usr/src/man/man3c/strsignal.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 strsignal 3C "31 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH STRSIGNAL 3C "Mar 31, 2005" .SH NAME strsignal \- get name of signal .SH SYNOPSIS @@ -39,13 +39,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strtod.3c b/usr/src/man/man3c/strtod.3c index 33d1199193..8e71e67310 100644 --- a/usr/src/man/man3c/strtod.3c +++ b/usr/src/man/man3c/strtod.3c @@ -1,15 +1,15 @@ '\" te -.\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. +.\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strtod 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRTOD 3C "Nov 1, 2003" .SH NAME strtod, strtof, strtold, atof \- convert string to floating-point number .SH SYNOPSIS @@ -188,12 +188,10 @@ underflow exception is raised, and \fBerrno\fR is set to \fBERANGE\fR. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned would cause overflow or underflow .RE @@ -202,12 +200,10 @@ The value to be returned would cause overflow or underflow These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -293,17 +289,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strtoimax.3c b/usr/src/man/man3c/strtoimax.3c index 6bac7d2bec..34b7056587 100644 --- a/usr/src/man/man3c/strtoimax.3c +++ b/usr/src/man/man3c/strtoimax.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strtoimax 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRTOIMAX 3C "Nov 1, 2003" .SH NAME strtoimax, strtoumax \- convert string to integer type .SH SYNOPSIS @@ -51,12 +51,10 @@ is set to \fBERANGE\fR. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. .RE @@ -65,12 +63,10 @@ The value to be returned is not representable. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE @@ -82,15 +78,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strtol.3c b/usr/src/man/man3c/strtol.3c index a6b21a5c85..ea08fe6761 100644 --- a/usr/src/man/man3c/strtol.3c +++ b/usr/src/man/man3c/strtol.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strtol 3C "6 May 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRTOL 3C "May 6, 2003" .SH NAME strtol, strtoll, atol, atoll, atoi, lltostr, ulltostr \- string conversion routines @@ -172,24 +172,20 @@ pointer to the converted string. The \fBstrtol()\fR and \fBstrtoll()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. The \fBstrtol()\fR and \fBstrtoll()\fR functions may fail if: .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE @@ -222,15 +218,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .sp diff --git a/usr/src/man/man3c/strtoul.3c b/usr/src/man/man3c/strtoul.3c index e558e4c36d..a66f054f63 100644 --- a/usr/src/man/man3c/strtoul.3c +++ b/usr/src/man/man3c/strtoul.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strtoul 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRTOUL 3C "Nov 1, 2003" .SH NAME strtoul, strtoull \- convert string to unsigned long .SH SYNOPSIS @@ -101,23 +101,19 @@ values, \fBULONG_MAX\fR is returned and \fBerrno\fR is set to \fBERANGE\fR. The \fBstrtoul()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. .RE @@ -126,12 +122,10 @@ The value to be returned is not representable. The \fBstrtoul()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -156,15 +150,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/strtows.3c b/usr/src/man/man3c/strtows.3c index e42a34ebcb..90e6577f1d 100644 --- a/usr/src/man/man3c/strtows.3c +++ b/usr/src/man/man3c/strtows.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 strtows 3C "20 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH STRTOWS 3C "Dec 20, 1996" .SH NAME strtows, wstostr \- code conversion for Process Code and File Code .SH SYNOPSIS diff --git a/usr/src/man/man3c/strxfrm.3c b/usr/src/man/man3c/strxfrm.3c index e0217dd882..3a1cc8da90 100644 --- a/usr/src/man/man3c/strxfrm.3c +++ b/usr/src/man/man3c/strxfrm.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 strxfrm 3C "10 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH STRXFRM 3C "Dec 10, 2003" .SH NAME strxfrm \- string transformation .SH SYNOPSIS @@ -79,7 +79,6 @@ the transformation of the string pointed to by \fIs\fR. .SH FILES .sp .ne 2 -.mk .na \fB\fB/usr/lib/locale/\fIlocale\fR/\fIlocale\fR.so.*\fR\fR .ad @@ -96,17 +95,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/swab.3c b/usr/src/man/man3c/swab.3c index 7381217292..5ab9efbed1 100644 --- a/usr/src/man/man3c/swab.3c +++ b/usr/src/man/man3c/swab.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 swab 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH SWAB 3C "Nov 1, 2003" .SH NAME swab \- swap bytes .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sync_instruction_memory.3c b/usr/src/man/man3c/sync_instruction_memory.3c index 907af97dff..4f6c3b7570 100644 --- a/usr/src/man/man3c/sync_instruction_memory.3c +++ b/usr/src/man/man3c/sync_instruction_memory.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 sync_instruction_memory 3C "12 Feb 1997" "SunOS 5.11" "Standard C Library Functions" +.TH SYNC_INSTRUCTION_MEMORY 3C "Feb 12, 1997" .SH NAME sync_instruction_memory \- make modified instructions executable .SH SYNOPSIS @@ -60,13 +60,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/sysconf.3c b/usr/src/man/man3c/sysconf.3c index a7ae5242bb..a200a3ac6c 100644 --- a/usr/src/man/man3c/sysconf.3c +++ b/usr/src/man/man3c/sysconf.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Copyright 1989 AT&T -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 sysconf 3C "26 Mar 2008" "SunOS 5.11" "Standard C Library Functions" +.TH SYSCONF 3C "Mar 26, 2008" .SH NAME sysconf \- get configurable system variables .SH SYNOPSIS @@ -110,7 +110,7 @@ _SC_CHILD_MAX CHILD_MAX Max processes allowed to a UID _SC_CLK_TCK CLK_TCK Ticks per second (clock_t) -_SC_CLOCK_SELECTION _POSIX_CLOCK_SELECTION Supports Clock +_SC_CLOCK_SELECTION _POSIX_CLOCK_SELECTION Supports Clock Selection option _SC_COLL_WEIGHTS_MAX COLL_WEIGHTS_MAX Max number of weights that can be @@ -118,7 +118,7 @@ _SC_COLL_WEIGHTS_MAX COLL_WEIGHTS_MAX Max number of the LC_COLLATE order keyword in locale definition file -_SC_CPUID_MAX Max possible +_SC_CPUID_MAX Max possible processor ID _SC_DELAYTIMER_MAX DELAYTIMER_MAX Max number of timer expiration overruns @@ -285,17 +285,17 @@ _SC_TZNAME_MAX TZNAME_MAX Max number of bytes of a time zone _SC_V6_ILP32_OFF32 _POSIX_V6_ILP32_OFF32 Supports X/Open ILP32 w/32-bit - offset build + offset build environment _SC_V6_ILP32_OFFBIG _POSIX_V6_ILP32_OFFBIG Supports X/Open ILP32 w/64-bit - offset build + offset build environment _SC_V6_LP64_OFF64 _POSIX_V6_LP64_OFF64 Supports X/Open LP64 w/64-bit - offset build + offset build environment -_SC_V6_LPBIG_OFFBIG _POSIX_V6_LPBIG_OFFBIG Same as +_SC_V6_LPBIG_OFFBIG _POSIX_V6_LPBIG_OFFBIG Same as _SC_V6_LP64_OFF64 _SC_VERSION _POSIX_VERSION POSIX.1 version supported @@ -362,31 +362,29 @@ The following options are not supported and return \(mi1: .sp .TS -tab(); -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fB_SC_2_PBS\fR\fB_POSIX2_PBS\fR -\fB_SC_2_PBS_ACCOUNTING\fR\fB_POSIX2_PBS_ACCOUNTING\fR -\fB_SC_2_PBS_CHECKPOINT\fR\fB_POSIX2_PBS_CHECKPOINT\fR -\fB_SC_2_PBS_LOCATE\fR\fB_POSIX2_PBS_LOCATE\fR -\fB_SC_2_PBS_MESSAGE\fR\fB_POSIX2_PBS_MESSAGE\fR -\fB_SC_2_PBS_TRACK\fR\fB_POSIX2_PBS_TRACK\fR -\fB_SC_ADVISORY_INFO\fR\fB_POSIX_ADVISORY_INFO\fR -\fB_SC_CPUTIME\fR\fB_POSIX_CPUTIME\fR -\fB_SC_SPORADIC_SERVER\fR\fB_POSIX_SPORADIC_SERVER\fR -\fB_SC_SS_REPL_MAX\fR\fB_POSIX_SS_REPL_MAX\fR -\fB_SC_THREAD_CPUTIME\fR\fB_POSIX_THREAD_CPUTIME\fR -\fB_SC_THREAD_SPORADIC_SERVER\fR\fB_POSIX_THREAD_SPORADIC_SERVER\fR -\fB_SC_TRACE\fR\fB_POSIX_TRACE\fR -\fB_SC_TRACE_EVENT_FILTER\fR\fB_POSIX_TRACE_EVENT_FILTER\fR -\fB_SC_TRACE_EVENT_NAME_MAX\fR\fB_POSIX_TRACE_EVENT_NAME_MAX\fR -\fB_SC_TRACE_INHERIT\fR\fB_POSIX_TRACE_INHERIT\fR -\fB_SC_TRACE_LOG\fR\fB_POSIX_TRACE_LOG\fR -\fB_SC_TRACE_NAME_MAX\fR\fB_POSIX_TRACE_NAME_MAX\fR -\fB_SC_TRACE_SYS_MAX\fR\fB_POSIX_TRACE_SYS_MAX\fR -\fB_SC_TRACE_USER_EVENT_MAX\fR\fB_POSIX_TRACE_USER_EVENT_MAX\fR -\fB_SC_TYPED_MEMORY_OBJECTS\fR\fB_POSIX_TYPED_MEMORY_OBJECTS\fR +l l +l l . +\fB_SC_2_PBS\fR \fB_POSIX2_PBS\fR +\fB_SC_2_PBS_ACCOUNTING\fR \fB_POSIX2_PBS_ACCOUNTING\fR +\fB_SC_2_PBS_CHECKPOINT\fR \fB_POSIX2_PBS_CHECKPOINT\fR +\fB_SC_2_PBS_LOCATE\fR \fB_POSIX2_PBS_LOCATE\fR +\fB_SC_2_PBS_MESSAGE\fR \fB_POSIX2_PBS_MESSAGE\fR +\fB_SC_2_PBS_TRACK\fR \fB_POSIX2_PBS_TRACK\fR +\fB_SC_ADVISORY_INFO\fR \fB_POSIX_ADVISORY_INFO\fR +\fB_SC_CPUTIME\fR \fB_POSIX_CPUTIME\fR +\fB_SC_SPORADIC_SERVER\fR \fB_POSIX_SPORADIC_SERVER\fR +\fB_SC_SS_REPL_MAX\fR \fB_POSIX_SS_REPL_MAX\fR +\fB_SC_THREAD_CPUTIME\fR \fB_POSIX_THREAD_CPUTIME\fR +\fB_SC_THREAD_SPORADIC_SERVER\fR \fB_POSIX_THREAD_SPORADIC_SERVER\fR +\fB_SC_TRACE\fR \fB_POSIX_TRACE\fR +\fB_SC_TRACE_EVENT_FILTER\fR \fB_POSIX_TRACE_EVENT_FILTER\fR +\fB_SC_TRACE_EVENT_NAME_MAX\fR \fB_POSIX_TRACE_EVENT_NAME_MAX\fR +\fB_SC_TRACE_INHERIT\fR \fB_POSIX_TRACE_INHERIT\fR +\fB_SC_TRACE_LOG\fR \fB_POSIX_TRACE_LOG\fR +\fB_SC_TRACE_NAME_MAX\fR \fB_POSIX_TRACE_NAME_MAX\fR +\fB_SC_TRACE_SYS_MAX\fR \fB_POSIX_TRACE_SYS_MAX\fR +\fB_SC_TRACE_USER_EVENT_MAX\fR \fB_POSIX_TRACE_USER_EVENT_MAX\fR +\fB_SC_TYPED_MEMORY_OBJECTS\fR \fB_POSIX_TYPED_MEMORY_OBJECTS\fR .TE .SH RETURN VALUES @@ -445,12 +443,10 @@ _SC_SPLIT_CACHE The \fBsysconf()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of the \fIname\fR argument is invalid. .RE @@ -462,19 +458,18 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -ArchitectureSPARC and x86 +Architecture SPARC and x86 _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe, Async-Signal-Safe +MT-Level MT-Safe, Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/syslog.3c b/usr/src/man/man3c/syslog.3c index 68f30fb011..d3ca5cdd4e 100644 --- a/usr/src/man/man3c/syslog.3c +++ b/usr/src/man/man3c/syslog.3c @@ -7,7 +7,7 @@ .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH syslog 3C "16 Mar 2009" "SunOS 5.11" "Standard C Library Functions" +.TH SYSLOG 3C "Mar 16, 2009" .SH NAME syslog, openlog, closelog, setlogmask \- control system log .SH SYNOPSIS @@ -65,91 +65,75 @@ facility value is specified, the current default facility value is used. Possible values of severity level include, in decreasing order: .sp .ne 2 -.mk .na \fB\fBLOG_EMERG\fR\fR .ad .RS 15n -.rt A panic condition. This is normally broadcast to all users. .RE .sp .ne 2 -.mk .na \fB\fBLOG_ALERT\fR\fR .ad .RS 15n -.rt A condition that should be corrected immediately, such as a corrupted system database. .RE .sp .ne 2 -.mk .na \fB\fBLOG_CRIT\fR\fR .ad .RS 15n -.rt Critical conditions, such as hard device errors. .RE .sp .ne 2 -.mk .na \fB\fBLOG_ERR\fR\fR .ad .RS 15n -.rt Errors. .RE .sp .ne 2 -.mk .na \fB\fBLOG_WARNING\fR\fR .ad .RS 15n -.rt Warning messages. .RE .sp .ne 2 -.mk .na \fB\fBLOG_NOTICE\fR\fR .ad .RS 15n -.rt Conditions that are not error conditions, but that may require special handling. .RE .sp .ne 2 -.mk .na \fB\fBLOG_INFO\fR\fR .ad .RS 15n -.rt Informational messages. .RE .sp .ne 2 -.mk .na \fB\fBLOG_DEBUG\fR\fR .ad .RS 15n -.rt Messages that contain information normally of use only when debugging a program. .RE @@ -160,203 +144,167 @@ The facility indicates the application or system component generating the message. Possible facility values include: .sp .ne 2 -.mk .na \fB\fBLOG_KERN\fR\fR .ad .RS 14n -.rt Messages generated by the kernel. These cannot be generated by any user processes. .RE .sp .ne 2 -.mk .na \fB\fBLOG_USER\fR\fR .ad .RS 14n -.rt Messages generated by random user processes. This is the default facility identifier if none is specified. .RE .sp .ne 2 -.mk .na \fB\fBLOG_MAIL\fR\fR .ad .RS 14n -.rt The mail system. .RE .sp .ne 2 -.mk .na \fB\fBLOG_DAEMON\fR\fR .ad .RS 14n -.rt System daemons, such as \fBin.ftpd\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fBLOG_AUTH\fR\fR .ad .RS 14n -.rt The authentication / security / authorization system: \fBlogin\fR(1), \fBsu\fR(1M), \fBgetty\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fBLOG_LPR\fR\fR .ad .RS 14n -.rt The line printer spooling system: \fBlpr\fR(1B), \fBlpc\fR(1B). .RE .sp .ne 2 -.mk .na \fB\fBLOG_NEWS\fR\fR .ad .RS 14n -.rt Designated for the \fBUSENET\fR network news system. .RE .sp .ne 2 -.mk .na \fB\fBLOG_UUCP\fR\fR .ad .RS 14n -.rt Designated for the \fBUUCP\fR system; it does not currently use \fBsyslog()\fR. .RE .sp .ne 2 -.mk .na \fB\fBLOG_CRON\fR\fR .ad .RS 14n -.rt The \fBcron\fR/\fBat\fR facility; \fBcrontab\fR(1), \fBat\fR(1), \fBcron\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fBLOG_AUDIT\fR\fR .ad .RS 14n -.rt The audit facility, for example, \fBauditd\fR(1M). .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL0\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL1\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL2\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL3\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL4\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL5\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL6\fR\fR .ad .RS 14n -.rt Designated for local use. .RE .sp .ne 2 -.mk .na \fB\fBLOG_LOCAL7\fR\fR .ad .RS 14n -.rt Designated for local use. .RE @@ -370,24 +318,20 @@ argument indicates logging options. Values for \fIlogopt\fR are constructed by a bitwise-inclusive OR of zero or more of the following: .sp .ne 2 -.mk .na \fB\fBLOG_PID\fR\fR .ad .RS 14n -.rt Log the process \fBID\fR with each message. This is useful for identifying specific daemon processes (for daemons that fork). .RE .sp .ne 2 -.mk .na \fB\fBLOG_CONS\fR\fR .ad .RS 14n -.rt Write messages to the system console if they cannot be sent to \fBsyslogd\fR(1M). This option is safe to use in daemon processes that have no controlling terminal, since \fBsyslog()\fR forks before opening the console. @@ -395,12 +339,10 @@ controlling terminal, since \fBsyslog()\fR forks before opening the console. .sp .ne 2 -.mk .na \fB\fBLOG_NDELAY\fR\fR .ad .RS 14n -.rt Open the connection to \fBsyslogd\fR(1M) immediately. Normally the open is delayed until the first message is logged. This is useful for programs that need to manage the order in which file descriptors are allocated. @@ -408,23 +350,19 @@ need to manage the order in which file descriptors are allocated. .sp .ne 2 -.mk .na \fB\fBLOG_ODELAY\fR\fR .ad .RS 14n -.rt Delay open until \fBsyslog()\fR is called. .RE .sp .ne 2 -.mk .na \fB\fBLOG_NOWAIT\fR\fR .ad .RS 14n -.rt Do not wait for child processes that have been forked to log messages onto the console. This option should be used by processes that enable notification of child termination using \fBSIGCHLD\fR, since \fBsyslog()\fR may otherwise block @@ -544,17 +482,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/system.3c b/usr/src/man/man3c/system.3c index f6404ba0bf..a97eb5795e 100644 --- a/usr/src/man/man3c/system.3c +++ b/usr/src/man/man3c/system.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 system 3C "14 Dec 2006" "SunOS 5.11" "Standard C Library Functions" +.TH SYSTEM 3C "Dec 14, 2006" .SH NAME system \- issue a shell command .SH SYNOPSIS @@ -62,12 +62,10 @@ The \fBsystem()\fR function may set \fBerrno\fR values as described by \fBfork\fR(2), in particular: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt A resource control or limit on the total number of processes, tasks or LWPs under execution by a single user, task, project, or zone has been exceeded, or the total amount of system memory available is temporarily insufficient to @@ -76,23 +74,19 @@ duplicate this process. .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt There is not enough swap space. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The {\fBPRIV_PROC_FORK\fR} privilege is not asserted in the effective set of the calling process. .RE @@ -115,15 +109,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelUnsafe +MT-Level Unsafe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcdrain.3c b/usr/src/man/man3c/tcdrain.3c index c5a5a3db6f..ec6f57d0e9 100644 --- a/usr/src/man/man3c/tcdrain.3c +++ b/usr/src/man/man3c/tcdrain.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcdrain 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCDRAIN 3C "Aug 14, 2002" .SH NAME tcdrain \- wait for transmission of output .SH SYNOPSIS @@ -42,34 +42,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcdrain()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal interrupted \fBtcdrain()\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -78,12 +72,10 @@ The file associated with \fIfildes\fR is not a terminal. The \fBtcdrain()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE @@ -96,15 +88,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcflow.3c b/usr/src/man/man3c/tcflow.3c index abe585febf..a377c6bab5 100644 --- a/usr/src/man/man3c/tcflow.3c +++ b/usr/src/man/man3c/tcflow.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcflow 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCFLOW 3C "Aug 14, 2002" .SH NAME tcflow \- suspend or restart the transmission or reception of data .SH SYNOPSIS @@ -74,34 +74,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcflow()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIaction\fR argument is not a supported value. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -110,12 +104,10 @@ The file associated with \fIfildes\fR is not a terminal. The \fBtcflow()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE @@ -128,15 +120,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcflush.3c b/usr/src/man/man3c/tcflush.3c index 6c506853c0..4172338324 100644 --- a/usr/src/man/man3c/tcflush.3c +++ b/usr/src/man/man3c/tcflush.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcflush 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCFLUSH 3C "Aug 14, 2002" .SH NAME tcflush \- flush non-transmitted output data, non-read input data or both .SH SYNOPSIS @@ -64,34 +64,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcflush()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIqueue_selector\fR argument is not a supported value. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -100,12 +94,10 @@ The file associated with \fIfildes\fR is not a terminal. The \fBtcflush()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE @@ -118,15 +110,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcgetattr.3c b/usr/src/man/man3c/tcgetattr.3c index 5e383ac5eb..a8d38ea6fd 100644 --- a/usr/src/man/man3c/tcgetattr.3c +++ b/usr/src/man/man3c/tcgetattr.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcgetattr 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCGETATTR 3C "Aug 14, 2002" .SH NAME tcgetattr \- get the parameters associated with the terminal .SH SYNOPSIS @@ -50,23 +50,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcgetattr()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -78,15 +74,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcgetpgrp.3c b/usr/src/man/man3c/tcgetpgrp.3c index c4ec04d722..28bf7ff8be 100644 --- a/usr/src/man/man3c/tcgetpgrp.3c +++ b/usr/src/man/man3c/tcgetpgrp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcgetpgrp 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCGETPGRP 3C "Aug 14, 2002" .SH NAME tcgetpgrp \- get foreground process group ID .SH SYNOPSIS @@ -47,23 +47,19 @@ error. The \fBtcgetpgrp()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The calling process does not have a controlling terminal, or the file is not the controlling terminal. .RE @@ -76,15 +72,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcgetsid.3c b/usr/src/man/man3c/tcgetsid.3c index 8d965b9a48..9808b132f7 100644 --- a/usr/src/man/man3c/tcgetsid.3c +++ b/usr/src/man/man3c/tcgetsid.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcgetsid 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCGETSID 3C "Aug 14, 2002" .SH NAME tcgetsid \- get process group ID for session leader for controlling terminal .SH SYNOPSIS @@ -35,34 +35,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcgetsid()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not associated with a controlling terminal. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -74,15 +68,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcsendbreak.3c b/usr/src/man/man3c/tcsendbreak.3c index c3f688aff3..b97595edf8 100644 --- a/usr/src/man/man3c/tcsendbreak.3c +++ b/usr/src/man/man3c/tcsendbreak.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcsendbreak 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCSENDBREAK 3C "Aug 14, 2002" .SH NAME tcsendbreak \- send a ``break'' for a specific duration .SH SYNOPSIS .LP .nf -#include <termios.h> +#include <termios.h> \fBint\fR \fBtcsendbreak\fR(\fBint\fR \fIfildes\fR, \fBint\fR \fIduration\fR); .fi @@ -53,23 +53,19 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcsendbreak()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -78,12 +74,10 @@ The file associated with \fIfildes\fR is not a terminal. The \fBtcsendbreak()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE @@ -96,15 +90,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcsetattr.3c b/usr/src/man/man3c/tcsetattr.3c index ba0866ed53..8727bfa65b 100644 --- a/usr/src/man/man3c/tcsetattr.3c +++ b/usr/src/man/man3c/tcsetattr.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcsetattr 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCSETATTR 3C "Aug 14, 2002" .SH NAME tcsetattr \- set the parameters associated with the terminal .SH SYNOPSIS @@ -110,34 +110,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcsetattr()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal interrupted \fBtcsettattr()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIoptional_actions\fR argument is not a supported value, or an attempt was made to change an attribute represented in the \fBtermios\fR structure to an unsupported value. @@ -145,12 +139,10 @@ unsupported value. .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The file associated with \fIfildes\fR is not a terminal. .RE @@ -159,12 +151,10 @@ The file associated with \fIfildes\fR is not a terminal. The \fBtcsetattr()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 7n -.rt The process group of the writing process is orphaned, and the writing process is not ignoring or blocking \fBSIGTTOU\fR. .RE @@ -177,15 +167,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tcsetpgrp.3c b/usr/src/man/man3c/tcsetpgrp.3c index bb4161b0f8..bd22cb8930 100644 --- a/usr/src/man/man3c/tcsetpgrp.3c +++ b/usr/src/man/man3c/tcsetpgrp.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tcsetpgrp 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TCSETPGRP 3C "Aug 14, 2002" .SH NAME tcsetpgrp \- set foreground process group ID .SH SYNOPSIS @@ -42,34 +42,28 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtcsetpgrp()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt This implementation does not support the value in the \fIpgid_id\fR argument. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The calling process does not have a controlling terminal, or the file is not the controlling terminal, or the controlling terminal is no longer associated with the session of the calling process. @@ -77,24 +71,20 @@ with the session of the calling process. .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 10n -.rt The process is not ignoring or holding \fBSIGTTOU\fR and is a member of an orphaned process group. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The value of \fIpgid_id\fR does not match the process group \fBID\fR of a process in the same session as the calling process. .RE @@ -107,15 +97,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe, and Async-Signal-Safe +MT-Level MT-Safe, and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tell.3c b/usr/src/man/man3c/tell.3c index e577b1d510..c5bb2f33b7 100644 --- a/usr/src/man/man3c/tell.3c +++ b/usr/src/man/man3c/tell.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 tell 3C "28 Jan 1998" "SunOS 5.11" "Standard C Library Functions" +.TH TELL 3C "Jan 28, 1998" .SH NAME tell \- return a file offset for a file descriptor .SH SYNOPSIS @@ -34,35 +34,29 @@ Otherwise, it returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBtell()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The file descriptor \fIfd\fR is not an open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The current file offset cannot be represented correctly in an object of type \fBoff_t\fR. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 13n -.rt The file descriptor \fIfd\fR is associated with a pipe or FIFO. .RE @@ -79,13 +73,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/telldir.3c b/usr/src/man/man3c/telldir.3c index 8ac5e2ec40..27b5b86b7b 100644 --- a/usr/src/man/man3c/telldir.3c +++ b/usr/src/man/man3c/telldir.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1999, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 telldir 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TELLDIR 3C "Aug 14, 2002" .SH NAME telldir \- current location of a named directory stream .SH SYNOPSIS .LP .nf -#include <dirent.h> +#include <dirent.h> \fBlong int\fR \fBtelldir\fR(\fBDIR *\fR\fIdirp\fR); .fi @@ -39,12 +39,10 @@ specified directory stream. The \fBtelldir()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The current location of the directory cannot be stored in an object of type \fBlong\fR. .RE @@ -57,15 +55,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/termios.3c b/usr/src/man/man3c/termios.3c index f1481b26e3..b410868e6d 100644 --- a/usr/src/man/man3c/termios.3c +++ b/usr/src/man/man3c/termios.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 termios 3C "5 Apr 1996" "SunOS 5.11" "Standard C Library Functions" +.TH TERMIOS 3C "Apr 5, 1996" .SH NAME termios \- general terminal interface .SH SYNOPSIS diff --git a/usr/src/man/man3c/thr_create.3c b/usr/src/man/man3c/thr_create.3c index 428646027a..be5d80a94b 100644 --- a/usr/src/man/man3c/thr_create.3c +++ b/usr/src/man/man3c/thr_create.3c @@ -10,14 +10,14 @@ .\" 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 thr_create 3C "16 Mar 2009" "SunOS 5.11" "Standard C Library Functions" +.TH THR_CREATE 3C "Mar 16, 2009" .SH NAME thr_create \- create a thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBint\fR \fBthr_create\fR(\fBvoid *\fR\fIstack_base\fR, \fBsize_t\fR \fIstack_size\fR, \fBvoid *(*\fR\fIstart_func\fR) (void*), \fBvoid *\fR\fIarg\fR, \fBlong\fR \fIflags\fR, @@ -94,23 +94,19 @@ created thread. The value in \fIflags\fR is determined by the bitwise inclusive-OR of the following: .sp .ne 2 -.mk .na \fB\fBTHR_BOUND\fR \fR .ad .RS 18n -.rt This flag is obsolete and is maintained for compatibility. .RE .sp .ne 2 -.mk .na \fB\fBTHR_DETACHED\fR \fR .ad .RS 18n -.rt This flag affects the detachstate attribute of the thread. The new thread is created detached. The exit status of a detached thread is not accessible to other threads. Its thread ID and other resources may be re-used as soon as the @@ -119,23 +115,19 @@ thread terminates. \fBthr_join\fR(3C) will not wait for a detached thread. .sp .ne 2 -.mk .na \fB\fBTHR_NEW_LWP\fR \fR .ad .RS 18n -.rt This flag is obsolete and is maintained for compatibility. .RE .sp .ne 2 -.mk .na \fB\fBTHR_SUSPENDED\fR \fR .ad .RS 18n -.rt This flag affects the suspended attribute of the thread. The new thread is created suspended and will not execute \fIstart_func\fR until it is started by \fBthr_continue()\fR. @@ -143,12 +135,10 @@ created suspended and will not execute \fIstart_func\fR until it is started by .sp .ne 2 -.mk .na \fB\fBTHR_DAEMON\fR \fR .ad .RS 18n -.rt This flag affects the daemon attribute of the thread. In addition to being created detached (\fBTHR_DAEMON\fR implies \fBTHR_DETACHED\fR), the thread is marked as a daemon. Daemon threads do not interfere with the exit conditions @@ -178,7 +168,7 @@ Create a detached thread whose thread ID we do not care about: .sp .in +2 .nf -thr_create(NULL, 0, start_func, arg, THR_DETACHED, NULL); +thr_create(NULL, 0, start_func, arg, THR_DETACHED, NULL); .fi .in -2 @@ -204,24 +194,20 @@ error value is returned to indicate the error. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt A resource control limit on the total number of threads in a process, task, project, or zone has been exceeded or some system resource has been exceeded. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fIstack_base\fR argument is not \fINULL\fR and \fIstack_size\fR is less than \fBTHR_MIN_STACK\fR, or the \fIstack_base\fR argument is \fINULL\fR and \fIstack_size\fR is not \fB0\fR and is less than \fBTHR_MIN_STACK\fR. @@ -229,12 +215,10 @@ than \fBTHR_MIN_STACK\fR, or the \fIstack_base\fR argument is \fINULL\fR and .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 11n -.rt The system cannot allocate stack for the thread. .RE @@ -380,13 +364,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_exit.3c b/usr/src/man/man3c/thr_exit.3c index ffed2a2ed9..a668c23250 100644 --- a/usr/src/man/man3c/thr_exit.3c +++ b/usr/src/man/man3c/thr_exit.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_exit 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH THR_EXIT 3C "Nov 2, 2007" .SH NAME thr_exit \- terminate the calling thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBvoid\fR \fBthr_exit\fR(\fBvoid *\fR\fIstatus\fR); .fi @@ -92,13 +92,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_getconcurrency.3c b/usr/src/man/man3c/thr_getconcurrency.3c index 51a557e4b3..65ca61d914 100644 --- a/usr/src/man/man3c/thr_getconcurrency.3c +++ b/usr/src/man/man3c/thr_getconcurrency.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 thr_getconcurrency 3C "11 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH THR_GETCONCURRENCY 3C "May 11, 1998" .SH NAME thr_getconcurrency, thr_setconcurrency \- get or set thread concurrency level .SH SYNOPSIS @@ -46,23 +46,19 @@ Otherwise, a non-zero value is returned to indicate the error. The \fBthr_setconcurrency()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt The specified concurrency level would cause a system resource to be exceeded. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The value for \fInew_level\fR is negative. .RE @@ -74,13 +70,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_getprio.3c b/usr/src/man/man3c/thr_getprio.3c index 132722eee6..eaf054ae32 100644 --- a/usr/src/man/man3c/thr_getprio.3c +++ b/usr/src/man/man3c/thr_getprio.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 1995 IEEE All Rights Reserved. .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_getprio 3C "1 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH THR_GETPRIO 3C "Apr 1, 2008" .SH NAME thr_getprio, thr_setprio \- access dynamic thread scheduling .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBint\fR \fBthr_setprio\fR(\fBthread_t\fR \fItarget_thread\fR, \fBint\fR \fIpriority\fR); .fi @@ -55,12 +55,10 @@ If successful, the \fBthr_getprio()\fR and \fBthr_setprio()\fR functions return The \fBthr_getprio()\fR and \fBthr_setprio()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 9n -.rt The value specified by \fItarget_thread\fR does not refer to an existing thread. .RE @@ -70,24 +68,20 @@ thread. The \fBthr_setprio()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIpriority\fR is invalid for the scheduling policy of the specified thread. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The caller does not have the appropriate permission to set the priority to the value specified. .RE @@ -100,13 +94,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_join.3c b/usr/src/man/man3c/thr_join.3c index 59cd1809d7..35c42ea216 100644 --- a/usr/src/man/man3c/thr_join.3c +++ b/usr/src/man/man3c/thr_join.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_join 3C "27 Mar 2000" "SunOS 5.11" "Standard C Library Functions" +.TH THR_JOIN 3C "Mar 27, 2000" .SH NAME thr_join \- wait for thread termination .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBint\fR \fBthr_join\fR(\fBthread_t\fR \fIthread\fR, \fBthread_t *\fR\fIdeparted\fR, \fBvoid **\fR\fIstatus\fR); .fi @@ -61,12 +61,10 @@ returned to indicate the error. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEDEADLK\fR \fR .ad .RS 12n -.rt A joining deadlock would occur, such as when a thread attempts to wait for itself, or the calling thread is waiting for any thread to exit and only daemon threads or waiting threads exist in the process. @@ -74,12 +72,10 @@ threads or waiting threads exist in the process. .sp .ne 2 -.mk .na \fB\fBESRCH\fR \fR .ad .RS 12n -.rt No undetached thread could be found corresponding to the given thread ID. .RE @@ -91,13 +87,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO @@ -112,7 +107,7 @@ Using thr_join(3C) in the following syntax, .sp .in +2 .nf -while (thr_join(0, NULL, NULL) == 0); +while (thr_join(0, NULL, NULL) == 0); .fi .in -2 diff --git a/usr/src/man/man3c/thr_keycreate.3c b/usr/src/man/man3c/thr_keycreate.3c index a28bd63bde..f779d52dab 100644 --- a/usr/src/man/man3c/thr_keycreate.3c +++ b/usr/src/man/man3c/thr_keycreate.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_keycreate 3C "2 Nov 2007" "SunOS 5.11" "Standard C Library Functions" +.TH THR_KEYCREATE 3C "Nov 2, 2007" .SH NAME thr_keycreate, thr_keycreate_once, thr_setspecific, thr_getspecific \- thread-specific data functions @@ -17,7 +17,7 @@ thread-specific data functions .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBint\fR \fBthr_keycreate\fR(\fBthread_key_t *\fR\fIkeyp\fR, \fBvoid (*\fR\fIdestructor\fR)(void *)); @@ -112,24 +112,20 @@ If the following conditions occur, \fBthr_keycreate()\fR and \fBthr_keycreate_once()\fR return the corresponding error number: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacked the necessary resources to create another thread-specific data key. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to create the key. .RE @@ -139,12 +135,10 @@ If the following conditions occur, \fBthr_setspecific()\fR returns the corresponding error number: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient memory exists to associate the value with the key. .RE @@ -153,12 +147,10 @@ Insufficient memory exists to associate the value with the key. The \fBthr_setspecific()\fR function returns the corresponding error number: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIkey\fR value is invalid. .RE @@ -207,7 +199,7 @@ thread_specific_data(void *arg) { void *tsd = NULL; void *data; - thr_keycreate_once(&key, cleanup); + thr_keycreate_once(&key, cleanup); thr_getspecific(key, &tsd); if (tsd == NULL) { data = malloc(strlen(private_data) + 1); @@ -237,15 +229,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_kill.3c b/usr/src/man/man3c/thr_kill.3c index 991347ede2..3ef07078f0 100644 --- a/usr/src/man/man3c/thr_kill.3c +++ b/usr/src/man/man3c/thr_kill.3c @@ -2,22 +2,22 @@ .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_kill 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH THR_KILL 3C "Mar 23, 2005" .SH NAME thr_kill \- send a signal to a thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] -#include <signal.h> -#include <thread.h> +#include <signal.h> +#include <thread.h> \fBint\fR \fBthr_kill\fR(\fBthread_t\fR \fIthread\fR, \fBint\fR \fIsig\fR); .fi @@ -43,24 +43,20 @@ error number is returned. In the event of failure, no signal is sent. The \fBthr_kill()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIsig\fR argument value is not zero and is an invalid or an unsupported signal number. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt No thread was found that corresponded to the thread designated by \fIthread\fR ID. .RE @@ -73,13 +69,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_main.3c b/usr/src/man/man3c/thr_main.3c index 9e9eeb1e0b..ac6da4e0c2 100644 --- a/usr/src/man/man3c/thr_main.3c +++ b/usr/src/man/man3c/thr_main.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 thr_main 3C "11 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH THR_MAIN 3C "May 11, 1998" .SH NAME thr_main \- identify the main thread .SH SYNOPSIS @@ -21,46 +21,38 @@ cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] The \fBthr_main()\fR function returns one of the following: .sp .ne 2 -.mk .na \fB\fB1\fR \fR .ad .RS 7n -.rt if the calling thread is the main thread .RE .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 7n -.rt if the calling thread is not the main thread .RE .sp .ne 2 -.mk .na \fB-\fB1\fR \fR .ad .RS 7n -.rt if \fBlibthread\fR is not linked in or thread initialization has not completed .RE .SH FILES .sp .ne 2 -.mk .na \fB\fB/lib/libthread\fR \fR .ad .RS 19n -.rt .RE @@ -72,13 +64,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_min_stack.3c b/usr/src/man/man3c/thr_min_stack.3c index 0e799bcd44..4229aabc21 100644 --- a/usr/src/man/man3c/thr_min_stack.3c +++ b/usr/src/man/man3c/thr_min_stack.3c @@ -3,14 +3,14 @@ .\" 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 thr_min_stack 3C "12 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH THR_MIN_STACK 3C "May 12, 1998" .SH NAME thr_min_stack \- return the minimum-allowable size for a thread's stack .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBsize_t\fR \fBthr_min_stack\fR(\fB\fR\fIvoid\fR); .fi @@ -74,13 +74,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_self.3c b/usr/src/man/man3c/thr_self.3c index 94e660caf8..b1c7d1ad5a 100644 --- a/usr/src/man/man3c/thr_self.3c +++ b/usr/src/man/man3c/thr_self.3c @@ -2,21 +2,21 @@ .\" Copyright (c) 1995 IEEE All Rights Reserved .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_self 3C "9 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH THR_SELF 3C "May 9, 1998" .SH NAME thr_self \- get calling thread's ID .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBthread_t\fR \fBthr_self\fR(\fBvoid);\fR .fi @@ -42,13 +42,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_sigsetmask.3c b/usr/src/man/man3c/thr_sigsetmask.3c index db4cd303b7..716bb424eb 100644 --- a/usr/src/man/man3c/thr_sigsetmask.3c +++ b/usr/src/man/man3c/thr_sigsetmask.3c @@ -3,14 +3,14 @@ .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 1995 IEEE. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 thr_sigsetmask 3C "23 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH THR_SIGSETMASK 3C "Mar 23, 2005" .SH NAME thr_sigsetmask \- change or examine calling thread's signal mask .SH SYNOPSIS @@ -18,7 +18,7 @@ thr_sigsetmask \- change or examine calling thread's signal mask .nf cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] #include <thread.h> -#include <signal.h> +#include <signal.h> \fBint\fR \fBthr_sigsetmask\fR(\fBint\fR \fIhow\fR, \fBconst sigset_t *\fR\fIset\fR, \fBsigset_t *\fR\fIoset\fR); .fi @@ -43,36 +43,30 @@ The value of the argument \fIhow\fR specifies the method in which the set is changed and takes one of the following values: .sp .ne 2 -.mk .na \fB\fBSIG_BLOCK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to a set of signals to block. They are added to the current signal mask. .RE .sp .ne 2 -.mk .na \fB\fBSIG_UNBLOCK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to a set of signals to unblock. These signals are deleted from the current signal mask. .RE .sp .ne 2 -.mk .na \fB\fBSIG_SETMASK\fR\fR .ad .RS 15n -.rt \fIset\fR corresponds to the new signal mask. The current signal mask is replaced by \fBset\fR. .RE @@ -92,12 +86,10 @@ Upon successful completion, the \fBthr_sigsetmask()\fR function returns The \fBthr_sigsetmask()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIhow\fR is not defined and \fIoset\fR is \fINULL.\fR .RE @@ -247,7 +239,7 @@ printf("thread %d caught signal %d\en", thr_self(\|), sig); void test_argv(char argv1[\|]) { if(argv1 == NULL) { - printf("use 0 as arg1 to use thr_create(\|);\en \e + printf("use 0 as arg1 to use thr_create(\|);\en \e or use 1 as arg1 to use pthread_create(\|)\en"); exit(NULL); } @@ -305,13 +297,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe and Async-Signal-Safe +MT-Level MT-Safe and Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_stksegment.3c b/usr/src/man/man3c/thr_stksegment.3c index 84b45b6c0e..8bf64d0082 100644 --- a/usr/src/man/man3c/thr_stksegment.3c +++ b/usr/src/man/man3c/thr_stksegment.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 thr_stksegment 3C "15 Jun 2000" "SunOS 5.11" "Standard C Library Functions" +.TH THR_STKSEGMENT 3C "Jun 15, 2000" .SH NAME thr_stksegment \- get thread stack address and size .SH SYNOPSIS @@ -57,12 +57,10 @@ error value. The \fBthr_stksegment()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR \fR .ad .RS 11n -.rt The stack information for the thread is not available because the thread's initialization is not yet complete, or the thread is an internal thread. .RE @@ -75,13 +73,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_suspend.3c b/usr/src/man/man3c/thr_suspend.3c index bf1fd9f160..ef75841ee6 100644 --- a/usr/src/man/man3c/thr_suspend.3c +++ b/usr/src/man/man3c/thr_suspend.3c @@ -3,14 +3,14 @@ .\" 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 thr_suspend 3C "22 Mar 2002" "SunOS 5.11" "Standard C Library Functions" +.TH THR_SUSPEND 3C "Mar 22, 2002" .SH NAME thr_suspend, thr_continue \- suspend or continue thread execution .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBint\fR \fBthr_suspend\fR(\fBthread_t\fR \fItarget_thread\fR); .fi @@ -50,12 +50,10 @@ return \fB0\fR. Otherwise, a non-zero value is returned to indicate the error. The \fBthr_suspend()\fR and \fBthr_continue()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBESRCH\fR \fR .ad .RS 10n -.rt The \fItarget_thread\fR cannot be found in the current process. .RE @@ -67,13 +65,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/thr_yield.3c b/usr/src/man/man3c/thr_yield.3c index 5e56792945..7368475f98 100644 --- a/usr/src/man/man3c/thr_yield.3c +++ b/usr/src/man/man3c/thr_yield.3c @@ -3,14 +3,14 @@ .\" 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 thr_yield 3C "12 May 1998" "SunOS 5.11" "Standard C Library Functions" +.TH THR_YIELD 3C "May 12, 1998" .SH NAME thr_yield \- yield to another thread .SH SYNOPSIS .LP .nf cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] -#include <thread.h> +#include <thread.h> \fBvoid\fR \fBthr_yield\fR(\fBvoid\fR\fI\fR); .fi @@ -32,13 +32,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/timer_create.3c b/usr/src/man/man3c/timer_create.3c index ae033ccfe8..3af2fd0ba9 100644 --- a/usr/src/man/man3c/timer_create.3c +++ b/usr/src/man/man3c/timer_create.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 timer_create 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH TIMER_CREATE 3C "Feb 5, 2008" .SH NAME timer_create \- create a timer .SH SYNOPSIS @@ -49,45 +49,37 @@ The system defines a set of clocks that can be used as timing bases for per-process timers. The following values for \fIclock_id\fR are supported: .sp .ne 2 -.mk .na \fB\fBCLOCK_REALTIME\fR\fR .ad .RS 18n -.rt wall clock .RE .sp .ne 2 -.mk .na \fB\fBCLOCK_VIRTUAL\fR\fR .ad .RS 18n -.rt user CPU usage clock .RE .sp .ne 2 -.mk .na \fB\fBCLOCK_PROF\fR\fR .ad .RS 18n -.rt user and system CPU usage clock .RE .sp .ne 2 -.mk .na \fB\fBCLOCK_HIGHRES\fR\fR .ad .RS 18n -.rt non-adjustable, high-resolution clock .RE @@ -121,12 +113,10 @@ passed to the per-process timer calls. If an error occurs, the function returns The \fBtimer_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt The system lacks sufficient signal queuing resources to honor the request, or the calling process has already created all of the timers it is allowed by the system. @@ -134,23 +124,19 @@ system. .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The specified clock \fBID\fR, \fIclock_id\fR, is not defined. .RE .sp .ne 2 -.mk .na \fB\fBEPERM\fR\fR .ad .RS 10n -.rt The specified clock \fBID\fR, \fIclock_id\fR, is \fBCLOCK_HIGHRES\fR and the {\fBPRIV_PROC_CLOCK_HIGHRES\fR} is not asserted in the effective set of the calling process. @@ -164,17 +150,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/timer_delete.3c b/usr/src/man/man3c/timer_delete.3c index a79a1df69f..f21e8d2310 100644 --- a/usr/src/man/man3c/timer_delete.3c +++ b/usr/src/man/man3c/timer_delete.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 timer_delete 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH TIMER_DELETE 3C "Feb 5, 2008" .SH NAME timer_delete \- delete a timer .SH SYNOPSIS @@ -39,23 +39,19 @@ If successful, the function returns \fB0\fR. Otherwise, the function returns The \fBtimer_delete()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The timer \fBID\fR specified by \fItimerid\fR is not a valid timer \fBID\fR. .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR\fR .ad .RS 10n -.rt The \fBtimer_delete()\fR function is not supported by the system. .RE @@ -67,17 +63,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/timer_settime.3c b/usr/src/man/man3c/timer_settime.3c index cd2ccbb980..543f042aba 100644 --- a/usr/src/man/man3c/timer_settime.3c +++ b/usr/src/man/man3c/timer_settime.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 timer_settime 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH TIMER_SETTIME 3C "Feb 5, 2008" .SH NAME timer_settime, timer_gettime, timer_getoverrun \- per-process timers .SH SYNOPSIS @@ -118,24 +118,20 @@ The \fBtimer_settime()\fR, \fBtimer_gettime()\fR and \fBtimer_getoverrun()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR \fR .ad .RS 11n -.rt The \fItimerid\fR argument does not correspond to a timer returned by \fBtimer_create\fR(3C) but not yet deleted by \fBtimer_delete\fR(3C). .RE .sp .ne 2 -.mk .na \fB\fBENOSYS\fR \fR .ad .RS 11n -.rt The \fBtimer_settime()\fR, \fBtimer_gettime()\fR, and \fBtimer_getoverrun()\fR functions are not supported by the system. The \fBtimer_settime()\fR function will fail if: @@ -143,12 +139,10 @@ will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 11n -.rt A \fIvalue\fR structure specified a nanosecond value less than zero or greater than or equal to 1000 million. .RE @@ -161,17 +155,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/timeradd.3c b/usr/src/man/man3c/timeradd.3c index cb7a213099..3cd6a6e3f8 100644 --- a/usr/src/man/man3c/timeradd.3c +++ b/usr/src/man/man3c/timeradd.3c @@ -2,7 +2,7 @@ .\" Copyright 1994-2008 The FreeBSD Project. All Rights Reserved. .\" Copyright (c) 1982, 1986, 1993 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .\" Portions Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved. -.TH timeradd 3C "12 Jun 2008" "SunOS 5.11" "Standard C Library Functions" +.TH TIMERADD 3C "Jun 12, 2008" .SH NAME timeradd, timersub, timerclear, timerisset, timercmp \- operations on timeval structures @@ -89,15 +89,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe with Exceptions +MT-Level MT-Safe with Exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tmpfile.3c b/usr/src/man/man3c/tmpfile.3c index 6c54806499..9eae337e5b 100644 --- a/usr/src/man/man3c/tmpfile.3c +++ b/usr/src/man/man3c/tmpfile.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tmpfile 3C "4 Aug 2003" "SunOS 5.11" "Standard C Library Functions" +.TH TMPFILE 3C "Aug 4, 2003" .SH NAME tmpfile \- create a temporary file .SH SYNOPSIS @@ -41,46 +41,38 @@ the file that is created. Otherwise, it returns a null pointer and sets The \fBtmpfile()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt A signal was caught during the execution of \fBtmpfile()\fR. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are \fBOPEN_MAX\fR file descriptors currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The maximum allowable number of files is currently open in the system. .RE .sp .ne 2 -.mk .na \fB\fBENOSPC\fR\fR .ad .RS 10n -.rt The directory or file system which would contain the new file cannot be expanded. .RE @@ -90,23 +82,19 @@ expanded. The \fBtmpfile()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 10n -.rt There are \fBFOPEN_MAX\fR streams currently open in the calling process. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -128,13 +116,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tmpnam.3c b/usr/src/man/man3c/tmpnam.3c index f56aa3d766..4d90a6e285 100644 --- a/usr/src/man/man3c/tmpnam.3c +++ b/usr/src/man/man3c/tmpnam.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 tmpnam 3C "18 May 2004" "SunOS 5.11" "Standard C Library Functions" +.TH TMPNAM 3C "May 18, 2004" .SH NAME tmpnam, tmpnam_r, tempnam \- create a name for a temporary file .SH SYNOPSIS @@ -79,12 +79,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBtempnam()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt Insufficient storage space is available. .RE @@ -127,15 +125,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBtmpnam()\fR and \fBtempnam()\fR are Standard. +Interface Stability \fBtmpnam()\fR and \fBtempnam()\fR are Standard. _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/toascii.3c b/usr/src/man/man3c/toascii.3c index 0e7f6065ad..f96e295041 100644 --- a/usr/src/man/man3c/toascii.3c +++ b/usr/src/man/man3c/toascii.3c @@ -3,13 +3,13 @@ .\" 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 toascii 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TOASCII 3C "Aug 14, 2002" .SH NAME toascii \- translate integer to a 7-bit ASCII character .SH SYNOPSIS .LP .nf -#include <ctype.h> +#include <ctype.h> \fBint\fR \fBtoascii\fR(\fBint\fR \fIc\fR); .fi @@ -35,17 +35,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tolower.3c b/usr/src/man/man3c/tolower.3c index 6669ba0aa7..727e6f3ebd 100644 --- a/usr/src/man/man3c/tolower.3c +++ b/usr/src/man/man3c/tolower.3c @@ -3,13 +3,13 @@ .\" 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 tolower 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TOLOWER 3C "Aug 14, 2002" .SH NAME tolower \- transliterate upper-case characters to lower-case .SH SYNOPSIS .LP .nf -#include <ctype.h> +#include <ctype.h> \fBint\fR \fBtolower\fR(\fBint\fR \fIc\fR); .fi @@ -43,17 +43,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/toupper.3c b/usr/src/man/man3c/toupper.3c index ca353074dd..99c782cd6d 100644 --- a/usr/src/man/man3c/toupper.3c +++ b/usr/src/man/man3c/toupper.3c @@ -3,13 +3,13 @@ .\" 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 toupper 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TOUPPER 3C "Aug 14, 2002" .SH NAME toupper \- transliterate lower-case characters to upper-case .SH SYNOPSIS .LP .nf -#include <ctype.h> +#include <ctype.h> \fBint\fR \fBtoupper\fR(\fBint\fR \fIc\fR); .fi @@ -41,17 +41,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/truncate.3c b/usr/src/man/man3c/truncate.3c index 4120e6632d..009b026809 100644 --- a/usr/src/man/man3c/truncate.3c +++ b/usr/src/man/man3c/truncate.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 truncate 3C "5 Apr 2002" "SunOS 5.11" "Standard C Library Functions" +.TH TRUNCATE 3C "Apr 5, 2002" .SH NAME truncate, ftruncate \- set a file to a specified length .SH SYNOPSIS @@ -90,56 +90,46 @@ the error. The \fBftruncate()\fR and \fBtruncate()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 19n -.rt A signal was caught during execution. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 19n -.rt The \fIlength\fR argument was less than 0. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR or \fBEINVAL\fR\fR .ad .RS 19n -.rt The \fIlength\fR argument was greater than the maximum file size. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 19n -.rt An I/O error occurred while reading from or writing to a file system. .RE .sp .ne 2 -.mk .na \fB\fBEROFS\fR\fR .ad .RS 19n -.rt The named file resides on a read-only file system. .RE @@ -148,126 +138,104 @@ The named file resides on a read-only file system. The \fBtruncate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt A component of the path prefix denies search permission, or write permission is denied on the file. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument points outside the process' allocated address space. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument is not an ordinary file. .RE .sp .ne 2 -.mk .na \fB\fBEISDIR\fR\fR .ad .RS 16n -.rt The named file is a directory. .RE .sp .ne 2 -.mk .na \fB\fBELOOP\fR\fR .ad .RS 16n -.rt Too many symbolic links were encountered in resolving \fIpath\fR. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad .RS 16n -.rt The maximum number of file descriptors available to the process has been reached. .RE .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt The length of the specified pathname exceeds {\fBPATH_MAX\fR} bytes, or the length of a component of the pathname exceeds {\fBNAME_MAX\fR} bytes. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 16n -.rt A component of \fIpath\fR does not name an existing file or \fIpath\fR is an empty string. .RE .sp .ne 2 -.mk .na \fB\fBENFILE\fR\fR .ad .RS 16n -.rt Additional space could not be allocated for the system file table. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 16n -.rt A component of the path prefix of \fIpath\fR is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBENOLINK\fR\fR .ad .RS 16n -.rt The \fIpath\fR argument points to a remote machine and the link to that machine is no longer active. .RE @@ -277,70 +245,58 @@ is no longer active. The \fBftruncate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 19n -.rt The file exists, mandatory file/record locking is set, and there are outstanding record locks on the file (see \fBchmod\fR(2)). .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR or \fBEINVAL\fR\fR .ad .RS 19n -.rt The \fIfildes\fR argument is not a file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 19n -.rt The file is a regular file and \fIlength\fR is greater than the offset maximum established in the open file description associated with \fIfildes\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 19n -.rt The \fIfildes\fR argument references a file that was opened without write permission. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 19n -.rt The \fIfildes\fR argument does not correspond to an ordinary file. .RE .sp .ne 2 -.mk .na \fB\fBENOLINK\fR\fR .ad .RS 19n -.rt The \fIfildes\fR argument points to a remote machine and the link to that machine is no longer active. .RE @@ -350,12 +306,10 @@ machine is no longer active. The \fBtruncate()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBENAMETOOLONG\fR\fR .ad .RS 16n -.rt Pathname resolution of a symbolic link produced an intermediate result whose length exceeds {\fBPATH_MAX\fR}. .RE @@ -373,15 +327,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/tsearch.3c b/usr/src/man/man3c/tsearch.3c index eae068bd57..501eebd333 100644 --- a/usr/src/man/man3c/tsearch.3c +++ b/usr/src/man/man3c/tsearch.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 tsearch 3C "6 Dec 2004" "SunOS 5.11" "Standard C Library Functions" +.TH TSEARCH 3C "Dec 6, 2004" .SH NAME tsearch, tfind, tdelete, twalk \- manage binary search trees .SH SYNOPSIS @@ -209,15 +209,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ttyname.3c b/usr/src/man/man3c/ttyname.3c index c4bfcc1462..d0efe1f620 100644 --- a/usr/src/man/man3c/ttyname.3c +++ b/usr/src/man/man3c/ttyname.3c @@ -2,20 +2,20 @@ .\" Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ttyname 3C "31 Mar 2005" "SunOS 5.11" "Standard C Library Functions" +.TH TTYNAME 3C "Mar 31, 2005" .SH NAME ttyname, ttyname_r \- find pathname of a terminal .SH SYNOPSIS .LP .nf -#include <unistd.h> +#include <unistd.h> \fBchar *\fR\fBttyname\fR(\fBint\fR \fIfildes\fR); .fi @@ -64,24 +64,20 @@ number upon failure. The \fBttyname()\fR and \fBttyname_r()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a valid file descriptor. This condition is reported. .RE .sp .ne 2 -.mk .na \fB\fBENOTTY\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument does not refer to a terminal device. This condition is reported. .RE @@ -91,12 +87,10 @@ is reported. The \fBttyname_r()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value of \fInamesize\fR is smaller than the length of the string to be returned including the terminating null character. .RE @@ -109,15 +103,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ttyslot.3c b/usr/src/man/man3c/ttyslot.3c index a1ce5d4df0..464c3102e6 100644 --- a/usr/src/man/man3c/ttyslot.3c +++ b/usr/src/man/man3c/ttyslot.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 ttyslot 3C "27 Oct 1998" "SunOS 5.11" "Standard C Library Functions" +.TH TTYSLOT 3C "Oct 27, 1998" .SH NAME ttyslot \- find the slot of the current user in the user accounting database .SH SYNOPSIS @@ -34,12 +34,10 @@ associated with a terminal device, \fB\(mi1\fR is returned. .SH FILES .sp .ne 2 -.mk .na \fB\fB/var/adm/utmpx\fR\fR .ad .RS 18n -.rt user access and accounting information .RE @@ -51,13 +49,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/u8_strcmp.3c b/usr/src/man/man3c/u8_strcmp.3c index e11bdd404f..d0c91fca82 100644 --- a/usr/src/man/man3c/u8_strcmp.3c +++ b/usr/src/man/man3c/u8_strcmp.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 u8_strcmp 3C "12 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH U8_STRCMP 3C "Sep 12, 2007" .SH NAME u8_strcmp \- UTF-8 string comparison function .SH SYNOPSIS @@ -18,23 +18,19 @@ u8_strcmp \- UTF-8 string comparison function .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIs1\fR, \fIs2\fR\fR .ad .RS 13n -.rt Pointers to null-terminated UTF-8 strings .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 13n -.rt The maximum number of bytes to be compared. If 0, the comparison is performed until either or both of the strings are examined to the string terminating null byte. @@ -42,17 +38,14 @@ byte. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 13n -.rt The possible comparison options constructed by a bit-wise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CS\fR\fR .ad @@ -63,7 +56,6 @@ Perform case-sensitive string comparison. This is the default. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CI_UPPER\fR\fR .ad @@ -75,7 +67,6 @@ converted results of \fIs1\fR and \fIs2\fR. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_CI_LOWER\fR\fR .ad @@ -87,7 +78,6 @@ converted results of \fIs1\fR and \fIs2\fR. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFD\fR\fR .ad @@ -99,7 +89,6 @@ using Unicode Normalization Form D. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFC\fR\fR .ad @@ -111,7 +100,6 @@ using Unicode Normalization Form C. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFKD\fR\fR .ad @@ -123,7 +111,6 @@ using Unicode Normalization Form KD. .sp .ne 2 -.mk .na \fB\fBU8_STRCMP_NFKC\fR\fR .ad @@ -139,17 +126,14 @@ Normalization option is allowed. .sp .ne 2 -.mk .na \fB\fIversion\fR\fR .ad .RS 13n -.rt The version of Unicode data that should be used during comparison. The following values are supported: .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_320\fR\fR .ad @@ -160,7 +144,6 @@ Use Unicode 3.2.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_500\fR\fR .ad @@ -171,7 +154,6 @@ Use Unicode 5.0.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_LATEST\fR\fR .ad @@ -184,55 +166,45 @@ Use the latest Unicode version data available, which is Unicode 5.0.0. .sp .ne 2 -.mk .na \fB\fIerrnum\fR\fR .ad .RS 13n -.rt A non-zero value indicates that an error has occurred during comparison. The following values are supported: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The specified option values are conflicting and cannot be supported. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt There was an illegal character at \fIs1\fR, \fIs2\fR, or both. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt There was an incomplete character at \fIs1\fR, \fIs2\fR, or both. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The specified Unicode version value is not supported. .RE @@ -357,15 +329,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/u8_textprep_str.3c b/usr/src/man/man3c/u8_textprep_str.3c index 86fb3149ea..7cd3b47b99 100644 --- a/usr/src/man/man3c/u8_textprep_str.3c +++ b/usr/src/man/man3c/u8_textprep_str.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 u8_textprep_str 3C "18 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH U8_TEXTPREP_STR 3C "Sep 18, 2007" .SH NAME u8_textprep_str \- string-based UTF-8 text preparation function .SH SYNOPSIS @@ -19,47 +19,39 @@ u8_textprep_str \- string-based UTF-8 text preparation function .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIinarray\fR\fR .ad .RS 20n -.rt A pointer to a byte array containing a sequence of UTF-8 character bytes to be prepared. .RE .sp .ne 2 -.mk .na \fB\fIinlen\fR\fR .ad .RS 20n -.rt As input argument, the number of bytes to be prepared in \fIinarray\fR. As output argument, the number of bytes in \fIinarray\fR still not consumed. .RE .sp .ne 2 -.mk .na \fB\fIoutarray\fR\fR .ad .RS 20n -.rt A pointer to a byte array where prepared UTF-8 character bytes can be saved. .RE .sp .ne 2 -.mk .na \fB\fIoutlen\fR\fR .ad .RS 20n -.rt As input argument, the number of available bytes at \fIoutarray\fR where prepared character bytes can be saved. As output argument, after the conversion, the number of bytes still available at \fIoutarray\fR. @@ -67,17 +59,14 @@ conversion, the number of bytes still available at \fIoutarray\fR. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 20n -.rt The possible preparation options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_IGNORE_NULL\fR\fR .ad @@ -93,7 +82,6 @@ consumed for preparation or an error happened. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_IGNORE_INVALID\fR\fR .ad @@ -108,7 +96,6 @@ and instead treats such characters as no need to do any preparation. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_TOUPPER\fR\fR .ad @@ -119,7 +106,6 @@ Map lowercase characters to uppercase characters if applicable. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_TOLOWER\fR\fR .ad @@ -130,7 +116,6 @@ Map uppercase characters to lowercase characters if applicable. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFD\fR\fR .ad @@ -141,7 +126,6 @@ Apply Unicode Normalization Form D. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFC\fR\fR .ad @@ -152,7 +136,6 @@ Apply Unicode Normalization Form C. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFKD\fR\fR .ad @@ -163,7 +146,6 @@ Apply Unicode Normalization Form KD. .sp .ne 2 -.mk .na \fB\fBU8_TEXTPREP_NFKC\fR\fR .ad @@ -185,17 +167,14 @@ bytes from input to output. .sp .ne 2 -.mk .na \fB\fIunicode_version\fR\fR .ad .RS 20n -.rt The version of Unicode data that should be used during UTF-8 text preparation. The following values are supported: .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_320\fR\fR .ad @@ -206,7 +185,6 @@ Use Unicode 3.2.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_500\fR\fR .ad @@ -217,7 +195,6 @@ Use Unicode 5.0.0 data during comparison. .sp .ne 2 -.mk .na \fB\fBU8_UNICODE_LATEST\fR\fR .ad @@ -230,67 +207,55 @@ Use the latest Unicode version data available which is Unicode 5.0.0 currently. .sp .ne 2 -.mk .na \fB\fIerrnum\fR\fR .ad .RS 20n -.rt The error value when preparation is not completed or fails. The following values are supported: .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt Text preparation stopped due to lack of space in the output array. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Specified option values are conflicting and cannot be supported. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Text preparation stopped due to an input byte that does not belong to UTF-8. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Text preparation stopped due to an incomplete UTF-8 character at the end of the input array. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The specified Unicode version value is not a supported version. .RE @@ -393,15 +358,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/u8_validate.3c b/usr/src/man/man3c/u8_validate.3c index cbe4ed41ea..f870078501 100644 --- a/usr/src/man/man3c/u8_validate.3c +++ b/usr/src/man/man3c/u8_validate.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 u8_validate 3C "18 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH U8_VALIDATE 3C "Sep 18, 2007" .SH NAME u8_validate \- validate UTF-8 characters and calculate the byte length .SH SYNOPSIS @@ -18,34 +18,28 @@ u8_validate \- validate UTF-8 characters and calculate the byte length .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIu8str\fR\fR .ad .RS 10n -.rt The UTF-8 string to be validated. .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 10n -.rt The maximum number of bytes in \fIu8str\fR that can be examined and validated. .RE .sp .ne 2 -.mk .na \fB\fIlist\fR\fR .ad .RS 10n -.rt A list of null-terminated character strings in UTF-8 that must be additionally checked against as invalid characters. The last string in \fIlist\fR must be null to indicate there is no further string. @@ -53,17 +47,14 @@ null to indicate there is no further string. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 10n -.rt Possible validation options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_ENTIRE\fR\fR .ad @@ -80,7 +71,6 @@ result. .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_CHECK_ADDITIONAL\fR\fR .ad @@ -96,7 +86,6 @@ strings supplied with \fIlist\fR and returns EBADF in \fIerrnum\fR if .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_UCS2_RANGE\fR\fR .ad @@ -113,57 +102,47 @@ U+0000 to U+FFFF. .sp .ne 2 -.mk .na \fB\fIerrnum\fR\fR .ad .RS 10n -.rt An error occurred during validation. The following values are supported: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Validation failed because list-specified characters were found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Validation failed because an illegal byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Validation failed because an incomplete byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Validation failed because character bytes were encountered that are outside the range of the Unicode coding space. .RE @@ -288,15 +267,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ualarm.3c b/usr/src/man/man3c/ualarm.3c index 5e5ead8f11..c7d3d02e34 100644 --- a/usr/src/man/man3c/ualarm.3c +++ b/usr/src/man/man3c/ualarm.3c @@ -1,11 +1,11 @@ '\" te .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, .\" X/Open Company Limited All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH ualarm 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH UALARM 3C "Aug 14, 2002" .SH NAME ualarm \- schedule signal after interval in microseconds .SH SYNOPSIS @@ -56,13 +56,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/uconv_u16tou32.3c b/usr/src/man/man3c/uconv_u16tou32.3c index c94cf32c07..3508554f60 100644 --- a/usr/src/man/man3c/uconv_u16tou32.3c +++ b/usr/src/man/man3c/uconv_u16tou32.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 uconv_u16tou32 3C "18 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH UCONV_U16TOU32 3C "Sep 18, 2007" .SH NAME uconv_u16tou32, uconv_u16tou8, uconv_u32tou16, uconv_u32tou8, uconv_u8tou16, uconv_u8tou32 \- Unicode encoding conversion functions @@ -51,23 +51,19 @@ uconv_u8tou32 \- Unicode encoding conversion functions .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIutf16str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-16\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf16len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of 16-bit unsigned integers in \fIutf16str\fR as \fBUTF-16\fR characters to be converted or saved. .sp @@ -77,23 +73,19 @@ As an output parameter, the number of 16-bit unsigned integers in .sp .ne 2 -.mk .na \fB\fIutf32str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-32\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf32len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of 32-bit unsigned integers in \fIutf32str\fR as \fBUTF-32\fR characters to be converted or saved. .sp @@ -103,23 +95,19 @@ As an output parameter, the number of 32-bit unsigned integers in .sp .ne 2 -.mk .na \fB\fIutf8str\fR\fR .ad .RS 12n -.rt A pointer to a \fBUTF-8\fR character string. .RE .sp .ne 2 -.mk .na \fB\fIutf8len\fR\fR .ad .RS 12n -.rt As an input parameter, the number of bytes in \fIutf8str\fR as \fBUTF-8\fR characters to be converted or saved. .sp @@ -129,17 +117,14 @@ during conversion. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 12n -.rt The possible conversion options that are constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBUCONV_IN_BIG_ENDIAN\fR\fR .ad @@ -150,7 +135,6 @@ The input parameter is in big endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_BIG_ENDIAN\fR\fR .ad @@ -161,7 +145,6 @@ The output parameter should be in big endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_SYSTEM_ENDIAN\fR\fR .ad @@ -172,7 +155,6 @@ The input parameter is in the default byte ordering of the current system. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_SYSTEM_ENDIAN\fR\fR .ad @@ -184,7 +166,6 @@ system. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_LITTLE_ENDIAN\fR\fR .ad @@ -195,7 +176,6 @@ The input parameter is in little endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_LITTLE_ENDIAN\fR\fR .ad @@ -206,7 +186,6 @@ The output parameter should be in little endian byte ordering. .sp .ne 2 -.mk .na \fB\fBUCONV_IGNORE_NULL\fR\fR .ad @@ -217,7 +196,6 @@ The null or \fBU+0000\fR character should not stop the conversion. .sp .ne 2 -.mk .na \fB\fBUCONV_IN_ACCEPT_BOM\fR\fR .ad @@ -229,7 +207,6 @@ character of the input parameter, interpret it as the \fBBOM\fR character. .sp .ne 2 -.mk .na \fB\fBUCONV_OUT_EMIT_BOM\fR\fR .ad @@ -330,48 +307,40 @@ Upon successful conversion, the functions return \fB0\fR. Upon failure, the functions return one of the following \fBerrno\fR values: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt The conversion detected an illegal or out of bound character value in the input parameter. .RE .sp .ne 2 -.mk .na \fB\fBE2BIG\fR\fR .ad .RS 10n -.rt The conversion cannot finish because the size specified in the output parameter is too small. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The conversion stops due to an incomplete character at the end of the input string. .RE .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Conflicting byte-ordering option \fIflag\fR values are detected. .RE @@ -396,7 +365,7 @@ int ret; \&. \&. u16len = u8len = MAXNAMELEN; -ret = uconv_u16tou8(u16s, &u16len, u8s, &u8len, +ret = uconv_u16tou8(u16s, &u16len, u8s, &u8len, UCONV_IN_LITTLE_ENDIAN); if (ret != 0) { /* Conversion error occurred. */ @@ -432,7 +401,7 @@ size_t u32len, u16len; \&. \&. u32len = u16len = 100; -ret = uconv_u32tou16(u32s, &u32len, u16s, &u16len, +ret = uconv_u32tou16(u32s, &u32len, u16s, &u16len, UCONV_IN_BIG_ENDIAN | UCONV_OUT_LITTLE_ENDIAN); if (ret == 0) { return (0); @@ -441,7 +410,7 @@ if (ret == 0) { uint16_t u16s2[201]; u16len = 200; - ret = uconv_u32tou16(u32s, &u32len, u16s2, &u16len, + ret = uconv_u32tou16(u32s, &u32len, u16s2, &u16len, UCONV_IN_BIG_ENDIAN | UCONV_OUT_LITTLE_ENDIAN); if (ret == 0) return (0); @@ -478,7 +447,7 @@ int ret; \&. \&. u8len = u16len = MAXNAMELEN; -ret = uconv_u8tou16(u8s, &u8len, u16s, &u16len, +ret = uconv_u8tou16(u8s, &u8len, u16s, &u16len, UCONV_IN_LITTLE_ENDIAN | UCONV_EMIT_BOM); if (ret != 0) { /* Conversion error occurred. */ @@ -498,15 +467,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ucred_get.3c b/usr/src/man/man3c/ucred_get.3c index 9fe9387345..9123e91dec 100644 --- a/usr/src/man/man3c/ucred_get.3c +++ b/usr/src/man/man3c/ucred_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 ucred_get 3C "4 Apr 2008" "SunOS 5.11" "Standard C Library Functions" +.TH UCRED_GET 3C "Apr 4, 2008" .SH NAME ucred_get, ucred_free, ucred_geteuid, ucred_getruid, ucred_getsuid, ucred_getegid, ucred_getrgid, ucred_getsgid, ucred_getgroups, ucred_getprivset, @@ -178,30 +178,25 @@ See DESCRIPTION. The \fBucred_get()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 10n -.rt There is not enough memory available to allocate sufficient memory to hold a user credential. The application can try again later. .RE .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 10n -.rt The caller does not have sufficient privileges to examine the target process. .RE .sp .ne 2 -.mk .na \fB\fBEMFILE\fR\fR .ad @@ -210,30 +205,25 @@ The caller does not have sufficient privileges to examine the target process. \fB\fBENFILE\fR\fR .ad .RS 10n -.rt The calling process cannot open any more files. .RE .sp .ne 2 -.mk .na \fB\fBENOMEM\fR\fR .ad .RS 10n -.rt The physical limits of the system are exceeded by the memory allocation needed to hold a user credential. .RE .sp .ne 2 -.mk .na \fB\fBESRCH\fR\fR .ad .RS 10n -.rt The target process does not exist. .RE @@ -242,12 +232,10 @@ The target process does not exist. The \fBucred_getprivset()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The privilege set argument is invalid. .RE @@ -256,12 +244,10 @@ The privilege set argument is invalid. The \fBucred_getlabel()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The label is not present. .RE @@ -274,12 +260,10 @@ The \fBucred_geteuid()\fR, \fBucred_getruid()\fR, \fBucred_getsuid()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The requested user credential attribute is not available in the specified user credential. .RE @@ -292,15 +276,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ungetc.3c b/usr/src/man/man3c/ungetc.3c index 6a2a7c312e..f370585da4 100644 --- a/usr/src/man/man3c/ungetc.3c +++ b/usr/src/man/man3c/ungetc.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 ungetc 3C "10 Sep 2003" "SunOS 5.11" "Standard C Library Functions" +.TH UNGETC 3C "Sep 10, 2003" .SH NAME ungetc \- push byte back into input stream .SH SYNOPSIS @@ -59,15 +59,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/ungetwc.3c b/usr/src/man/man3c/ungetwc.3c index ba326db86f..d8fbad0449 100644 --- a/usr/src/man/man3c/ungetwc.3c +++ b/usr/src/man/man3c/ungetwc.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 ungetwc 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH UNGETWC 3C "Aug 14, 2002" .SH NAME ungetwc \- push wide-character code back into input stream .SH SYNOPSIS .LP .nf -#include <stdio.h> -#include <wchar.h> +#include <stdio.h> +#include <wchar.h> \fBwint_t\fR \fBungetwc\fR(\fBwint_t\fR \fIwc\fR, \fBFILE *\fR\fIstream\fR); .fi @@ -58,12 +58,10 @@ corresponding to the pushed-back character. Otherwise it returns \fBWEOF\fR. The \fBungetwc()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt An invalid character sequence is detected, or a wide-character code does not correspond to a valid character. .RE @@ -76,15 +74,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/unlockpt.3c b/usr/src/man/man3c/unlockpt.3c index d5194240cc..4881f7a258 100644 --- a/usr/src/man/man3c/unlockpt.3c +++ b/usr/src/man/man3c/unlockpt.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 1997, The Open Group. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 unlockpt 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH UNLOCKPT 3C "Aug 14, 2002" .SH NAME unlockpt \- unlock a pseudo-terminal master/slave pair .SH SYNOPSIS @@ -40,23 +40,19 @@ returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. The \fBunlockpt()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not a file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIfildes\fR argument is not associated with a master pseudo-terminal device. .RE @@ -69,15 +65,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/unsetenv.3c b/usr/src/man/man3c/unsetenv.3c index 619e5527be..806206a720 100644 --- a/usr/src/man/man3c/unsetenv.3c +++ b/usr/src/man/man3c/unsetenv.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved. .\" Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 unsetenv 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH UNSETENV 3C "Nov 1, 2003" .SH NAME unsetenv \- remove an environment variable .SH SYNOPSIS @@ -44,12 +44,10 @@ Upon successful completion, 0 is returned. Otherwise, -1 is returned, The \fBunsetenv()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIname\fR argument is a null pointer, points to an empty string, or points to a string containing an '=' character. .RE @@ -62,15 +60,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/usleep.3c b/usr/src/man/man3c/usleep.3c index 422ad7c30d..025bc9b7db 100644 --- a/usr/src/man/man3c/usleep.3c +++ b/usr/src/man/man3c/usleep.3c @@ -2,11 +2,11 @@ .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. -.TH usleep 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions" +.TH USLEEP 3C "Feb 5, 2008" .SH NAME usleep \- suspend execution for interval in microseconds .SH SYNOPSIS @@ -55,17 +55,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSafe +MT-Level Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/vfwprintf.3c b/usr/src/man/man3c/vfwprintf.3c index b9dfd8cfa7..c25845ba92 100644 --- a/usr/src/man/man3c/vfwprintf.3c +++ b/usr/src/man/man3c/vfwprintf.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 1998, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 vfwprintf 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH VFWPRINTF 3C "Nov 1, 2003" .SH NAME vfwprintf, vswprintf, vwprintf \- wide-character formatted output of a stdarg argument list @@ -67,15 +67,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/vlfmt.3c b/usr/src/man/man3c/vlfmt.3c index cbf989f5d7..deaf24f6fa 100644 --- a/usr/src/man/man3c/vlfmt.3c +++ b/usr/src/man/man3c/vlfmt.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 vlfmt 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH VLFMT 3C "Dec 29, 1996" .SH NAME vlfmt \- display error message in standard format and pass to logging and monitoring services @@ -93,13 +93,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/vpfmt.3c b/usr/src/man/man3c/vpfmt.3c index feb8d7a916..18affbcff3 100644 --- a/usr/src/man/man3c/vpfmt.3c +++ b/usr/src/man/man3c/vpfmt.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 vpfmt 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH VPFMT 3C "Dec 29, 1996" .SH NAME vpfmt \- display error message in standard format and pass to logging and monitoring services @@ -92,13 +92,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/vprintf.3c b/usr/src/man/man3c/vprintf.3c index 7736c8786e..28ebcb7626 100644 --- a/usr/src/man/man3c/vprintf.3c +++ b/usr/src/man/man3c/vprintf.3c @@ -10,7 +10,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 vprintf 3C "7 Jan 2009" "SunOS 5.11" "Standard C Library Functions" +.TH VPRINTF 3C "Jan 7, 2009" .SH NAME vprintf, vfprintf, vsprintf, vsnprintf, vasprintf \- print formatted output of a variable argument list @@ -85,12 +85,10 @@ The \fBvprintf()\fR and \fBvfprintf()\fR functions will fail if either the and: .sp .ne 2 -.mk .na \fB\fBEFBIG\fR\fR .ad .RS 9n -.rt The file is a regular file and an attempt was made to write at or beyond the offset maximum. .RE @@ -135,17 +133,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelSee below. +MT-Level See below. _ -StandardSee below. +Standard See below. .TE .sp diff --git a/usr/src/man/man3c/vsyslog.3c b/usr/src/man/man3c/vsyslog.3c index e2149c4962..58b2c6e755 100644 --- a/usr/src/man/man3c/vsyslog.3c +++ b/usr/src/man/man3c/vsyslog.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 vsyslog 3C "30 Aug 2006" "SunOS 5.11" "Standard C Library Functions" +.TH VSYSLOG 3C "Aug 30, 2006" .SH NAME vsyslog \- log message with a stdarg argument list .SH SYNOPSIS @@ -34,7 +34,7 @@ error routine. .nf #include <syslog.h> #include <stdarg.h> - + /* * error should be called like: * error(pri, function_name, format, arg1, arg2...); @@ -69,13 +69,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wait.3c b/usr/src/man/man3c/wait.3c index 3c2f6522ec..e8539e2cd0 100644 --- a/usr/src/man/man3c/wait.3c +++ b/usr/src/man/man3c/wait.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved. Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wait 3C "9 Jun 2004" "SunOS 5.11" "Standard C Library Functions" +.TH WAIT 3C "Jun 9, 2004" .SH NAME wait \- wait for child process to stop or terminate .SH SYNOPSIS @@ -89,23 +89,19 @@ When \fBwait()\fR returns due to a terminated child process, the process The \fBwait()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBECHILD\fR\fR .ad .RS 10n -.rt The calling process has no existing unwaited-for child processes. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The function was interrupted by a signal. .RE @@ -124,15 +120,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wait3.3c b/usr/src/man/man3c/wait3.3c index bd724c6f60..e2ce6eeec0 100644 --- a/usr/src/man/man3c/wait3.3c +++ b/usr/src/man/man3c/wait3.3c @@ -1,6 +1,6 @@ '\" te .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright (c) 2005, Sun Microsystems, Inc. All Rights Reserved -.TH wait3 3C "4 Nov 2005" "SunOS 5.11" "Standard C Library Functions" +.TH WAIT3 3C "Nov 4, 2005" .SH NAME wait3, wait4 \- wait for process to terminate or stop .SH SYNOPSIS @@ -68,24 +68,20 @@ The \fIoptions\fR argument is constructed from the bitwise inclusive \fBOR\fR of zero or more of the following flags, defined in <\fBsys/wait.h\fR>: .sp .ne 2 -.mk .na \fB\fBWNOHANG\fR\fR .ad .RS 13n -.rt Execution of the calling process is not suspended if status is not immediately available for any child process. .RE .sp .ne 2 -.mk .na \fB\fBWUNTRACED\fR\fR .ad .RS 13n -.rt The status of any child processes that are stopped, and whose status has not yet been reported since they stopped, are also reported to the requesting process. @@ -142,46 +138,38 @@ The \fBwait3()\fR and \fBwait4()\fR functions will fail and return immediately if: .sp .ne 2 -.mk .na \fB\fBECHILD\fR\fR .ad .RS 10n -.rt The calling process has no existing unwaited-for child processes. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 10n -.rt The \fIstatusp\fR or \fIrusage\fR arguments point to an illegal address. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The function was interrupted by a signal. The value of the location pointed to by \fIstatusp\fR is undefined. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIoptions\fR is not valid. .RE @@ -190,12 +178,10 @@ The value of \fIoptions\fR is not valid. The \fBwait4()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBECHILD\fR\fR .ad .RS 10n -.rt The process specified by \fIpid\fR does not exist or is not a child of the calling process. .RE @@ -214,13 +200,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/waitpid.3c b/usr/src/man/man3c/waitpid.3c index cdd9d73506..eeb1bdfa4d 100644 --- a/usr/src/man/man3c/waitpid.3c +++ b/usr/src/man/man3c/waitpid.3c @@ -2,14 +2,14 @@ .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 waitpid 3C "7 Dec 2007" "SunOS 5.11" "Standard C Library Functions" +.TH WAITPID 3C "Dec 7, 2007" .SH NAME waitpid \- wait for child process to change state .SH SYNOPSIS @@ -91,12 +91,10 @@ The \fIoptions\fR argument is constructed from the bitwise-inclusive OR of zero or more of the following flags, defined in the header <\fBsys/wait.h\fR>: .sp .ne 2 -.mk .na \fB\fBWCONTINUED\fR\fR .ad .RS 14n -.rt The status of any continued child process specified by \fIpid\fR, whose status has not been reported since it continued, is also reported to the calling process. @@ -104,12 +102,10 @@ process. .sp .ne 2 -.mk .na \fB\fBWNOHANG\fR\fR .ad .RS 14n -.rt The \fBwaitpid()\fR function will not suspend execution of the calling process if status is not immediately available for one of the child processes specified by \fIpid\fR. @@ -117,24 +113,20 @@ by \fIpid\fR. .sp .ne 2 -.mk .na \fB\fBWNOWAIT\fR\fR .ad .RS 14n -.rt Keep the process whose status is returned in \fIstat_loc\fR in a waitable state. The process may be waited for again with identical results. .RE .sp .ne 2 -.mk .na \fB\fBWUNTRACED\fR\fR .ad .RS 14n -.rt The status of any child processes specified by \fIpid\fR that are stopped, and whose status has not yet been reported since they stopped, is also reported to the calling process. \fBWSTOPPED\fR is a synonym for \fBWUNTRACED\fR. @@ -158,12 +150,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBwaitpid()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBECHILD\fR\fR .ad .RS 10n -.rt The process or process group specified by \fIpid\fR does not exist or is not a child of the calling process or can never be in the states specified by \fIoptions\fR. @@ -171,24 +161,20 @@ child of the calling process or can never be in the states specified by .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 10n -.rt The \fBwaitpid()\fR function was interrupted due to the receipt of a signal sent by the calling process. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt An invalid value was specified for \fIoptions.\fR .RE @@ -206,17 +192,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/walkcontext.3c b/usr/src/man/man3c/walkcontext.3c index 2e1632afb7..8efe331033 100644 --- a/usr/src/man/man3c/walkcontext.3c +++ b/usr/src/man/man3c/walkcontext.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 walkcontext 3C "10 Apr 2007" "SunOS 5.11" "Standard C Library Functions" +.TH WALKCONTEXT 3C "Apr 10, 2007" .SH NAME walkcontext, addrtosymstr, printstack, backtrace, backtrace_symbols, backtrace_symbols_fd \- walk stack pointed to by ucontext @@ -219,15 +219,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStable +Interface Stability Stable _ -MT-LevelSee below. +MT-Level See below. .TE .sp diff --git a/usr/src/man/man3c/wcrtomb.3c b/usr/src/man/man3c/wcrtomb.3c index 34c99702f7..da302b25d1 100644 --- a/usr/src/man/man3c/wcrtomb.3c +++ b/usr/src/man/man3c/wcrtomb.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcrtomb 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCRTOMB 3C "Nov 1, 2003" .SH NAME wcrtomb \- convert a wide-character code to a character (restartable) .SH SYNOPSIS @@ -65,24 +65,20 @@ the value of the macros \fBEILSEQ\fR in \fBerrno\fR and returns The \fBwcrtomb()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIps\fR argument points to an object that contains an invalid conversion state. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Invalid wide-character code is detected. .RE @@ -103,15 +99,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee NOTES below +MT-Level See NOTES below .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcscoll.3c b/usr/src/man/man3c/wcscoll.3c index b7929291a8..364ce08054 100644 --- a/usr/src/man/man3c/wcscoll.3c +++ b/usr/src/man/man3c/wcscoll.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcscoll 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCSCOLL 3C "Aug 14, 2002" .SH NAME wcscoll, wscoll \- wide character string comparison using collating information .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBint\fR \fBwcscoll\fR(\fBconst wchar_t *\fR\fIws1\fR, \fBconst wchar_t *\fR\fIws2\fR); .fi @@ -55,12 +55,10 @@ an error. The \fBwcscoll()\fR and \fBwscoll()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIws1\fR or \fIws2\fR arguments contain wide character codes outside the domain of the collating sequence. .RE @@ -78,17 +76,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface Stability\fBwcscoll()\fR is Standard +Interface Stability \fBwcscoll()\fR is Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/wcsftime.3c b/usr/src/man/man3c/wcsftime.3c index 542953bb3f..133de724ab 100644 --- a/usr/src/man/man3c/wcsftime.3c +++ b/usr/src/man/man3c/wcsftime.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcsftime 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSFTIME 3C "Nov 1, 2003" .SH NAME wcsftime \- convert date and time to wide character string .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> .fi .SS "XPG4 and SUS" @@ -88,17 +88,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcsrtombs.3c b/usr/src/man/man3c/wcsrtombs.3c index ef11d82242..053d27cb49 100644 --- a/usr/src/man/man3c/wcsrtombs.3c +++ b/usr/src/man/man3c/wcsrtombs.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcsrtombs 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSRTOMBS 3C "Nov 1, 2003" .SH NAME wcsrtombs \- convert a wide-character string to a character string (restartable) @@ -83,24 +83,20 @@ terminating null (if any). The \fBwcsrtombs()\fR function may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIps\fR argument points to an object that contains an invalid conversion state. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt A wide-character code does not correspond to a valid character. .RE @@ -121,15 +117,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelSee NOTES below +MT-Level See NOTES below .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcsstr.3c b/usr/src/man/man3c/wcsstr.3c index b7627f045b..93e64ebbe1 100644 --- a/usr/src/man/man3c/wcsstr.3c +++ b/usr/src/man/man3c/wcsstr.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcsstr 3C "14 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSSTR 3C "Nov 14, 2003" .SH NAME wcsstr \- find a wide-character substring .SH SYNOPSIS @@ -62,15 +62,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcstod.3c b/usr/src/man/man3c/wcstod.3c index 7f5d3ef01d..d200e85fe1 100644 --- a/usr/src/man/man3c/wcstod.3c +++ b/usr/src/man/man3c/wcstod.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcstod 3C "31 Mar 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSTOD 3C "Mar 31, 2003" .SH NAME wcstod, wcstof, wcstold, wstod, watof \- convert wide character string to floating-point number .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBdouble\fR \fBwcstod\fR(\fBconst wchar_t *restrict\fR \fInptr\fR, \fBwchar_t **restrict\fR \fIendptr\fR); @@ -200,12 +200,10 @@ underflow exception is raised, and \fBerrno\fR is set to \fBERANGE\fR. The \fBwcstod()\fR and \fBwstod()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned would cause overflow or underflow. .RE @@ -214,12 +212,10 @@ The value to be returned would cause overflow or underflow. The \fBwcstod()\fR and \fBwcstod()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -238,17 +234,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityT{ +Interface Stability T{ \fBwcstod()\fR, \fBwcstof()\fR, and \fBwcstold()\fR are Standard. T} _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcstoimax.3c b/usr/src/man/man3c/wcstoimax.3c index 9ff8c53a6b..e41a13ba51 100644 --- a/usr/src/man/man3c/wcstoimax.3c +++ b/usr/src/man/man3c/wcstoimax.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcstoimax 3C "1 Dec 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSTOIMAX 3C "Dec 1, 2003" .SH NAME wcstoimax, wcstoumax \- convert wide-character string to integer type .SH SYNOPSIS @@ -47,23 +47,19 @@ value), and \fBerrno\fR is set to \fBERANGE\fR. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. .RE @@ -72,12 +68,10 @@ The value to be returned is not representable. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -89,15 +83,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcstol.3c b/usr/src/man/man3c/wcstol.3c index ef364e5204..465692221f 100644 --- a/usr/src/man/man3c/wcstol.3c +++ b/usr/src/man/man3c/wcstol.3c @@ -1,20 +1,20 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcstol 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSTOL 3C "Nov 1, 2003" .SH NAME wcstol, wcstoll, wstol, watol, watoll, watoi \- convert wide character string to long integer .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBlong\fR \fBwcstol\fR(\fBconst wchar_t *restrict\fR \fInptr\fR, \fBwchar_t **restrict\fR \fIendptr\fR, \fBint\fR \fIbase\fR); @@ -28,7 +28,7 @@ to long integer .LP .nf -#include <widec.h> +#include <widec.h> \fBlong\fR \fBwstol\fR(\fBconst wchar_t *\fR\fInptr\fR, \fBwchar_t **\fR\fIendptr\fR, \fBint\fR \fIbase\fR); .fi @@ -161,23 +161,19 @@ representable values, {\fBLONG_MIN\fR}, {\fBLONG_MAX\fR}, {\fBLLONG_MIN\fR}, or These functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. .RE @@ -186,12 +182,10 @@ The value to be returned is not representable. These functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -203,15 +197,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface Stability\fBwcstol()\fR and \fBwcstoll()\fR are Standard. +Interface Stability \fBwcstol()\fR and \fBwcstoll()\fR are Standard. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcstoul.3c b/usr/src/man/man3c/wcstoul.3c index a03ec17f8d..f1b8c30f99 100644 --- a/usr/src/man/man3c/wcstoul.3c +++ b/usr/src/man/man3c/wcstoul.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcstoul 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSTOUL 3C "Nov 1, 2003" .SH NAME wcstoul, wcstoull \- convert wide-character string to unsigned long .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBunsigned long\fR \fBwcstoul\fR(\fBconst wchar_t *restrict\fR \fInptr\fR, \fBwchar_t **restrict\fR \fIendptr\fR, \fBint\fR \fIbase\fR); @@ -129,23 +129,19 @@ is outside the range of representable values, {\fBULONG_MAX\fR} or The \fBwcstoul()\fR and \fBwcstoull()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The value of \fIbase\fR is not supported. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt The value to be returned is not representable. .RE @@ -154,12 +150,10 @@ The value to be returned is not representable. The \fBwcstoul()\fR and \fBwcstoull()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt No conversion could be performed. .RE @@ -179,15 +173,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcstring.3c b/usr/src/man/man3c/wcstring.3c index 480768bac7..72a3098f9b 100644 --- a/usr/src/man/man3c/wcstring.3c +++ b/usr/src/man/man3c/wcstring.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcstring 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCSTRING 3C "Aug 14, 2002" .SH NAME wcstring, wcscat, wscat, wcsncat, wsncat, wcscmp, wscmp, wcsncmp, wsncmp, wcscpy, wscpy, wcsncpy, wsncpy, wcslen, wslen, wcschr, wschr, wcsrchr, wsrchr, @@ -16,7 +16,7 @@ wcstok, wstok \- wide-character string operations .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBwchar_t *\fR\fBwcscat\fR(\fBwchar_t *\fR\fIws1\fR, \fBconst wchar_t *\fR\fIws2\fR); .fi @@ -97,7 +97,7 @@ wcstok, wstok \- wide-character string operations .LP .nf -#include <widec.h> +#include <widec.h> \fBwchar_t *\fR\fBwscat\fR(\fBwchar_t *\fR\fIws1\fR, \fBconst wchar_t *\fR\fIws2\fR); .fi @@ -403,17 +403,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilitySee NOTES. +Interface Stability See NOTES. _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcswidth.3c b/usr/src/man/man3c/wcswidth.3c index 01cf902139..0a3b7d1d08 100644 --- a/usr/src/man/man3c/wcswidth.3c +++ b/usr/src/man/man3c/wcswidth.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcswidth 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCSWIDTH 3C "Aug 14, 2002" .SH NAME wcswidth \- number of column positions of a wide-character string .SH SYNOPSIS @@ -47,17 +47,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcsxfrm.3c b/usr/src/man/man3c/wcsxfrm.3c index 33a62d09dd..021926f1a4 100644 --- a/usr/src/man/man3c/wcsxfrm.3c +++ b/usr/src/man/man3c/wcsxfrm.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcsxfrm 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WCSXFRM 3C "Nov 1, 2003" .SH NAME wcsxfrm, wsxfrm \- wide character string transformation .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBsize_t\fR \fBwcsxfrm\fR(\fBwchar_t *\fR\fIws1\fR, \fBconst wchar_t *\fR\fIws2\fR, \fBsize_t\fR \fIn\fR); .fi @@ -64,12 +64,10 @@ value is reserved to indicate an error. The \fBwcsxfrm()\fR and \fBwsxfrm()\fR functions may fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The wide character string pointed to by \fIws2\fR contains wide-character codes outside the domain of the collating sequence. .RE @@ -94,17 +92,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +l | l +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface Stability\fBwcsxfrm()\fR is Standard +Interface Stability \fBwcsxfrm()\fR is Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .sp diff --git a/usr/src/man/man3c/wctob.3c b/usr/src/man/man3c/wctob.3c index d445d8e512..4d004097d2 100644 --- a/usr/src/man/man3c/wctob.3c +++ b/usr/src/man/man3c/wctob.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wctob 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCTOB 3C "Aug 14, 2002" .SH NAME wctob \- wide-character to single-byte conversion .SH SYNOPSIS @@ -47,15 +47,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wctomb.3c b/usr/src/man/man3c/wctomb.3c index aed022ce0d..813907e9f5 100644 --- a/usr/src/man/man3c/wctomb.3c +++ b/usr/src/man/man3c/wctomb.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wctomb 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCTOMB 3C "Aug 14, 2002" .SH NAME wctomb \- convert a wide-character code to a character .SH SYNOPSIS .LP .nf -#include <stdlib.h> +#include <stdlib.h> \fBint\fR \fBwctomb\fR(\fBchar *\fR\fIs\fR, \fBwchar_t\fR \fIwchar\fR); .fi @@ -59,17 +59,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wctype.3c b/usr/src/man/man3c/wctype.3c index e80056bbac..ef49f2b1d2 100644 --- a/usr/src/man/man3c/wctype.3c +++ b/usr/src/man/man3c/wctype.3c @@ -1,19 +1,19 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wctype 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCTYPE 3C "Aug 14, 2002" .SH NAME wctype \- define character class .SH SYNOPSIS .LP .nf -#include <wchar.h> +#include <wchar.h> \fBwctype_t\fR \fBwctype\fR(\fBconst char *\fR\fIcharclass\fR); .fi @@ -29,14 +29,12 @@ required. The following character class names are defined in all locales: .sp .TS -tab(); -lw(1.83i) lw(1.83i) lw(1.83i) -lw(1.83i) lw(1.83i) lw(1.83i) -. -alnumalphablank -cntrldigitgraph -lowerprintpunct -spaceupperxdigit +l l l +l l l . +alnum alpha blank +cntrl digit graph +lower print punct +space upper xdigit .TE .sp @@ -66,17 +64,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) |lw(2.75i) -lw(2.75i) |lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wcwidth.3c b/usr/src/man/man3c/wcwidth.3c index 5fa3084812..01dd8c59b6 100644 --- a/usr/src/man/man3c/wcwidth.3c +++ b/usr/src/man/man3c/wcwidth.3c @@ -1,14 +1,14 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wcwidth 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WCWIDTH 3C "Aug 14, 2002" .SH NAME wcwidth \- number of column positions of a wide-character code .SH SYNOPSIS @@ -45,17 +45,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe with exceptions +MT-Level MT-Safe with exceptions .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wmemchr.3c b/usr/src/man/man3c/wmemchr.3c index a6d2c9856e..7e64642ae5 100644 --- a/usr/src/man/man3c/wmemchr.3c +++ b/usr/src/man/man3c/wmemchr.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wmemchr 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WMEMCHR 3C "Aug 14, 2002" .SH NAME wmemchr \- find a wide-character in memory .SH SYNOPSIS @@ -62,15 +62,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wmemcmp.3c b/usr/src/man/man3c/wmemcmp.3c index 42c9f07dde..e34c92f29f 100644 --- a/usr/src/man/man3c/wmemcmp.3c +++ b/usr/src/man/man3c/wmemcmp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wmemcmp 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WMEMCMP 3C "Aug 14, 2002" .SH NAME wmemcmp \- compare wide-characters in memory .SH SYNOPSIS @@ -49,15 +49,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wmemcpy.3c b/usr/src/man/man3c/wmemcpy.3c index 4b777bc5cb..ed9373123d 100644 --- a/usr/src/man/man3c/wmemcpy.3c +++ b/usr/src/man/man3c/wmemcpy.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wmemcpy 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WMEMCPY 3C "Aug 14, 2002" .SH NAME wmemcpy \- copy wide-characters in memory .SH SYNOPSIS @@ -46,15 +46,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wmemmove.3c b/usr/src/man/man3c/wmemmove.3c index a998397b2a..a9b234ce8b 100644 --- a/usr/src/man/man3c/wmemmove.3c +++ b/usr/src/man/man3c/wmemmove.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wmemmove 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WMEMMOVE 3C "Aug 14, 2002" .SH NAME wmemmove \- copy wide-characters in memory with overlapping areas .SH SYNOPSIS @@ -53,15 +53,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wmemset.3c b/usr/src/man/man3c/wmemset.3c index 9e3505418c..738be96e58 100644 --- a/usr/src/man/man3c/wmemset.3c +++ b/usr/src/man/man3c/wmemset.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wmemset 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions" +.TH WMEMSET 3C "Aug 14, 2002" .SH NAME wmemset \- set wide-characters in memory .SH SYNOPSIS @@ -46,15 +46,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wordexp.3c b/usr/src/man/man3c/wordexp.3c index 8df5772228..ee5eff5b30 100644 --- a/usr/src/man/man3c/wordexp.3c +++ b/usr/src/man/man3c/wordexp.3c @@ -1,13 +1,13 @@ '\" te .\" Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. Portions Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved. -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" 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 wordexp 3C "1 Nov 2003" "SunOS 5.11" "Standard C Library Functions" +.TH WORDEXP 3C "Nov 1, 2003" .SH NAME wordexp, wordfree \- perform word expansions .SH SYNOPSIS @@ -60,34 +60,28 @@ The structure type \fBwordexp_t\fR is defined in the header <\fBwordexp.h\fR> and includes at least the following members: .sp .ne 2 -.mk .na \fB\fBsize_t we_wordc\fR\fR .ad .RS 19n -.rt Count of words matched by \fIwords\fR. .RE .sp .ne 2 -.mk .na \fB\fBchar **we_wordv\fR\fR .ad .RS 19n -.rt Pointer to list of expanded words. .RE .sp .ne 2 -.mk .na \fB\fBsize_t we_offs\fR\fR .ad .RS 19n -.rt Slots to reserve at the beginning of \fIpwordexp\(mi>\fR\fBwe_wordv\fR. .RE @@ -114,23 +108,19 @@ The value of \fIflags\fR is the bitwise inclusive \fBOR\fR of zero or more of the following constants, which are defined in \fB<wordexp.h>\fR: .sp .ne 2 -.mk .na \fB\fBWRDE_APPEND\fR\fR .ad .RS 16n -.rt Append words generated to the ones from a previous call to \fBwordexp()\fR. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_DOOFFS\fR\fR .ad .RS 16n -.rt Make use of \fIpwordexp\(mi>\fR\fBwe_offs.\fR If this flag is set, \fIpwordexp\(mi>\fR\fBwe_offs\fR is used to specify how many \fINULL\fR pointers to add to the beginning of \fIpwordexp\(mi>\fR\fBwe_wordv.\fR In other @@ -142,23 +132,19 @@ pointer. .sp .ne 2 -.mk .na \fB\fBWRDE_NOCMD\fR\fR .ad .RS 16n -.rt Fail if command substitution is requested. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_REUSE\fR\fR .ad .RS 16n -.rt The \fIpwordexp\fR argument was passed to a previous successful call to \fBwordexp()\fR, and has not been passed to \fBwordfree()\fR. The result will be the same as if the application had called \fBwordfree()\fR and then called @@ -167,23 +153,19 @@ be the same as if the application had called \fBwordfree()\fR and then called .sp .ne 2 -.mk .na \fB\fBWRDE_SHOWERR\fR\fR .ad .RS 16n -.rt Do not redirect \fBstderr\fR to \fB/dev/null\fR. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_UNDEF\fR\fR .ad .RS 16n -.rt Report error on an attempt to expand an undefined shell variable. .RE @@ -269,12 +251,10 @@ given \fIpwordexp\fR. The following constants are defined as error return values: .sp .ne 2 -.mk .na \fB\fBWRDE_BADCHAR\fR\fR .ad .RS 16n -.rt One of the unquoted characters: .sp \fBNEWLINE\fR \fB| & ; < > ( ) { }\fR @@ -284,46 +264,38 @@ appears in \fIwords\fR in an inappropriate context. .sp .ne 2 -.mk .na \fB\fBWRDE_BADVAL\fR\fR .ad .RS 16n -.rt Reference to undefined shell variable when \fBWRDE_UNDEF\fR is set in \fIflags\fR. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_CMDSUB\fR\fR .ad .RS 16n -.rt Command substitution requested when \fBWRDE_NOCMD\fR was set in flags. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_NOSPACE\fR\fR .ad .RS 16n -.rt Attempt to allocate memory failed. .RE .sp .ne 2 -.mk .na \fB\fBWRDE_SYNTAX\fR\fR .ad .RS 16n -.rt Shell syntax error, such as unbalanced parentheses or unterminated string. .RE @@ -367,15 +339,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wsprintf.3c b/usr/src/man/man3c/wsprintf.3c index a6d97b1f9c..98bd656715 100644 --- a/usr/src/man/man3c/wsprintf.3c +++ b/usr/src/man/man3c/wsprintf.3c @@ -3,13 +3,13 @@ .\" 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 wsprintf 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH WSPRINTF 3C "Dec 29, 1996" .SH NAME wsprintf \- formatted output conversion .SH SYNOPSIS .LP .nf -#include <stdio.h> +#include <stdio.h> #include <widec.h> \fBint\fR \fBwsprintf\fR(\fBwchar_t *\fR\fIs\fR, \fBconst char *\fR\fIformat\fR, \fB/*\fR \fIarg\fR */ ... );); @@ -41,12 +41,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wsscanf.3c b/usr/src/man/man3c/wsscanf.3c index 958af48ef4..84b7e096ad 100644 --- a/usr/src/man/man3c/wsscanf.3c +++ b/usr/src/man/man3c/wsscanf.3c @@ -3,13 +3,13 @@ .\" 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 wsscanf 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH WSSCANF 3C "Dec 29, 1996" .SH NAME wsscanf \- formatted input conversion .SH SYNOPSIS .LP .nf -#include<stdio.h> +#include<stdio.h> #include <widec.h> \fBint\fR \fBwsscanf\fR(\fBwchar_t *\fR\fIs\fR, \fBconst char *\fR\fIformat\fR, \fB/*\fR \fIpointer\fR */ ... ); @@ -44,12 +44,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3c/wstring.3c b/usr/src/man/man3c/wstring.3c index 61a7c4508c..6b5d10d074 100644 --- a/usr/src/man/man3c/wstring.3c +++ b/usr/src/man/man3c/wstring.3c @@ -3,13 +3,13 @@ .\" 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 wstring 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions" +.TH WSTRING 3C "Dec 29, 1996" .SH NAME wstring, wscasecmp, wsncasecmp, wsdup, wscol \- Process Code string operations .SH SYNOPSIS .LP .nf -#include <widec.h> +#include <widec.h> \fBint\fR \fBwscasecmp\fR(\fBconst wchar_t *\fR\fIs1\fR, \fBconst wchar_t *\fR\fIs2\fR); .fi @@ -67,12 +67,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -lw(2.75i) lw(2.75i) -lw(2.75i) lw(2.75i) -. -\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR -MT-LevelMT-Safe +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE +_ +MT-Level MT-Safe .TE .SH SEE ALSO |