diff options
| author | Frans Kaashoek <kaashoek@mit.edu> | 2019-09-10 12:30:10 -0400 |
|---|---|---|
| committer | Frans Kaashoek <kaashoek@mit.edu> | 2019-09-10 12:30:10 -0400 |
| commit | 7e6c37e67e6da62e02089fc3292569103b7e94b3 (patch) | |
| tree | 8b3f2e762f1f0a32a4641d240d30b155af6ab34a /user/echo.c | |
| parent | 035cca95fe87c67ee1e33b9edfb2d87e24476fa8 (diff) | |
| download | xv6-labs-2022-7e6c37e67e6da62e02089fc3292569103b7e94b3.tar.xz xv6-labs-2022-7e6c37e67e6da62e02089fc3292569103b7e94b3.zip | |
Support exit status for exit/wait
One test case for returning a exit status
Passes usertests, but haven't used it to simplify tests
Diffstat (limited to 'user/echo.c')
| -rw-r--r-- | user/echo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/echo.c b/user/echo.c index d0ac6ab..3f19cd7 100644 --- a/user/echo.c +++ b/user/echo.c @@ -15,5 +15,5 @@ main(int argc, char *argv[]) write(1, "\n", 1); } } - exit(); + exit(0); } |
