* @brief Create a timer file descriptor. * * This function creates a timer that can be used to notify a process after a specified * amount of time has passed. The timer is represented by a file descriptor, which can be * used with functions such as `read` and `poll` to monitor and retrieve notifications * about timer expirations. * * @param[in] clockid The clock to use for the timer. Possib
| 10635 | * by reading from the returned file descriptor. |
| 10636 | */ |
| 10637 | sysret_t sys_timerfd_create(int clockid, int flags) |
| 10638 | { |
| 10639 | int ret; |
| 10640 | |
| 10641 | ret = timerfd_create(clockid, flags); |
| 10642 | |
| 10643 | return (ret < 0 ? GET_ERRNO() : ret); |
| 10644 | } |
| 10645 | |
| 10646 | /** |
| 10647 | * @brief Set or modify the expiration time for a timer. |
nothing calls this directly
no test coverage detected