Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "8.9 How come I need to explicitly specify -I/usr/include?"
Next document is "8.11 Why is syslog() call not doing what i want it to?"

8.10 Is there an equivalent for getrusage()?

>From the BSD porting tricks document (thanks, Mike):

#ifdef hpux
#include <sys/syscall.h>
#define getrusage(a, b)  syscall(SYS_GETRUSAGE, a, b)
#endif /* hpux */

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "8.9 How come I need to explicitly specify -I/usr/include?"
Next document is "8.11 Why is syslog() call not doing what i want it to?"