xref: /freebsd-src/include/kenv.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1d786139cSMaxime Henrion /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3e58eb3c4SPedro F. Giffuni  *
4d786139cSMaxime Henrion  * Copyright (c) 2002 Maxime Henrion <mux@FreeBSD.org>
5d786139cSMaxime Henrion  * All rights reserved.
6d786139cSMaxime Henrion  *
7d786139cSMaxime Henrion  * Redistribution and use in source and binary forms, with or without
8d786139cSMaxime Henrion  * modification, are permitted provided that the following conditions
9d786139cSMaxime Henrion  * are met:
10d786139cSMaxime Henrion  * 1. Redistributions of source code must retain the above copyright
11d786139cSMaxime Henrion  *    notice, this list of conditions and the following disclaimer.
12d786139cSMaxime Henrion  * 2. Redistributions in binary form must reproduce the above copyright
13d786139cSMaxime Henrion  *    notice, this list of conditions and the following disclaimer in the
14d786139cSMaxime Henrion  *    documentation and/or other materials provided with the distribution.
15d786139cSMaxime Henrion  *
16d786139cSMaxime Henrion  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17d786139cSMaxime Henrion  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18d786139cSMaxime Henrion  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19d786139cSMaxime Henrion  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20d786139cSMaxime Henrion  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21d786139cSMaxime Henrion  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22d786139cSMaxime Henrion  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23d786139cSMaxime Henrion  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24d786139cSMaxime Henrion  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25d786139cSMaxime Henrion  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26d786139cSMaxime Henrion  * SUCH DAMAGE.
27d786139cSMaxime Henrion  */
28d786139cSMaxime Henrion 
29d786139cSMaxime Henrion #ifndef _KENV_H_
30d786139cSMaxime Henrion #define _KENV_H_
31d786139cSMaxime Henrion 
32d786139cSMaxime Henrion #include <sys/cdefs.h>
33d786139cSMaxime Henrion #include <sys/kenv.h>
34d786139cSMaxime Henrion 
35d786139cSMaxime Henrion __BEGIN_DECLS
3620d91f56SRuslan Ermilov int kenv(int, const char *, char *, int);
37d786139cSMaxime Henrion __END_DECLS
38d786139cSMaxime Henrion 
39d786139cSMaxime Henrion #endif /* !_KENV_H_ */
40