194936Smux/*-
294936Smux * Copyright (c) 2002 Maxime Henrion <mux@FreeBSD.org>
394936Smux * All rights reserved.
494936Smux *
594936Smux * Redistribution and use in source and binary forms, with or without
694936Smux * modification, are permitted provided that the following conditions
794936Smux * are met:
894936Smux * 1. Redistributions of source code must retain the above copyright
994936Smux *    notice, this list of conditions and the following disclaimer.
1094936Smux * 2. Redistributions in binary form must reproduce the above copyright
1194936Smux *    notice, this list of conditions and the following disclaimer in the
1294936Smux *    documentation and/or other materials provided with the distribution.
1394936Smux *
1494936Smux * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1594936Smux * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1694936Smux * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1794936Smux * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1894936Smux * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1994936Smux * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2094936Smux * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2194936Smux * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2294936Smux * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2394936Smux * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2494936Smux * SUCH DAMAGE.
2594936Smux *
2694936Smux * $FreeBSD$
2794936Smux */
2894936Smux
2994936Smux#ifndef _SYS_KENV_H_
3094936Smux#define _SYS_KENV_H_
3194936Smux
3294936Smux/*
3394936Smux * Constants for the kenv(2) syscall
3494936Smux */
3594936Smux#define KENV_GET	0
3694936Smux#define KENV_SET	1
3794936Smux#define KENV_UNSET	2
3894936Smux#define KENV_DUMP	3
3994936Smux
4094936Smux#define KENV_MNAMELEN	128	/* Maximum name length (for the syscall) */
4194936Smux#define KENV_MVALLEN	128	/* Maximum value length (for the syscall) */
4294936Smux
4394936Smux#endif /* !_SYS_KENV_H_ */
44