🦄 refactor(C13, C14, C115): 更新了linux系统开发部分的结构
This commit is contained in:
17
C14-文件系统/getenv.c
Normal file
17
C14-文件系统/getenv.c
Normal file
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user