Files
Linux-C-Notes/C14-文件系统/fs/getenv.c
2024-05-26 15:39:14 +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);
}