1 '\" te
2 .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
4 .\" http://www.opengroup.org/bookstore/.
5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
6 .\" This notice shall appear on any product containing this material.
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.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
9 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
10 .TH TIMEB.H 3HEAD "Sep 10, 2004"
11 .SH NAME
12 timeb.h, timeb \- additional definitions for date and time
13 .SH SYNOPSIS
14 .LP
15 .nf
16 #include <\fBsys/timeb.h\fR>
17 .fi
18
19 .SH DESCRIPTION
20 .sp
21 .LP
22 The <\fBsys/timeb.h\fR> header defines the \fBtimeb\fR structure, which
23 includes the following members:
24 .sp
25 .in +2
26 .nf
27 time_t time /* the seconds portion of the current time */
28 unsigned short millitm /* the milliseconds portion of the current time */
29 short timezone /* the local timezone in minutes west of Greenwich */
30 short dstflag /* TRUE if Daylight Savings Time is in effect */
31 .fi
32 .in -2
33
34 .sp
35 .LP
36 The \fBtime_t\fR type is defined as described in <\fBsys/types.h\fR>.
37 .SH ATTRIBUTES
38 .sp
39 .LP
40 See \fBattributes\fR(5) for descriptions of the following attributes:
41 .sp
42
43 .sp
44 .TS
45 box;
46 c | c
47 l | l .
48 ATTRIBUTE TYPE ATTRIBUTE VALUE
49 _
50 Interface Stability Standard
51 .TE
52
53 .SH SEE ALSO
54 .sp
55 .LP
56 \fBtime.h\fR(3HEAD), \fBtypes.h\fR(3HEAD), \fBattributes\fR(5),
57 \fBstandards\fR(5)
|
1 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
2 .\" Copyright (c) 2001, The IEEE and The Open Group. All Rights Reserved. Portions Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
4 .\" http://www.opengroup.org/bookstore/.
5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
6 .\" This notice shall appear on any product containing this material.
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.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
9 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
10 .Dd "Jul 20, 2014"
11 .Dt TIMEB.H 3HEAD
12 .Os
13 .Sh NAME
14 .Nm timeb.h, timeb
15 .Nd additional definitions for date and time
16 .Sh SYNOPSIS
17 .In sys/timeb.h
18 .Sh DESCRIPTION
19 The
20 .In sys/timeb.h
21 header defines the
22 .Ft timeb
23 structure, which includes the following members:
24 .Bl -column -offset indent "unsigned short" "timezone" "more"
25 .It Ft time_t Ft time ; seconds portion of current time
26 .It Ft unsigned short Ft millitm ; milliseconds portion of current time
27 .It Ft short Ft timezone ; local timezone in minutes west of Greenwich
28 .It Ft short Ft dstflag ; TRUE if Daylight Savings Time in effect
29 .El
30 .Lp
31 The
32 .Ft time_t
33 type is defined as described in
34 .In sys/types.h .
35 .Sh INTERFACE STABILITY
36 .Sy Obsolete Standard .
37 .Sh SEE ALSO
38 .Xr time.h 3HEAD ,
39 .Xr types.h 3HEAD ,
40 .Xr standards 5
41 .Sh STANDARDS
42 The
43 .In sys/timeb.h
44 header was introduced in
45 .St -xpg4.2 ,
46 and subsequently removed in
47 .St -p1003.1-2008 .
|