feat: add onUsr1, streq and printOut
This commit is contained in:
1 parent
35e5dad2f3
commit
2709025a74
4 files changed
+201
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#include "ulib.h"
|
||||
|
||||
/* A plain child program: only ever launched via proctest.c's userSpawn, so
|
||||
its pid is a genuinely different, freshly created thread rather than the
|
||||
caller's own (unlike exectarget.c, which replaces the caller in place). */
|
||||
|
||||
int main(void)
|
||||
{
|
||||
print("spawntarget: child running, pid=");
|
||||
printDec(userGetpid());
|
||||
print("\n");
|
||||
return 3;
|
||||
}
|
||||
Reference in new issue
Block a user