...
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
.
...
...
Both the non-compliant code example and compliant solution are taken from FIO07-C. Prefer fseek() to rewind().
setbuf()
)This noncompliant code example calls setbuf()
with a buf
argument of NULL
.
...