setenv 中文man页面

系统
setenv为tsch中查询或设置环境变量的指令。

setenv(setenvironmentvariable)

功能说明:查询或显示环境变量。

语法:setenv[变量名称][变量值]

补充说明:setenv为tsch中查询或设置环境变量的指令。

#p#

NAME

setenv - change or add an environment variable  

SYNOPSIS

#include <stdlib.h>

int setenv(const char *name, const char *value, int overwrite);

void unsetenv(const char *name);

DESCRIPTION

The setenv() function adds the variable name to the environment with the value value, if name does not already exist. If name does exist in the environment, then its value is changed to value if overwrite is non-zero; if overwrite is zero, then the value of name is not changed.

The unsetenv() function deletes the variable name from the environment.  

RETURN VALUE

The setenv() function returns zero on success, or -1 if there was insufficient space in the environment.  

CONFORMING TO

BSD 4.3  

SEE ALSO

clearenv(3), getenv(3), putenv(3), environ(5)

责任编辑:韩亚珊 来源: 互联网
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 15:39:42

fcloseall中文man

2011-08-25 15:00:15

cfgetispeed中文man

2011-08-19 18:35:50

issue中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 17:40:25

setvbuf中文man

2011-08-23 14:21:16

poweroff中文man

2011-08-24 15:52:59

intro中文man

2011-08-23 13:40:31

2011-08-25 15:54:08

ferror中文man

2011-08-25 17:24:54

puts中文man

2011-08-25 18:34:55

ungetc中文man

2011-08-23 10:03:40

useradd中文man

2011-08-23 10:29:02

chpasswd中文man

2011-08-23 10:34:22

convertquot中文man

2011-08-23 15:39:34

rpmbuild中文man

2011-08-24 15:48:38

INSERT中文man
点赞
收藏

51CTO技术栈公众号