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: releng/10.3/include/ulimit.h 108910 2003-01-08 01:18:13Z 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 37108634Stjr__BEGIN_DECLS 38101497Smikelong ulimit(int, ...); 39108634Stjr__END_DECLS 40101497Smike 41101497Smike#endif /* !_ULIMIT_H_ */ 42