From: Ben Pfaff Date: Fri, 22 Oct 2004 16:30:53 +0000 (+0000) Subject: Comments. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71e9e2608ce34fdc9abc58fd066de232901392c;p=pintos-anon Comments. --- diff --git a/src/filesys/filesys.c b/src/filesys/filesys.c index 05df4ce..e16c487 100644 --- a/src/filesys/filesys.c +++ b/src/filesys/filesys.c @@ -197,7 +197,8 @@ filesys_create (const char *name, off_t initial_size) /* Opens a file named NAME and initializes FILE for usage with the file_*() functions declared in file.h. - Returns true if successful, false on failure. + Returns the new file if successful or a null pointer + otherwise. Fails if no file named NAME exists, or if an internal memory allocation fails. */ struct file *