The NetBSD Project

CVS log for src/include/time.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.46.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:51 2016 UTC (2 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.46: +9 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 4 09:41:41 2016 UTC (2 years, 5 months ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.46: +9 -2 lines
Diff to previous 1.46 (colored)

Add timespec_get(3) in <time.h> and enable unconditionally struct timespec

These changes conforms to the C11 standard
References:
 - 7.27.1/3 Components of time (struct timespec)
 - 7.27.2.5 The timespec_get function

According to ISO/IEC 9899:201x (draft) <time.h> defines the timespec
structure and declares the timespec_get(3) function with TIME_UTC
definition.

According to a C++17 standard draft <ctime> offers the same interface in
the std:: namespace.

The timespec_get function modifies the timespec object pointed by ts
to hold the current calendar time in the given base. The standard notes
only the TIME_UTC base with implementation defined value, set it to 1
as zero is reserved for error handling. Once operation was successful this
function returns passed base, otherwise exits with zero.

The timespec struct was already part of the POSIX standard in <time.h>.

Enable this interface unconditionally in the header to allow to use it
in a code prior C11 and C++17 as an extension.

Review notes from <christos>

Revision 1.46 / (download) - annotate - [select for diffs], Sat Apr 23 23:10:10 2016 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.45: +7 -1 lines
Diff to previous 1.45 (colored)

add clock_cpugetclockid{2,}

Revision 1.45 / (download) - annotate - [select for diffs], Thu Oct 29 17:48:55 2015 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

add tzgetgmtoff

Revision 1.44 / (download) - annotate - [select for diffs], Tue Oct 7 21:50:36 2014 UTC (4 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.43: +14 -11 lines
Diff to previous 1.43 (colored)

sync function signatures with tzcode

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (4 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.40.6.1: +16 -1 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.40.12.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (5 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.40.12.1: +16 -1 lines
Diff to previous 1.40.12.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

resync from head

Revision 1.43 / (download) - annotate - [select for diffs], Sun Apr 21 17:54:56 2013 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.42: +14 -14 lines
Diff to previous 1.42 (colored)

strftime_l is part of POSIX2008.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 21 17:45:46 2013 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.41: +16 -1 lines
Diff to previous 1.41 (colored)

Store time-specific locale data directly in the locale.
Ad dstrftime_l, strftime_lz and strptime_l.

Revision 1.40.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:40 2012 UTC (6 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:33 2012 UTC (6 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Tue Oct 2 01:42:06 2012 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

add clock_nanosleep

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 16 18:36:47 2010 UTC (8 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.39: +22 -4 lines
Diff to previous 1.39 (colored)

Provide a re-entrant and thread-safe set of timezone API's that
don't require locking and can operate on user-specified timezones
as opposed to having to alter the environment to change a timezone.
This work was presented to the tzcode folks and it was generally
accepted, but there seems to be a lot of inertia.

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 14 02:37:36 2009 UTC (9 years, 10 months ago) by ginsbach
Branch: MAIN
CVS Tags: uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Changes since 1.38: +7 -1 lines
Diff to previous 1.38 (colored)

Add the getdate(3) function and getdate_err value, conforming to IEEE
Std 1003.1 (``POSIX.1'') and the Open Group Base Specifications X/Open
System Interfaces extension (``XSI'').

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 11 03:04:12 2009 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.37: +43 -25 lines
Diff to previous 1.37 (colored)

merge christos-time_t

Revision 1.37.6.4 / (download) - annotate - [select for diffs], Mon Nov 10 02:18:29 2008 UTC (10 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.37.6.3: +7 -3 lines
Diff to previous 1.37.6.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

version tzset{,wall}

Revision 1.37.6.3 / (download) - annotate - [select for diffs], Sat Nov 8 22:12:36 2008 UTC (10 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.37.6.2: +1 -2 lines
Diff to previous 1.37.6.2 (colored) to branchpoint 1.37 (colored)

delete redundant declaration of time()

Revision 1.37.6.2 / (download) - annotate - [select for diffs], Sat Nov 8 21:13:13 2008 UTC (10 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.37.6.1: +183 -0 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored)

changes for 64 bit time_t

Revision 1.37.6.1, Sun Sep 21 16:59:46 2008 UTC (10 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.37: +0 -168 lines
FILE REMOVED

file time.h was added on branch christos-time_t on 2008-11-08 21:13:13 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Sun Sep 21 16:59:46 2008 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

add missing attributes to the remaining calls, even the ones that gcc has
builtin attributes for (for symmetry and consistency). In the future this
might change to use compiler-neutral macros. On the other hand I don't
know of any other compiler that provides other macros with similar
functionality, so why bother?

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 1 19:23:28 2008 UTC (10 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

everyone else assumes that defining "_XOPEN_SOURCE" means XPG4.2,
so remove comparisions against the numerical values "3" or "4"

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 13 01:44:32 2005 UTC (13 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.34: +3 -11 lines
Diff to previous 1.34 (colored)

compat code reorg

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (14 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.33: +38 -38 lines
Diff to previous 1.33 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 21 23:19:02 2003 UTC (15 years, 3 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

Do a little const cleanup, for consistency with std interfaces.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 13 22:31:04 2003 UTC (15 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored)

Sprinkle restrict into timer_{create,settime}(2).

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 7 09:44:11 2003 UTC (15 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.30: +2 -6 lines
Diff to previous 1.30 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:15 2003 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.29: +11 -12 lines
Diff to previous 1.29 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Thu Aug 1 03:31:28 2002 UTC (16 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.25.2.1: +16 -3 lines
Diff to previous 1.25.2.1 (colored) next main 1.26 (colored)

Catch up to -current.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 30 09:45:39 2002 UTC (16 years, 8 months ago) by bjh21
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.28: +9 -3 lines
Diff to previous 1.28 (colored)

Version times() so that programs compiled before the recent change to make
sysconf(_SC_CLK_TCK) return hz will work.

In detail:
__times13() returns values scaled by hz.
times() returns values scaled by 100.
<sys/times.h> renames times() to __times13().

_SC_CLK_TCK has changed from 3 to 39.
sysconf(3) returns 100.
sysconf(39) returns hz.
CLK_TCK is defined as sysconf(39).

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 23 19:41:04 2002 UTC (16 years, 9 months ago) by perry
Branch: MAIN
Changes since 1.27: +10 -3 lines
Diff to previous 1.27 (colored)

In the manner of Solaris and other OSes, we now define CLK_TCK to
expand to a call to __sysconf(_SC_CLK_TCK), rather than hard coding it
as a constant.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Apr 8 20:31:41 2001 UTC (17 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.25: +14 -6 lines
Diff to previous 1.25 (colored)

Merge trunk onto branch.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 31 18:29:20 2001 UTC (17 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.26: +7 -1 lines
Diff to previous 1.26 (colored)

Finally deprecate the old timezone() interface in favor of an XSH5
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 29 19:06:39 2001 UTC (17 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.25: +8 -6 lines
Diff to previous 1.25 (colored)

Sprinkle some restrict.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Tue Jul 18 00:14:30 2000 UTC (18 years, 8 months ago) by hubertf
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up rev. 1.25 into 1.5 branch, OK'd by thorpej:

Fix typo in comment: CUT -> UTC

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 6 12:46:48 2000 UTC (18 years, 8 months ago) by hubertf
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Fix typo in comment: CUT -> UTC

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 10 16:58:38 2000 UTC (19 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due to
std C headers including it, and a kernel module written in C++ would benfit
as well.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 22 21:26:20 1999 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.22: +2 -4 lines
Diff to previous 1.22 (colored)

For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Sep 28 00:06:46 1998 UTC (20 years, 6 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

pull up rev 1.22 (remove gtime declaration) from trunk (kleink).

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 15 12:24:28 1998 UTC (20 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Remove the public declaration of gtime(), which is shipped with tzcode but is
not compiled into our libc since it is intended for use with Mach only.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Sep 10 18:37:28 1998 UTC (20 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.20: +34 -17 lines
Diff to previous 1.20 (colored)

Declare asctime_r(), ctime_r(), gmtime_r() and localtime_r(), and rearrange
name space protection a bit.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 27 11:09:19 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored)

Slight rearrangement.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 27 11:08:38 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Need cdefs.h.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 27 09:09:27 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Make many of the new consts dependent on a new `__AUDIT__' flag, to avoid
breaking third party software.  *sigh*

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 26 12:58:15 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

const poisoning.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 26 12:55:17 1998 UTC (20 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

const poisoning.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 2 21:08:05 1998 UTC (21 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.14: +6 -5 lines
Diff to previous 1.14 (colored)

merge lite-2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:23:18 1998 UTC (21 years, 1 month ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +104 -1 lines
Diff to previous 1.1.1.1 (colored)

import lite-2

Revision 1.14 / (download) - annotate - [select for diffs], Sun Nov 2 18:31:38 1997 UTC (21 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

* Move prototypes of clock_getres(), clock_gettime() and clock_settime() from
  <sys/time.h> to this file.
* Update range comment wrt. the tm_sec member of struct tm to [0-61] (double
  leap seconds are supported).

Revision 1.13 / (download) - annotate - [select for diffs], Sat Oct 4 15:00:42 1997 UTC (21 years, 5 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.12: +7 -1 lines
Diff to previous 1.12 (colored)

Per 1003.1b-93, move nanosleep() prototype from <sys/time.h> to <time.h>
and add appropriate namespace protection.  Also protect timer_*() prototypes.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 13 18:32:18 1997 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.11: +11 -1 lines
Diff to previous 1.11 (colored)

Add typedefs for clockid_t and timer_t

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 13 18:09:51 1997 UTC (21 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.10: +17 -1 lines
Diff to previous 1.10 (colored)

- Added prototypes for non POSIX that are marked STD inspired:
    offtime, timelocal, timegm, timeoff, gtime, time2posix, posix2time.
- Added prototypes for the currently stubbed out timer functions:
    timer_{create,delete,getoverrun,gettime,settime}

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 26 16:03:58 1997 UTC (21 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Add strptime(3) prototype.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 26 00:56:35 1994 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

new RCS ID format.

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 21 09:42:41 1994 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

add _BSD's to ansi types

Revision 1.7 / (download) - annotate - [select for diffs], Mon May 16 10:59:01 1994 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +108 -1 lines
Diff to previous 1.6 (colored)

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those.  Kill varargs.h, because it can simply
be a link to the machine-dependent version.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 20 02:54:36 1994 UTC (25 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

Declare tzname[] extern, so compiler won't include it in object files.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 11 18:45:05 1993 UTC (25 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

declare char *tzname[2];

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 18 01:02:58 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

As per Chris Torek's suggestion, define CLOCKS_PER_SEC and CLK_TCK to 100.
When we get sysconf, we can define them in terms of the kernel's notion of
interrupts per second if we so choose.  Until then, the constant value
seems to satisfy the requirements presented by ISO C and POSIX, even if it
may lie about the true number of clocks per second.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 17 20:33:56 1993 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Define CLOCKS_PER_SEC.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:45:12 1993 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (26 years ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>