about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-01 08:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-01 08:10:10 +0000
commit25b3dd49a7140508ff17e705408edd80122a4add (patch)
treef55e4b1a272c4993a11c8b592716b1bf05585c71 /include
parentbc710b3b7a7c2d94377b023ad9fe46e25c7e3405 (diff)
downloadglibc-25b3dd49a7140508ff17e705408edd80122a4add.tar.gz
glibc-25b3dd49a7140508ff17e705408edd80122a4add.tar.xz
glibc-25b3dd49a7140508ff17e705408edd80122a4add.zip
Update.
	* elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize.
	* elf/dl-load.c: Define _dl_clktck.
	* elf/elf.h: Define AT_CLKTCK.
	* include/time.h: Declare __getclktck.
	* misc/Makefile (routines): Add getclktck.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK.
	(_dl_show_auxv): Show AT_CLKTCK value.
	* sysdeps/generic/getclktck.c: New file.
	* sysdeps/unix/sysv/linux/getclktck.c: New file.
	* sysdeps/unix/sysv/linux/alpha/getclktck.c: New file.
	* sysdeps/unix/sysv/linux/ia64/getclktck.c: New file.
	* sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK.
	* sysdeps/unix/sysv/linux/getpagesize.c: New file.
	* sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK.
	* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index e4b945c665..f81760e99c 100644
--- a/include/time.h
+++ b/include/time.h
@@ -64,5 +64,9 @@ extern long int __tzname_max (void);
 extern int __nanosleep (__const struct timespec *__requested_time,
 			struct timespec *__remaining);
 extern int __getdate_r (__const char *__string, struct tm *__resbufp);
+
+
+/* Determine CLK_TCK value.  */
+extern int __getclktck (void);
 #endif
 #endif