mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
7 lines
155 B
HolyC
7 lines
155 B
HolyC
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;
|
|
} |