Files
Linux-C-Notes/C13-Linux系统编程/fs/getenv.c
2024-05-13 22:13:51 +08:00

17 lines
212 B
C

#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
puts(getenv("PATH"));
getchar();
/**
* ./getenv
* ps axf | grep getenv
* pmap 4938
*/
exit(0);
}