environ.c
来自「德州仪器(TI) 的超低功耗16 位RISC 混合信号处理器的MSP430 平台」· C语言 代码 · 共 30 行
C
30 行
/*******************
*
* 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 + =
减小字号Ctrl + -
显示快捷键?