Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   timerfd_settime    ( 2 )

таймеры, которые уведомляют через файловые дескрипторы (timers that notify via file descriptors)

  Name  |  Synopsis  |  Description  |    Return value    |  Error  |  Versions  |  Conforming to  |  Note  |  Bugs  |  Examples  |  See also  |

Возвращаемое значение (Return value)

On success, timerfd_create() returns a new file descriptor. On error, -1 is returned and errno is set to indicate the error.

timerfd_settime() and timerfd_gettime() return 0 on success; on error they return -1, and set errno to indicate the error.