summaryrefslogtreecommitdiff
path: root/usr/src/man/man3head
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2016-03-28 19:43:25 -0700
committerRobert Mustacchi <rm@joyent.com>2016-05-19 07:45:52 -0700
commitfc2512cfb727d49529d8ed99164db871f4829b73 (patch)
tree89ea56b5a9833e92795bf45c723c6de65b7490f2 /usr/src/man/man3head
parentea4a67f462de0a39a9adea8197bcdef849de5371 (diff)
downloadillumos-joyent-fc2512cfb727d49529d8ed99164db871f4829b73.tar.gz
6951 Initial c11 support
6952 gets should not be visible in C11 6953 add support for c11 threads api 6954 Symbols test should support validating pre-processor symbols Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/man/man3head')
-rw-r--r--usr/src/man/man3head/assert.h.3head12
-rw-r--r--usr/src/man/man3head/stddef.h.3head18
-rw-r--r--usr/src/man/man3head/time.h.3head24
3 files changed, 38 insertions, 16 deletions
diff --git a/usr/src/man/man3head/assert.h.3head b/usr/src/man/man3head/assert.h.3head
index 864cb09e4f..3f8c8e68c6 100644
--- a/usr/src/man/man3head/assert.h.3head
+++ b/usr/src/man/man3head/assert.h.3head
@@ -1,4 +1,5 @@
'\" te
+.\" Copyright 2016 Joyent, Inc.
.\" Copyright (c) 2001, The IEEE 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
.\" http://www.opengroup.org/bookstore/.
@@ -7,7 +8,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.H 3HEAD "Sep 10, 2004"
+.TH ASSERT.H 3HEAD "Jan 14, 2015"
.SH NAME
assert.h, assert \- verify program assertion
.SH SYNOPSIS
@@ -17,7 +18,6 @@ assert.h, assert \- verify program assertion
.fi
.SH DESCRIPTION
-.sp
.LP
The <\fBassert.h\fR> header defines the \fBassert()\fR macro. It refers to the
macro \fBNDEBUG\fR which is not defined in the header. If \fBNDEBUG\fR is
@@ -42,9 +42,14 @@ The \fBassert()\fR macro is redefined according to the current state of
The \fBassert()\fR macro is implemented as a macro, not as a function. If the
macro definition is suppressed in order to access an actual function, the
behavior is undefined.
-.SH ATTRIBUTES
.sp
.LP
+The <\fBassert.h\fR> header also defines the \fBstatic_assert()\fR macro. This
+macros is similar to \fBassert()\fR; however, while \fBassert()\fR is used at
+program execution time, \fBstatic_assert()\fR is evaluated and checked by the
+compiler at compilation-time.
+.SH ATTRIBUTES
+.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -59,6 +64,5 @@ Interface Stability Standard
.TE
.SH SEE ALSO
-.sp
.LP
\fBassert\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)
diff --git a/usr/src/man/man3head/stddef.h.3head b/usr/src/man/man3head/stddef.h.3head
index 96d56558d3..a06493bf39 100644
--- a/usr/src/man/man3head/stddef.h.3head
+++ b/usr/src/man/man3head/stddef.h.3head
@@ -1,4 +1,5 @@
'\" te
+.\" Copyright 2016, Joyent, Inc.
.\" Copyright (c) 2001, The IEEE 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
.\" http://www.opengroup.org/bookstore/.
@@ -7,7 +8,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 STDDEF.H 3HEAD "Sep 10, 2004"
+.TH STDDEF.H 3HEAD "Jan 14, 2015"
.SH NAME
stddef.h, stddef \- standard type definitions
.SH SYNOPSIS
@@ -17,7 +18,6 @@ stddef.h, stddef \- standard type definitions
.fi
.SH DESCRIPTION
-.sp
.LP
The <\fBstddef.h\fR> header defines the following macros:
.sp
@@ -77,6 +77,18 @@ Unsigned integer type of the result of the \fBsizeof\fR operator.
.RE
.sp
+.ne 2
+.na
+.B max_align_t
+.ad
+.RS 13n
+A type that represents the maximum alignment supported by the platform.
+The type may or may not be an integer type, it may or may not be signed,
+no assumptions should be made, other than that it has the maximum
+fundamental alignment of the platform.
+.RE
+
+.sp
.LP
The implementation supports one or more programming environments in which the
widths of \fBptrdiff_t\fR, \fBsize_t\fR, and \fBwchar_t\fR are no greater than
@@ -84,7 +96,6 @@ the width of type \fBlong\fR. The names of these programming environments can
be obtained using the \fBconfstr\fR(3C) function or the \fBgetconf\fR(1)
utility.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -100,7 +111,6 @@ Interface Stability Standard
.TE
.SH SEE ALSO
-.sp
.LP
\fBgetconf\fR(1), \fBconfstr\fR(3C), \fBtypes.h\fR(3HEAD),
\fBwchar.h\fR(3HEAD), \fBattributes\fR(5), \fBstandards\fR(5)
diff --git a/usr/src/man/man3head/time.h.3head b/usr/src/man/man3head/time.h.3head
index b739369f1e..47c349e280 100644
--- a/usr/src/man/man3head/time.h.3head
+++ b/usr/src/man/man3head/time.h.3head
@@ -1,6 +1,7 @@
'\" te
.\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved.
.\" Portions Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
+.\" Copyright 2016 Joyent, 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
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
@@ -18,7 +19,6 @@ time.h, time \- time types
.fi
.SH DESCRIPTION
-.sp
.LP
The <\fBtime.h\fR> header declares the structure \fBtm\fR, which includes the
following members:
@@ -143,6 +143,16 @@ implementation-defined. See \fBclock_settime\fR(3C).
.RE
.sp
+.ne 2
+.na
+\fB\fBTIME_UTC\fR\fR
+.ad
+.RS 19n
+The identifier for the system-wide realtime clock with no time zone
+translation. Used in \fBtimespec_get\fR().
+.RE
+
+.sp
.LP
The \fBclock_t\fR, \fBsize_t\fR, \fBtime_t\fR, \fBclockid_t\fR, and
\fBtimer_t\fR types are defined as described in <\fBsys/types.h\fR>. See
@@ -172,7 +182,6 @@ extern char *tzname[];
Inclusion of the <\fBtime.h\fR> header can make visible all symbols from the
<\fBsignal.h\fR> header.
.SH USAGE
-.sp
.LP
The range [0,60] for \fBtm_sec\fR allows for the occasional leap second.
.sp
@@ -185,7 +194,6 @@ To obtain the number of clock ticks per second returned by the \fBtimes()\fR
function, applications should call \fBsysconf(_SC_CLK_TCK)\fR. See
\fBtimes\fR(2) and \fBsysconf\fR(3C).
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -203,10 +211,10 @@ Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO
-.sp
.LP
\fBtime\fR(2), \fButime\fR(2), \fBclock\fR(3C), \fBctime\fR(3C),
-\fBdifftime\fR(3C), \fBgetdate\fR(3C), \fBmktime\fR(3C), \fBstrftime\fR(3C),
-\fBstrptime\fR(3C), \fBtypes.h\fR(3HEAD), \fBclock_settime\fR(3C),
-\fBnanosleep\fR(3C), \fBtimer_create\fR(3C), \fBtimer_delete\fR(3C),
-\fBtimer_settime\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)
+\fBdifftime\fR(3C), \fBgetdate\fR(3C), \fBmktime\fR(3C),
+\fBstrftime\fR(3C), \fBstrptime\fR(3C), \fBtypes.h\fR(3HEAD),
+\fBclock_settime\fR(3C), \fBnanosleep\fR(3C), \fBtimer_create\fR(3C),
+\fBtimer_delete\fR(3C), \fBtimer_settime\fR(3C), \fBtimespec_get\fR(3C),
+\fBattributes\fR(5), \fBstandards\fR(5)