Provided by: libdrawtk-dev_2.0-2ubuntu1_amd64 bug

NAME

       dtk_addtime - timestamp adjustment function

SYNOPSIS

       #include <dtk_time.h>

       int dtk_addtime(struct dtk_timespec* ts, long sec, long nsec);

DESCRIPTION

       The  function  dtk_addtime() adjusts the time pointed by ts by adding sec seconds and nsec
       nanoseconds.

RETURN VALUE

       On success, the function returns 0, otherwise -1.

ERRORS

       dtk_addtime() will fail if:

       EINVAL The value in the nsec field was not in the range -999999999 to 999999999.

SEE ALSO

       dtk_nanosleep(3), dtk_gettime(3)