/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: svid3:sys/resource.h
*/

#ifndef __TDF_SVID3_SYS_RESOURCE_H
#define __TDF_SVID3_SYS_RESOURCE_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__svid3__sys_resource begin

#pragma token VARIETY rlimit_t # svid3.resource.rlimit_t
#pragma token STRUCT TAG rlimit # svid3.resource.rlimit
#pragma token MEMBER rlimit_t : struct rlimit : rlim_cur # svid3.resource.rlimit.rlim_cur
#pragma token MEMBER rlimit_t : struct rlimit : rlim_max # svid3.resource.rlimit.rlim_max
#pragma token EXP const : rlimit_t : RLIM_INFINITY # svid3.resource.RLIM_INFINITY
#pragma token EXP const : int : RLIMIT_CORE # svid3.resource.RLIMIT_CORE
#pragma token EXP const : int : RLIMIT_CPU # svid3.resource.RLIMIT_CPU
#pragma token EXP const : int : RLIMIT_DATA # svid3.resource.RLIMIT_DATA
#pragma token EXP const : int : RLIMIT_FSIZE # svid3.resource.RLIMIT_FSIZE
#pragma token EXP const : int : RLIMIT_NOFILE # svid3.resource.RLIMIT_NOFILE
#pragma token EXP const : int : RLIMIT_STACK # svid3.resource.RLIMIT_STACK
#pragma token EXP const : int : RLIMIT_AS # svid3.resource.RLIMIT_AS
#pragma token FUNC int (int, struct rlimit *) : getrlimit # svid3.resource.getrlimit
#pragma token FUNC int (int, const struct rlimit *) : setrlimit # svid3.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_NOFILE RLIMIT_STACK
#pragma interface RLIMIT_AS getrlimit setrlimit

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_SVID3_SYS_RESOURCE_H */
