Bekijk de volledige versie : timer function in DD-WRT v23 SP2 std

23-09-2008, 08:03
The firmware is "DD-WRT v23 SP2 std (c) 2006 NewMedia-NET GmbH Release: 09/15/06 (SVN revision: 3932)". The version of VeryBusyBox is VeryBusyBox v1.2.1. I write a testing program to check if the ASUS WL-500gP supports timer_create function.

#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <time.h>

int main()
struct sigevent sigev;
timer_t timerid;

if (timer_create(CLOCK_REALTIME, &sigev, &timerid) != 0) {
perror("timer_create error:");


I get the message [timer_create error:: Function not implemented]. Can I say that the platform doesn't support timer_create function? If not, how could I add the timer_create function into the platform? If yes, Is there any substitute call I can use to create a timer? Any help would be appreciated.