ulimit.h revision 108637
1101497Smike/*-
2101497Smike * Copyright (c) 2002 Kyle Martin <mkm@ieee.org>
3101497Smike * All rights reserved.
4101497Smike *
5101497Smike * Redistribution and use in source and binary forms, with or without
6101497Smike * modification, are permitted provided that the following conditions
7101497Smike * are met:
8101497Smike * 1. Redistributions of source code must retain the above copyright
9101497Smike *    notice, this list of conditions and the following disclaimer.
10101497Smike * 2. Redistributions in binary form must reproduce the above copyright
11101497Smike *    notice, this list of conditions and the following disclaimer in the
12101497Smike *    documentation and/or other materials provided with the distribution.
13101497Smike *
14101497Smike * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15101497Smike * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16101497Smike * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17101497Smike * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18101497Smike * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19101497Smike * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20101497Smike * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21101497Smike * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22101497Smike * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23101497Smike * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24101497Smike * SUCH DAMAGE.
25101497Smike *
26101497Smike * $FreeBSD: head/include/ulimit.h 108637 2003-01-04 01:11:49Z tjr $
27101497Smike */
28101497Smike
29101497Smike#ifndef _ULIMIT_H_
30101497Smike#define	_ULIMIT_H_
31101497Smike
32108634Stjr#include <sys/cdefs.h>
33108634Stjr
34108637Stjr#define	UL_GETFSIZE	1
35108637Stjr#define	UL_SETFSIZE	2
36101497Smike
37108637Stjr#if __BSD_VISIBLE
38108637Stjr/*
39108637Stjr * The "F" was mistakenly omitted from the macro names in FreeBSD 5.0.
40108637Stjr * Do not use these names; they will be removed before 6.0.
41108637Stjr */
42108637Stjr#define	UL_GETSIZE	UL_GETFSIZE
43108637Stjr#define	UL_SETSIZE	UL_SETFSIZE
44108637Stjr#endif
45108637Stjr
46108634Stjr__BEGIN_DECLS
47101497Smikelong	ulimit(int, ...);
48108634Stjr__END_DECLS
49101497Smike
50101497Smike#endif /* !_ULIMIT_H_ */
51