V
vippstar
If the concept of file streams is not possible to be implemented, can
all FILE related functions be "disabled"?
For example:
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE
*stream) {
errno = something;
return 0;
}
Perhaps to generalize the question: When the behavior (or return
value) of a function is unspecified by the standard, can an
implementation always choose one behavior?
All replies appreciated.
all FILE related functions be "disabled"?
For example:
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE
*stream) {
errno = something;
return 0;
}
Perhaps to generalize the question: When the behavior (or return
value) of a function is unspecified by the standard, can an
implementation always choose one behavior?
All replies appreciated.