From 7140aef74e1eff5c1ce27ba84d251c05f9600d2b Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Sun, 18 Aug 2024 16:02:15 -0400 Subject: [PATCH] doc: note that timer_settime() comes from librt on some systems --- cpu/native/periph/timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/native/periph/timer.c b/cpu/native/periph/timer.c index ae3184dc08..7a80baa2e3 100644 --- a/cpu/native/periph/timer.c +++ b/cpu/native/periph/timer.c @@ -16,6 +16,8 @@ * @brief Native CPU periph/timer.h implementation * * Uses POSIX realtime clock and POSIX itimer to mimic hardware. + * This is done with the timer_settime(3), timer_create(3) interfaces, which are + * sometimes found only in the -lrt library, and not in glibc. * * This is based on native's hwtimer implementation by Ludwig Knüpfer. * I removed the multiplexing, as ztimer does the same. (kaspar)