Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
1edd38b9
Unverified
Commit
1edd38b9
authored
Aug 31, 2020
by
t-wiser
Committed by
GitHub
Aug 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add append mode. (#1847)
parent
e66ba169
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/fmt/os.h
include/fmt/os.h
+2
-1
No files found.
include/fmt/os.h
View file @
1edd38b9
...
@@ -278,7 +278,8 @@ class file {
...
@@ -278,7 +278,8 @@ class file {
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.
CREATE
=
FMT_POSIX
(
O_CREAT
)
// Create if the file doesn't exist.
CREATE
=
FMT_POSIX
(
O_CREAT
),
// Create if the file doesn't exist.
APPEND
=
FMT_POSIX
(
O_APPEND
)
// Open in append mode.
};
};
// Constructs a file object which doesn't represent any file.
// Constructs a file object which doesn't represent any file.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment