summaryrefslogtreecommitdiff
path: root/usr/src/man/man2/ntp_gettime.2
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-06-29 11:57:08 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-06-29 11:57:08 +0000
commit7082e811fdedd165abf44baf5541a279e4645026 (patch)
treeb92197739ee1bad1c730942a3bf07579025aed35 /usr/src/man/man2/ntp_gettime.2
parentdbeef7f762c59b1461e27146a764182be5eab8cb (diff)
parent5ceaf02ccc1885ec3499b7d79f2a80ce1325b4d8 (diff)
downloadillumos-joyent-7082e811fdedd165abf44baf5541a279e4645026.tar.gz
[illumos-gate merge]
commit 5ceaf02ccc1885ec3499b7d79f2a80ce1325b4d8 8433 vmxnet3: warnings about not supported properties don't help anything commit f862e02cb8d597e430ef5067be483718a65c3370 7962 strxfrm() fails for certain characters commit 5206305f06cf80338a34e00287f3336069e1198b 1198 date formats contain spaces where not expected commit 5549034d757a8b1a23f3957d95e4e9e440c44ebf 8428 8367 breaks cmlb module install on sparc commit 73177167911de9eef96901d8f6d3cb6be7c67574 8309 libbsm should support AUE_sudo audit event commit b4203d757c7c247e39c94c09a94021a3a8121062 8228 cstyle: Remove space-tab sequences in /* All Rights Reserved */ commit bec2e3ffadac8d3536ea115d636d06c7b561623a 8212 manpages contain obsolete references 6019 sleep can't be infinite Conflicts: usr/src/man/man1m/zonecfg.1m usr/src/man/man1/mdb.1
Diffstat (limited to 'usr/src/man/man2/ntp_gettime.2')
-rw-r--r--usr/src/man/man2/ntp_gettime.210
1 files changed, 1 insertions, 9 deletions
diff --git a/usr/src/man/man2/ntp_gettime.2 b/usr/src/man/man2/ntp_gettime.2
index 1a0976163c..d3f886a197 100644
--- a/usr/src/man/man2/ntp_gettime.2
+++ b/usr/src/man/man2/ntp_gettime.2
@@ -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 NTP_GETTIME 2 "May 21, 2009"
+.TH NTP_GETTIME 2 "May 13, 2017"
.SH NAME
ntp_gettime \- get local clock values
.SH SYNOPSIS
@@ -16,7 +16,6 @@ ntp_gettime \- get local clock values
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBntp_gettime()\fR function reads the local clock value and dispersion,
returning the information in \fItptr\fR.
@@ -35,13 +34,11 @@ struct ntptimeval {
.in -2
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBntp_gettime()\fR returns the current clock state
(see <\fBsys/timex.h\fR>). Otherwise, it returns \fB\(mi1\fR and sets
\fBerrno\fR to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBntp_gettime()\fR function will fail if:
.sp
@@ -67,10 +64,5 @@ pointed to by \fItptr\fR is too small to contain the correct number of seconds.
.RE
.SH SEE ALSO
-.sp
.LP
\fBntp_adjtime\fR(2)
-.sp
-.LP
-See the \fBntpd\fR man page, delivered in the \fBSUNWntpu\fR package (not a
-SunOS man page).