Ecere SDK/eC Forums http://www.ecere.com/forums/ Print view |
|
这是新的程序,成功.this is the new successful prog. http://www.ecere.com/forums/viewtopic.php?f=30&t=166 |
Page 1 of 1 |
Author: | liqi98136 [ Wed Aug 24, 2011 6:25 am ] |
Post subject: | 这是新的程序,成功.this is the new successful prog. |
这是新的程序,加入了新的语句,成功了. putenv(""); Code: Select all
|
Author: | liqi98136 [ Wed Aug 24, 2011 6:28 am ] |
Post subject: | Re: 这是新的程序,成功.this is the new successful prog. |
putenv(改变或增加环境变量) 相关函数 getenv,setenv,unsetenv 表头文件 #include<stdlib.h> 定义函数 int putenv(const char * string); 函数说明 putenv()用来改变或增加环境变量的内容。参数string的格式为 name=value,如果该环境变量原先存在,则变量内容会依参数 string改变,否则此参数内容会成为新的环境变量。 返回值 执行成功则返回0,有错误发生则返回-1。 错误代码 ENOMEM 内存不足,无法配置新的环境变量空间 本文来源于:http://www.iteedu.com/, 原文地址:http://www.iteedu.com/os/linux/linuxprg ... putenv.php |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |