mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibC: Implement various things to get GNU bc building and running.
Looks like that's all we needed, and bc now runs. :^)
This commit is contained in:
parent
3a9c01619f
commit
c2adfd0e2d
Notes:
sideshowbarker
2024-07-19 15:53:10 +09:00
Author: https://github.com/awesomekling
Commit: c2adfd0e2d
9 changed files with 51 additions and 2 deletions
|
@ -262,4 +262,9 @@ void srandom(unsigned seed)
|
|||
srand(seed);
|
||||
}
|
||||
|
||||
int system(const char* command)
|
||||
{
|
||||
return execl("/bin/sh", "sh", "-c", command, nullptr);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue