All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m20s
15 lines
227 B
C
15 lines
227 B
C
#include <process.h>
|
|
#include <string.h>
|
|
|
|
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);
|
|
}
|
|
}
|