Versions Compared

Key

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

...

Both the non-compliant code example and compliant solution are taken from FIO07-C. Prefer fseek() to rewind().

Noncompliant Code Example (setbuf())

This noncompliant code example calls setbuf() with a buf argument of NULL.

...