Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/kenv.h
Show All 28 Lines | |||||
*/ | */ | ||||
#ifndef _SYS_KENV_H_ | #ifndef _SYS_KENV_H_ | ||||
#define _SYS_KENV_H_ | #define _SYS_KENV_H_ | ||||
/* | /* | ||||
* Constants for the kenv(2) syscall | * Constants for the kenv(2) syscall | ||||
*/ | */ | ||||
#define KENV_GET 0 | #define KENV_GET 0 | ||||
#define KENV_SET 1 | #define KENV_SET 1 | ||||
#define KENV_UNSET 2 | #define KENV_UNSET 2 | ||||
#define KENV_DUMP 3 | #define KENV_DUMP 3 | ||||
#define KENV_DUMP_LOADER 4 | |||||
#define KENV_DUMP_STATIC 5 | |||||
#define KENV_MNAMELEN 128 /* Maximum name length (for the syscall) */ | #define KENV_MNAMELEN 128 /* Maximum name length (for the syscall) */ | ||||
#define KENV_MVALLEN 128 /* Maximum value length (for the syscall) */ | #define KENV_MVALLEN 128 /* Maximum value length (for the syscall) */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* | /* | ||||
* Most of these variables should be const. | * Most of these variables should be const. | ||||
*/ | */ | ||||
Show All 11 Lines |