diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-06 03:41:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-06 03:41:00 +0200 |
commit | d17014d2718c4543bc8571f088c58fadceeabce5 (patch) | |
tree | 4afabd32050d886cfd560e913a77782354af2194 /src/cg-rainbow.c | |
parent | Add cg-rainbow (diff) | |
download | cg-tools-d17014d2718c4543bc8571f088c58fadceeabce5.tar.gz cg-tools-d17014d2718c4543bc8571f088c58fadceeabce5.tar.bz2 cg-tools-d17014d2718c4543bc8571f088c58fadceeabce5.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/cg-rainbow.c')
-rw-r--r-- | src/cg-rainbow.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |