Back to index

glibc  2.9
libc-internal.h
Go to the documentation of this file.
00001 /* This file contains a number of internal prototype declarations that
00002    don't fit anywhere else.  */
00003 
00004 #ifndef _LIBC_INTERNAL
00005 # define _LIBC_INTERNAL 1
00006 
00007 #include <hp-timing.h>
00008 
00009 /* Initialize the `__libc_enable_secure' flag.  */
00010 extern void __libc_init_secure (void);
00011 
00012 /* This function will be called from _init in init-first.c.  */
00013 extern void __libc_global_ctors (void);
00014 
00015 /* Discover the tick frequency of the machine if something goes wrong,
00016    we return 0, an impossible hertz.  */
00017 extern int __profile_frequency (void);
00018 libc_hidden_proto (__profile_frequency)
00019 
00020 /* Hooks for the instrumenting functions.  */
00021 extern void __cyg_profile_func_enter (void *this_fn, void *call_site);
00022 extern void __cyg_profile_func_exit (void *this_fn, void *call_site);
00023 
00024 /* Get frequency of the system processor.  */
00025 extern hp_timing_t __get_clockfreq (void);
00026 
00027 /* Free all allocated resources.  */
00028 extern void __libc_freeres (void);
00029 libc_hidden_proto (__libc_freeres)
00030 
00031 /* Free resources stored in thread-local variables on thread exit.  */
00032 extern void __libc_thread_freeres (void);
00033 
00034 /* Define and initialize `__progname' et. al.  */
00035 extern void __init_misc (int, char **, char **);
00036 
00037 #endif /* _LIBC_INTERNAL  */