Synesis Software

unixem/sys/resource.h File Reference


Detailed Description

Contains usage functions and types.

#include <unixem/sys/resource.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

struct  unixem_rusage
 Resource usage information structure. More...

Defines

#define RUSAGE_SELF   (UNIXEM_RUSAGE_SELF)
 Requests that rusage() provide information about the calling process.
#define RUSAGE_CHILDREN   (UNIXEM_RUSAGE_CHILDREN)
 Requests that rusage() provide information about child processes of the calling process.
#define rusage   unixem_rusage
 Results structure for getrusage().
#define UNIXEM_RUSAGE_SELF   (0)
 Requests that rusage() provide information about the calling process.
#define UNIXEM_RUSAGE_CHILDREN   (-1)
 Requests that rusage() provide information about child processes of the calling process.

Functions

int getrusage (int who, struct rusage *r_usage)
 Provide resource usage information.
int unixem_getrusage (int who, struct unixem_rusage *r_usage)
 Provide resource usage information.


UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2010