Files
Linux-C-Notes/C14-文件系统/fs/getenv.c
2024-05-27 02:33:10 +08:00

17 lines
213 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);
}