Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
...
int fd = open(file_name, O_CREAT | O_EXCL | O_WR_ONLY, 0600mode);
if (fd == -1) {
  /* Handle Error */
}
...

...