getenv.3

来自「操作系统设计与实现源码」· 3 代码 · 共 31 行

3
31
字号
.\"	@(#)getenv.3	6.1 (Berkeley) 5/15/85.\".TH GETENV 3 "May 15, 1985".AT 3.SH NAMEgetenv \- value for environment name.SH SYNOPSIS.nf.ft B#include <stdlib.h>char *getenv(const char *\fIname\fP).ft R.fi.SH DESCRIPTION.B Getenv.asearches the environment list(see.BR environ (7))for a string of the form.IB name = valueand returns a pointer to the string.I valueif such a string is present, otherwise .B getenvreturns the null pointer..SH SEE ALSO.BR environ (7),.BR execve (2).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?