Unit Linuxapi.Timerfd

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Functions and Procedures

function timerfd_create(clockid: Integer; flags: Integer): Integer; cdecl; external libc name _PU + 'timerfd_create';
function timerfd_settime(fd: Integer; flags: Integer; const new_value: Pitimerspec; old_value: Pitimerspec): Integer; cdecl; external libc name _PU + 'timerfd_settime';
function timerfd_gettime(fd: Integer; curr_value: Pitimerspec): Integer; cdecl; external libc name _PU + 'timerfd_gettime';

Constants

TFD_NONBLOCK = O_NONBLOCK;

Description

Functions and Procedures

function timerfd_create(clockid: Integer; flags: Integer): Integer; cdecl; external libc name _PU + 'timerfd_create';

creates a new timer object

function timerfd_settime(fd: Integer; flags: Integer; const new_value: Pitimerspec; old_value: Pitimerspec): Integer; cdecl; external libc name _PU + 'timerfd_settime';

starts or stops the timer

function timerfd_gettime(fd: Integer; curr_value: Pitimerspec): Integer; cdecl; external libc name _PU + 'timerfd_gettime';

returns the current setting of the timer

Constants

TFD_NONBLOCK = O_NONBLOCK;
 

Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26