I am trying to implement a C++ timer event function in linux starting from a corresponding Windows code.
My Windows code is below:
Header:
#include