/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72X src/bos/usr/include/ulimit.h 1.16.1.3                           */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1985,2021              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)29       1.16.1.3  src/bos/usr/include/ulimit.h, sysproc, bos72X, x2021_25A9 6/4/21 03:15:57 */ 
/*
 * COMPONENT_NAME: SYSPROC 
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27 
 *
 * (C) COPYRIGHT International Business Machines Corp. 1985, 1993
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */

#ifndef _H_ULIMIT
#define _H_ULIMIT

#ifndef _H_STANDARDS
#include <standards.h>
#endif

#include <comp_macros.h>

#ifndef _H_TYPES
#include <sys/types.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif


#ifdef _XOPEN_SOURCE

#ifdef _NO_PROTO
extern long _NOTHROW(ulimit, ());

#else 

#ifndef _KERNEL
extern long _NOTHROW(ulimit, (int, ...));

#endif /* _KERNEL */
#endif /* _NO_PROTO */

#define UL_GETFSIZE	1	
#define UL_SETFSIZE	2


#endif /* _XOPEN_SOURCE */

#ifdef _ALL_SOURCE

#define GET_FSIZE	1
#define SET_FSIZE	2
#define GET_DATALIM	3
#define UL_GETMAXBRK	GET_DATALIM
#define SET_DATALIM	1004
#define GET_STACKLIM	1005
#define SET_STACKLIM	1006
#define GET_REALDIR	1007
#define SET_REALDIR	1008

#endif /* _ALL_SOURCE */

#ifdef _KERNEL
#if defined(__64BIT_KERNEL) || defined(__FULL_PROTO)
extern long 	_NOTHROW(ulimit, (int, ulong));
#endif /* __64BIT_KERNEL || __FULL_PROTO */
#endif /* _KERNEL */

#ifdef __cplusplus
}
#endif

#endif /* _H_ULIMIT */ 
