You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
riscv-pke/user/app_exec.c

13 lines
252 B

#include "user_lib.h"
#include "util/types.h"
int main(int argc, char *argv[]) {
printu("\n======== exec /bin/app_ls in app_exec ========\n");
int ret = exec("/bin/app_ls");
if (ret == -1)
printu("exec failed!\n");
exit(0);
return 0;
}