From e540cbee6a5f7b9ee31886081dc6189d327ddbfd Mon Sep 17 00:00:00 2001 From: Aravind Anbudurai Date: Thu, 31 Aug 2017 16:20:43 -0700 Subject: [PATCH] Add a comment on File.h Summary: title Reviewed By: yfeldblum Differential Revision: D5751299 fbshipit-source-id: d3967c2499da9a2c98c2862b9bdc9994c12edc76 --- folly/File.h | 1 + 1 file changed, 1 insertion(+) 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( -- 2.34.1