This includes file and I/O functions fgetpos
, fopen
, ftell
, gets
, perror
,
remove
, rename
and ungetc
.
Streams and file I/O have a large number of unspecified, undefined and implementation-defined behaviors associated with them. It is assumed within
MISRA C that they will not normally be needed in production code in embedded systems.
If any of the features of stdio.h
need to be used in production code, then the issues associated with the features need to be
understood.
Noncompliant code example
#include <stdio.h> /* Noncompliant */