Closed rumkeller closed 3 years ago
clock_gettime returns -1 to indicate an error. However, the return value appears to be ignored:
clock_gettime
-1
foreign import ccall unsafe clock_gettime :: #{type clockid_t} -> Ptr TimeSpec -> IO ()
This could be remedied by a call to throwErrnoIfMinus1_.
throwErrnoIfMinus1_
clock_gettime
returns-1
to indicate an error. However, the return value appears to be ignored:This could be remedied by a call to
throwErrnoIfMinus1_
.