diff options
Diffstat (limited to 'pintos-progos/lib/user/entry.c')
| -rw-r--r-- | pintos-progos/lib/user/entry.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pintos-progos/lib/user/entry.c b/pintos-progos/lib/user/entry.c new file mode 100644 index 0000000..a707c70 --- /dev/null +++ b/pintos-progos/lib/user/entry.c | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #include <syscall.h> | ||
| 2 | |||
| 3 | int main (int, char *[]); | ||
| 4 | void _start (int argc, char *argv[]); | ||
| 5 | |||
| 6 | void | ||
| 7 | _start (int argc, char *argv[]) | ||
| 8 | { | ||
| 9 | exit (main (argc, argv)); | ||
| 10 | } | ||
