X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fuser%2Fsyscall.h;h=c2941087faa09de8dca3c6f434fbcf0f35aea99f;hb=2cfc156c39840ce7f1cda6b473de1322691a8a0b;hp=147252531bb0db74ae12bd74d378a25ea02bbebf;hpb=63bae7d91cfdc5d6f73b52702ecb6dcca515496c;p=pintos-anon diff --git a/src/lib/user/syscall.h b/src/lib/user/syscall.h index 1472525..c294108 100644 --- a/src/lib/user/syscall.h +++ b/src/lib/user/syscall.h @@ -13,7 +13,7 @@ typedef int mapid_t; void halt (void) NO_RETURN; void exit (int status) NO_RETURN; pid_t exec (const char *file); -int join (pid_t); +int wait (pid_t); bool create (const char *file, unsigned initial_size); bool remove (const char *file); int open (const char *file);