MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / LShBuiltin_Pwd

Function LShBuiltin_Pwd

Applications/LSh/main.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void LShBuiltin_Pwd(int argc, char** argv){
45 getcwd(currentDir, PATH_MAX);
46 printf("%s\n", currentDir);
47}
48
49void LShBuiltin_Export(int argc, char** argv){
50 for(int i = 1; i < argc; i++){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected