diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/sysconf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/sysconf.c b/libbb/sysconf.c index c5fa5e0..4dbffbe 100644 --- a/libbb/sysconf.c +++ b/libbb/sysconf.c @@ -14,3 +14,9 @@ unsigned FAST_FUNC bb_arg_max(void) return sysconf(_SC_ARG_MAX); } #endif + +/* Return the number of clock ticks per second. */ +unsigned FAST_FUNC bb_clk_tck(void) +{ + return sysconf(_SC_CLK_TCK); +} |