CE process watching WIP
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
#include <mprintf.h>
|
||||
#include <process_self.h>
|
||||
#include <status.h>
|
||||
#include <system.h>
|
||||
|
||||
void app_main (void) {}
|
||||
#define COMMAND_MAX 32
|
||||
|
||||
void app_main (void) {
|
||||
libprocess_self_init ();
|
||||
|
||||
char commandbuf[COMMAND_MAX];
|
||||
commandbuf[0] = '\0';
|
||||
|
||||
mprintf ("HELLO!\n");
|
||||
|
||||
/* if (env_get (process_get_pgid (), "C", (void*)commandbuf, sizeof (commandbuf)) == ST_OK) { */
|
||||
/* } */
|
||||
|
||||
/* mprintf ("C=%s\n", commandbuf); */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user