Commit 07095e85 authored by Victor Zverovich's avatar Victor Zverovich

Fix formatting and comment why fcntl.h is included.

parent a2828412
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define FMT_POSIX_H #define FMT_POSIX_H
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h> // for O_RDONLY
#include <stdio.h> #include <stdio.h>
#include <cstddef> #include <cstddef>
...@@ -189,7 +189,7 @@ public: ...@@ -189,7 +189,7 @@ public:
enum { enum {
RDONLY = FMT_POSIX(O_RDONLY), // Open for reading only. RDONLY = FMT_POSIX(O_RDONLY), // Open for reading only.
WRONLY = FMT_POSIX(O_WRONLY), // Open for writing only. WRONLY = FMT_POSIX(O_WRONLY), // Open for writing only.
RDWR = FMT_POSIX(O_RDWR) // Open for reading and writing. RDWR = FMT_POSIX(O_RDWR) // Open for reading and writing.
}; };
// Constructs a File object which doesn't represent any file. // Constructs a File object which doesn't represent any file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment