File:  [MW Coherent from dump] / coherent / f / usr / include / ulimit.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#ifndef	__ULIMIT_H__
#define	__ULIMIT_H__

/*
 * Constants for the ulimit(2) system call. Note that this header is not part
 * of either the iBCS2 or SVR4 ABI specifications; however, the names of the
 * constants are taken from the SVR4 Programmer's Reference Manual, where this
 * header is described, and the numeric values taken from the SVR3
 * Programmer's Reference, which gives numeric codes for the operations.
 */

#include <common/ccompat.h>

enum {
	UL_GETFSIZE	= 1,	/*
				 * Get the regular file size limit of the
				 * process in 512-byte blocks.
				 */
	UL_SETFSIZE,		/*
				 * Set the regular file size limit of the
				 * process in 512-byte blocks.
				 */
	UL_GMEMLIM,		/*
				 * Get the maximum possible brk () value.
				 */
	UL_GDESLIM		/*
				 * Get the current value of the maximum
				 * number of open file per process.
				 */
};

__EXTERN_C_BEGIN__

long		ulimit		__PROTO ((int _cmd, ...));

__EXTERN_C_END__

#endif	/* ! defined (__ULIMIT_H__) */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.