/* AUTOMATICALLY GENERATED BY tspec 2.10 API SUBSET: gcc:sys/resource.h (VERSION 2.6) */ #ifndef __TDF_GCC_SYS_RESOURCE_H #define __TDF_GCC_SYS_RESOURCE_H #ifdef __cplusplus extern "C" { #endif #pragma TenDRA declaration block api__gcc__sys_resource begin #ifndef __TDF_GCC_SYS_TIME_H #pragma extend interface "../../gcc.api/sys/time.h" #endif /* __TDF_GCC_SYS_TIME_H */ #pragma token VARIETY rlimit_t # gcc.resource.rlimit_t #pragma token STRUCT TAG rlimit # gcc.resource.rlimit #pragma token MEMBER rlimit_t : struct rlimit : rlim_cur # gcc.resource.rlimit.rlim_cur #pragma token MEMBER rlimit_t : struct rlimit : rlim_max # gcc.resource.rlimit.rlim_max #pragma token EXP const : rlimit_t : RLIM_INFINITY # gcc.resource.RLIM_INFINITY #pragma token EXP const : int : RLIMIT_CORE # gcc.resource.RLIMIT_CORE #pragma token EXP const : int : RLIMIT_CPU # gcc.resource.RLIMIT_CPU #pragma token EXP const : int : RLIMIT_DATA # gcc.resource.RLIMIT_DATA #pragma token EXP const : int : RLIMIT_FSIZE # gcc.resource.RLIMIT_FSIZE #pragma token EXP const : int : RLIMIT_STACK # gcc.resource.RLIMIT_STACK #pragma token FUNC int (int, struct rlimit *) : getrlimit # gcc.resource.getrlimit #pragma token FUNC int (int, const struct rlimit *) : setrlimit # gcc.resource.setrlimit #pragma interface rlimit_t TAG rlimit TAG rlimit.rlim_cur #pragma interface TAG rlimit.rlim_max RLIM_INFINITY RLIMIT_CORE RLIMIT_CPU #pragma interface RLIMIT_DATA RLIMIT_FSIZE RLIMIT_STACK getrlimit setrlimit #pragma TenDRA declaration block end #ifdef __cplusplus } #endif #endif /* __TDF_GCC_SYS_RESOURCE_H */