📄 environ.c
字号:
/*******************
*
* Copyright 1998-2003 IAR Systems. All rights reserved.
*
* $Revision: 1.5 $
*
* This is the default implementation of the "__environ" variable used
* by the standard library. It can be replaced by a system-specific
* implementation.
*
* The variable "__environ" contains the environment for the default
* implementation of the standard function "getenv".
*
* To define an enviroment set the variable "__environ" to a string
* containing any number of "KEY=value" each terminated by a nil
* ('\0') character. Note that the string itself must be terminated
* by an extra nil character.
*
* For example, the following definition of "__environ" specifies two
* environment variables "COLOR" and "SPEED" with values "red" and
* "500", respectively.
*
* const char *__environ = "COLOR=red\0SPEED=500\0\0";
*
********************/
#include <yfuns.h>
const char *__environ = "";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -