OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: getmicrouptime/microuptime undefined reference to `microuptime'

From: Adam PAPAI (woohwooh.hu)
Date: Sat Jul 29 2006 - 15:47:41 CDT


Adam PAPAI wrote:
> Hi,
>
> I'm lookin for a solution on getting the system uptime via syscall.

Hm. It seems sysctl(3) could tell me the uptime.

#include <sys/param.h>
#include <sys/sysctl.h>

Thanks anyway :)

--
Adam PAPAI
D i g i t a l Influence
http://www.digitalinfluence.hu
E-mail: woohwooh.hu
Phone: +36 30 33-55-735 (Hungary)
Phone: +49 176-67264167 (Germany)