* @brief Retrieves the current value and interval of a timer. * * The `timerfd_gettime` function queries the settings of the timer associated * with the specified timer file descriptor. * * @param fd The file descriptor of the timer, obtained from `timerfd_create`. * @param cur A pointer to a `itimerspec` structure where the current timer * settings will be stored: *
| 641 | * @see timerfd_create, timerfd_settime |
| 642 | */ |
| 643 | int timerfd_gettime(int fd, struct itimerspec *cur) |
| 644 | { |
| 645 | return timerfd_do_gettime(fd, cur); |
| 646 | } |
no test coverage detected