From d17014d2718c4543bc8571f088c58fadceeabce5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Aug 2016 03:41:00 +0200 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cg-rainbow.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cg-rainbow.c b/src/cg-rainbow.c index 93009f9..b60c860 100644 --- a/src/cg-rainbow.c +++ b/src/cg-rainbow.c @@ -199,6 +199,12 @@ LIST_DEPTHS } +/** + * Get the current monotonic time as a double + * + * @param now Output parameter for the current time (monotonic) + * @return Zero on success, -1 on error + */ static int double_time(double* restrict now) { #ifndef CLOCK_MONOTONIC_RAW -- cgit v1.2.3-70-g09d2