History log of /netbsd-src/lib/libc/gen/times.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 461a86f9 11-Jan-2009 christos <christos@NetBSD.org>

merge christos-time_t


# 5b84b398 13-Sep-2005 christos <christos@NetBSD.org>

compat core reorg.


# c1ba727b 30-Jun-2002 bjh21 <bjh21@NetBSD.org>

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

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).

show more ...


# 25992495 23-Jun-2002 perry <perry@NetBSD.org>

Since CLK_TCK is now a macro expanding into a function call, cache its
output instead of using it willy nilly.


# 60549036 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# c0fa575e 30-Mar-1998 kleink <kleink@NetBSD.org>

Need <time.h> for CLK_TCK definition.


# 4146d586 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 43fa6fe3 21-Jul-1997 jtc <jtc@NetBSD.org>

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

show more ...


# 26cc2d4f 13-Jul-1997 christos <christos@NetBSD.org>

Fix RCSID's


# 9060ff0d 27-Feb-1995 cgd <cgd@NetBSD.org>

merge with 4.4-Lite, keeping local changes. clean up Ids


# 9c20f740 26-Aug-1993 jtc <jtc@NetBSD.org>

Declare rcsid strings so they are stored in text segment.


# f23f94cb 30-Jul-1993 mycroft <mycroft@NetBSD.org>

Add even more RCS frobs.


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources