clock_getres function
Get clock resolution.
Declaration
function clock_getres(clk_id: clockid_t; res: ptimespec): cintDescription
clock_getres returns the resolution of the clock specified in
clk_id in the
res structure. It can be
Nil.
if the clock exists and the resolution can be retrieved,
0 is
returned.Errors
On Error, -1 is returned.
fpgeterrno can be used to get more
detailed error information.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
