#include #include #include #include #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); */ }