Element | Effect(s) if set | |
app | seek to end before each write | |
ate | open and seek to end immediately after opening | |
binary | perform input and output in binary mode (as opposed to text mode) | |
in | open for input | |
noreplace | open in exclusive mode | |
out | open for output | |
trunc | truncate an existing stream when opening |