@@ -1,4 +1,14 @@
#include <m/system.h>
#include <process.h>
#include <string.h>
void app_main (void) {}
void app_main (void) {
int e_pid = get_exec_pid ();
int e_pgid = get_procgroup (e_pid);
for (;;) {
char ch;
mail_receive (&ch, 1);
mail_send (e_pgid, &ch, 1);
}
The note is not visible to the blocked user.