Kernel/LibC: Add bareboness signals
You can now call raise() to raise a signal. Signal handlers are not yet supported, but the handling works :)
This commit is contained in:
@@ -260,6 +260,10 @@ int execute_command(BAN::Vector<BAN::String>& args)
|
||||
while (*current)
|
||||
printf("%s\n", *current++);
|
||||
}
|
||||
else if (args.front() == "raise"sv)
|
||||
{
|
||||
raise(SIGSEGV);
|
||||
}
|
||||
else if (args.front() == "cd"sv)
|
||||
{
|
||||
if (args.size() > 2)
|
||||
|
||||
Reference in New Issue
Block a user