MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / timerfd_settime

Function timerfd_settime

components/libc/posix/io/timerfd/timerfd.c:616–619  ·  view source on GitHub ↗

* @brief Sets the time for a timer file descriptor. * * The `timerfd_settime` function starts or modifies the timer associated * with the specified timer file descriptor. * * @param fd The file descriptor of the timer, obtained from * `timerfd_create`. * @param flags Flags that control the behavior of the timer. Possible * values include: *

Source from the content-addressed store, hash-verified

614 * @see timerfd_create, timerfd_gettime
615 */
616int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *old)
617{
618 return timerfd_do_settime(fd, flags, new, old);
619}
620
621/**
622 * @brief Retrieves the current value and interval of a timer.

Callers 1

sys_timerfd_settimeFunction · 0.85

Calls 1

timerfd_do_settimeFunction · 0.85

Tested by

no test coverage detected