[prev] 41 [next]

Exercise 3: open() vs fopen()

What combinations of open() flags best capture
the meaning of the following fopen() modes:
  •   "r"
  •   "w
  •   "a"
  •   "r+"
  •   "w+"