resource.h, resource - definitions for resource operations
#include <sys/resource.h>
The <sys/resource.h> header defines the symbolic constants listed below as possible values of the which argument of getpriority() and setpriority(). See getpriority(3C).
PRIO_PROCESS
PRIO_PGRP
PRIO_USER
The following type is defined through typedef:
rlim_t
The following symbolic constants are defined:
RLIM_INFINITY
RLIM_SAVED_MAX
RLIM_SAVED_CUR
The symbolic constants listed below are defined as possible values of the who parameter of getrusage(). See getrusage(3C).
RUSAGE_SELF
RUSAGE_CHILDREN
The <sys/resource.h> header defines the rlimit structure, which includes the following members:
rlim_t rlim_cur /* the current (soft) limit */ rlim_t rlim_max /* the hard limit */
The <sys/resource.h> header defines the rusage structure, which includes the following members:
struct timeval ru_utime /* user time used */ struct timeval ru_stime /* system time used */
The timeval structure is defined as described in <sys/time.h>.
The symbolic constants listed below are defined as possible values for the resource argument of getrlimit() and setrlimit(). See getrlimit(2).
RLIMIT_CORE
RLIMIT_CPU
RLIMIT_DATA
RLIMIT_FSIZE
RLIMIT_NOFILE
RLIMIT_STACK
RLIMIT_AS
The id_t type is defined through typedef as described in <sys/types.h>. See types.h(3HEAD).
Inclusion of the <sys/resource.h> header can also make visible all symbols from <sys/time.h>. See time.h(3HEAD).
See attributes(5) for descriptions of the following attributes:
|
getrlimit(2), getpriority(3C), time.h(3HEAD), types.h(3HEAD), attributes(5), standards(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |