/* AUTOMATICALLY GENERATED BY tspec 2.10 API SUBSET: unix95:sys/resource.h (VERSION 2.7) */ #ifndef __TDF_UNIX95_SYS_RESOURCE_H #define __TDF_UNIX95_SYS_RESOURCE_H #ifdef __cplusplus extern "C" { #endif #pragma TenDRA declaration block api__unix95__sys_resource begin #ifndef __TDF_UNIX95_SYS_TYPES_H_ID_T #pragma extend interface "../../shared/unix95.api/id_t.h" #endif /* __TDF_UNIX95_SYS_TYPES_H_ID_T */ #pragma token VARIETY unsigned rlim_t # unix95.resource.rlim_t #pragma token EXP const : int : PRIO_PROCESS # unix95.resource.PRIO_PROCESS #pragma token EXP const : int : PRIO_PGRP # unix95.resource.PRIO_PGRP #pragma token EXP const : int : PRIO_USER # unix95.resource.PRIO_USER #pragma token EXP const : rlim_t : RLIM_INFINITY # unix95.resource.RLIM_INFINITY #pragma token STRUCT TAG rlimit # unix95.resource.rlimit #pragma token MEMBER rlim_t : struct rlimit : rlim_cur # unix95.resource.rlimit.rlim_cur #pragma token MEMBER rlim_t : struct rlimit : rlim_max # unix95.resource.rlimit.rlim_max #ifndef __TDF_UNIX95_SYS_RESOURCE_H_RUSAGE #pragma extend interface "../../shared/unix95.api/rusage.h" #endif /* __TDF_UNIX95_SYS_RESOURCE_H_RUSAGE */ #pragma token EXP const : int : RLIMIT_CORE # unix95.resource.RLIMIT_CORE #pragma token EXP const : int : RLIMIT_CPU # unix95.resource.RLIMIT_CPU #pragma token EXP const : int : RLIMIT_DATA # unix95.resource.RLIMIT_DATA #pragma token EXP const : int : RLIMIT_FSIZE # unix95.resource.RLIMIT_FSIZE #pragma token EXP const : int : RLIMIT_NOFILE # unix95.resource.RLIMIT_NOFILE #pragma token EXP const : int : RLIMIT_STACK # unix95.resource.RLIMIT_STACK #pragma token EXP const : int : RLIMIT_AS # unix95.resource.RLIMIT_AS #pragma token EXP const : int : RUSAGE_SELF # unix95.resource.RUSAGE_SELF #pragma token EXP const : int : RUSAGE_CHILDREN # unix95.resource.RUSAGE_CHILDREN #pragma token FUNC int (int, id_t) : getpriority # unix95.resource.getpriority #pragma token FUNC int (int, struct rlimit *) : getrlimit # unix95.resource.getrlimit #pragma token FUNC int (int, struct rusage *) : getrusage # unix95.resource.getrusage #pragma token FUNC int (int, id_t, int) : setpriority # unix95.resource.setpriority #pragma token FUNC int (int, const struct rlimit *) : setrlimit # unix95.resource.setrlimit #pragma interface rlim_t PRIO_PROCESS PRIO_PGRP PRIO_USER RLIM_INFINITY #pragma interface TAG rlimit TAG rlimit.rlim_cur TAG rlimit.rlim_max #pragma interface RLIMIT_CORE RLIMIT_CPU RLIMIT_DATA RLIMIT_FSIZE #pragma interface RLIMIT_NOFILE RLIMIT_STACK RLIMIT_AS RUSAGE_SELF #pragma interface RUSAGE_CHILDREN getpriority getrlimit getrusage #pragma interface setpriority setrlimit #pragma TenDRA declaration block end #ifdef __cplusplus } #endif #endif /* __TDF_UNIX95_SYS_RESOURCE_H */