Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: filename -> file_name for consistency

...

Code Block
bgColor#ffcccc
FILE *file = fopen(filenamefile_name, "rb+");
if (file == NULL) {
  /* handle error */
}

/* write to file stream */
/* read response from file stream */
fclose(file);

...

Code Block
bgColor#ccccff
FILE *file = fopen(filenamefile_name, "rb+");
if (file == NULL) {
  /* handle error */
]

/* write to file stream */
fflush(file);
/* read response from file stream */
fclose(file);

...