linux下c语言环境变量操作的几个相关函数
来源:互联网 发布:万达产业bcg矩阵分析 编辑:程序博客网 时间:2024/04/29 14:03
这几个函数的原型在<stdio.h>中定义
/* Return the value of envariable NAME, or NULL if it doesn't exist. */
extern char *getenv (__const char *__name) __THROW __nonnull ((1)) __wur;
/* The SVID says this is in <stdio.h>, but this seems a better place. */
/* Put STRING, which is of the form "NAME=VALUE", in the environment.
If there is no `=', remove NAME from the environment. */
extern int putenv (char *__string) __THROW __nonnull ((1));
/* Set NAME to VALUE in the environment.
If REPLACE is nonzero, overwrite an existing value. */
extern int setenv (__const char *__name, __const char *__value, int __replace)
__THROW __nonnull ((2));
/* Remove the variable NAME from the environment. */
extern int unsetenv (__const char *__name) __THROW __nonnull ((1));
- linux下c语言环境变量操作的几个相关函数
- C语言中几个与临时文件操作相关的函数
- Linux系统C语言操作环境变量的函数
- 数据结构单链表的相关操作(linux下实现)C语言
- c语言文件的几个操作函数
- linux c 环境变量相关函数
- C语言的文件操作相关函数
- Linux下,和时间相关的几个函数
- linux下与时间相关的几个函数总结
- Linux下,和时间相关的几个函数
- LINUX下的几个常见的环境变量
- Linux 下 操作进程环境变量的函数和指令
- C语言的几个函数
- Linux下environ环境变量操作函数
- Linux下environ环境变量操作函数
- Linux下environ环境变量操作函数
- c语言中的文件操作的相关函数(知识)
- c语言文件操作相关函数的用法
- Android实现应用程序卸载自己
- linux命令温习
- 黑马程序员——String
- 调试器 相关问题
- 备份下2013年7月28号写的存储过程
- linux下c语言环境变量操作的几个相关函数
- Python单例模式的4种实现方法
- Linux命令学习手册-readelf命令
- android之activity的生命周期详解
- ExtJS实现Excel导出
- Android的打电话发短信功能实例
- EXT JS把gridPanel数据导入到EXCEL
- Linux showmount命令
- 关于photoshop钢笔工具中各点对应到“贝塞尔曲线”中的含义(cocos2d-x与iOS)