mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +02:00
Meta: Add files to repository
This commit is contained in:
7
System/Shell/Commands/pwd.HC
Normal file
7
System/Shell/Commands/pwd.HC
Normal file
@@ -0,0 +1,7 @@
|
||||
I64 @shell_cmd_pwd(@shell* sh, I64 argc, U8** argv)
|
||||
{
|
||||
U8 buf[512];
|
||||
StrPrint(&buf, "%s\n", &sh->cwd);
|
||||
Stdio.WriteLine(sh, &buf);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user