resource.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/_timeval.h>
#include <sys/_types.h>

Go to the source code of this file.


Data Structures

struct   rusage
struct   rlimit

Defines

#define  PRIO_MIN   -20
#define  PRIO_MAX   20
#define  PRIO_PROCESS   0
#define  PRIO_PGRP   1
#define  PRIO_USER   2
#define  RUSAGE_SELF   0
#define  RUSAGE_CHILDREN   -1
#define  ru_first   ru_ixrss
#define  ru_last   ru_nivcsw
#define  RLIMIT_CPU   0
#define  RLIMIT_FSIZE   1
#define  RLIMIT_DATA   2
#define  RLIMIT_STACK   3
#define  RLIMIT_CORE   4
#define  RLIMIT_RSS   5
#define  RLIMIT_MEMLOCK   6
#define  RLIMIT_NPROC   7
#define  RLIMIT_NOFILE   8
#define  RLIMIT_SBSIZE   9
#define  RLIMIT_VMEM   10
#define  RLIMIT_AS   RLIMIT_VMEM
#define  RLIM_NLIMITS   11
#define  RLIM_INFINITY   ((rlim_t)(((uint64_t)1 << 63) - 1))

Typedefs

typedef __rlim_t  rlim_t

Functions

__BEGIN_DECLS IMPORT_C int  getpriority (int, int)
IMPORT_C int  setpriority (int, int, int)

Define Documentation

#define PRIO_MAX   20
 
#define PRIO_MIN   -20
 
#define PRIO_PGRP   1
 
#define PRIO_PROCESS   0
 
#define PRIO_USER   2
 
#define RLIM_INFINITY   ((rlim_t)(((uint64_t)1 << 63) - 1))
 
#define RLIM_NLIMITS   11
 
#define RLIMIT_AS   RLIMIT_VMEM
 
#define RLIMIT_CORE   4
 
#define RLIMIT_CPU   0
 
#define RLIMIT_DATA   2
 
#define RLIMIT_FSIZE   1
 
#define RLIMIT_MEMLOCK   6
 
#define RLIMIT_NOFILE   8
 
#define RLIMIT_NPROC   7
 
#define RLIMIT_RSS   5
 
#define RLIMIT_SBSIZE   9
 
#define RLIMIT_STACK   3
 
#define RLIMIT_VMEM   10
 
#define ru_first   ru_ixrss
 
#define ru_last   ru_nivcsw
 
#define RUSAGE_CHILDREN   -1
 
#define RUSAGE_SELF   0
 

Typedef Documentation

typedef __rlim_t rlim_t
 

Function Documentation

__BEGIN_DECLS IMPORT_C int getpriority int  ,
int 
 
IMPORT_C int setpriority int  ,
int  ,
int 
 

Copyright © Nokia Corporation 2001-2008
Back to top