From: Aravind Anbudurai Date: Thu, 31 Aug 2017 23:20:43 +0000 (-0700) Subject: Add a comment on File.h X-Git-Tag: v2017.09.04.00~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e540cbee6a5f7b9ee31886081dc6189d327ddbfd;p=folly.git Add a comment on File.h Summary: title Reviewed By: yfeldblum Differential Revision: D5751299 fbshipit-source-id: d3967c2499da9a2c98c2862b9bdc9994c12edc76 --- diff --git a/folly/File.h b/folly/File.h index 8d668d8b..958347d2 100644 --- a/folly/File.h +++ b/folly/File.h @@ -49,6 +49,7 @@ class File { /** * Open and create a file object. Throws on error. + * Owns the file descriptor implicitly. */ explicit File(const char* name, int flags = O_RDONLY, mode_t mode = 0666); explicit File(