C
#define APPENDPLUS "a+"
Description
If this macro is specified as the mode argument in a call of FSfopen, the file being opened will be created if it doesn't exist. If it does exist, it's file information will be loaded and the current location in the file will be set to the end. The user will then be able to write to the file or read from the file.