summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/gettimeofday.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/gettimeofday.3c')
-rw-r--r--usr/src/man/man3c/gettimeofday.3c21
1 files changed, 7 insertions, 14 deletions
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