It's strongly suggested to take a look to
jf_file_open page in
"API reference guide" because some more
"open mode" flags are explained: you will find
"append" and "read/write" combined
flags as used with C standard I/O library.
Trying it is a straightforward programming exercise.