# another product.
# Provides the Clock utility class to keep time of real time flow
-module realtime
+module realtime is c_linker_option("-lrt")
in "C header" `{
#ifdef _POSIX_C_SOURCE
#include <time.h>
`}
-extern Timespec `{struct timespec*`}
+extern class Timespec `{struct timespec*`}
new ( s, ns : Int ) `{
struct timespec* tv = malloc( sizeof(struct timespec) );
tv->tv_sec = s; tv->tv_nsec = ns;