X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flib%2Fuser%2Fsyscall.h;h=d0a22500dd8f36f7090ca57ee23173ff85ecfff4;hb=75663d9273af881a832699bfab6575ec1507761e;hp=c07f3ea6b7fa3bf93fc3edfaa3bdc2e54276b720;hpb=76f6e5dbcd612bbf79e0243bb8a0247b52043571;p=pintos-anon diff --git a/src/lib/user/syscall.h b/src/lib/user/syscall.h index c07f3ea..d0a2250 100644 --- a/src/lib/user/syscall.h +++ b/src/lib/user/syscall.h @@ -10,7 +10,7 @@ void halt (void) NO_RETURN; void exit (int status) NO_RETURN; pid_t exec (const char *file); int join (pid_t); -bool create (const char *file); +bool create (const char *file, unsigned initial_size); bool remove (const char *file); int open (const char *file); int filesize (int fd);