6.13 Library Functions

ISO Standard Implementation
“Any library facilities available to a freestanding program, other than the minimal set required by clause 4 (5.1.2.1).”
See the compiler users guide relevant to your target device.
“The format of the diagnostic printed by the assert macro (7.2.1.1).”
Assertion failed: expression (file: func: line)
Assertion failed: (message), function function, file file, line line.\n. The function function component is skipped if __func__ is unavailable.
“The representation of floating-point exception flags stored by the fegetexceptflag function (7.6.2.2).”
“Whether the feraiseexcept function raises the inexact exception in addition to the overflow or underflow exception (7.6.2.3).”
Unimplemented.
“Strings other than "C" and "" that may be passed as the second argument to the setlocale function (7.11.1.1).”
None.
“The types defined for float_t and double_t when the value of the FLT_EVAL_METHOD macro is less than 0 or greater than 2 (7.12).”
Unimplemented.
“Domain errors for the mathematics functions, other than those required by this International Standard (7.12.1).”
None.
“The values returned by the mathematics functions on domain errors (7.12.1).”
The errno variable is set to EDOM on domain errors
“Whether the mathematics functions set errno to the value of the macro ERANGE on overflow and/or underflow range errors (7.12.1).”
Yes
“Whether a domain error occurs or zero is returned when the fmod function has a second argument of zero (7.12.10.1).”
The first argument is returned.
“The base-2 logarithm of the modulus used by the remquo function in reducing the quotient (7.12.10.3).”
Unimplemented.
“Whether the equivalent of signal(sig, SIG_DFL); is executed prior to the call of a signal handler, and if not, the blocking of signals that is performed (7.14.1.1).”
Signals are not implemented.
“The null pointer constant to which the macro NULL expands (7.17).”
((void*)0)
“Whether the last line of a text stream requires a terminating new-line character (7.19.2).”
Streams are not implemented.
“Whether space characters that are written out to a text stream immediately before a new-line character appear when read in (7.19.2).”
Streams are not implemented.
“The number of null characters that may be appended to data written to a binary stream (7.19.2).”
Streams are not implemented.
“Whether the file position indicator of an append-mode stream is initially positioned at the beginning or end of the file (7.19.3).”
Streams are not implemented.
“Whether a write on a text stream causes the associated file to be truncated beyond that point (7.19.3).”
Streams are not implemented.
“The characteristics of file buffering (7.19.3).”
File handling is not implemented.
“Whether a zero-length file actually exists (7.19.3).”
File handling is not implemented.
“The rules for composing valid file names (7.19.3).”
File handling is not implemented.
“Whether the same file can be open multiple times (7.19.3).”
File handling is not implemented.
“The nature and choice of encodings used for multibyte characters in files (7.19.3).”
File handling is not implemented.
“The effect of the remove function on an open file (7.19.4.1).”
File handling is not implemented.
“The effect if a file with the new name exists prior to a call to the rename function (7.19.4.2).”
File handling is not implemented.
“Whether an open temporary file is removed upon abnormal program termination (7.19.4.3).”
File handling is not implemented.
“What happens when the tmpnam function is called more than TMP_MAX times (7.19.4.4).”
File handling is not implemented.
“Which changes of mode are permitted (if any) and under what circumstances (7.19.5.4).”
File handling is not implemented.
“The style used to print an infinity or NaN and the meaning of the n-char-sequence if that style is printed for a NaN (7.19.6.1, 7.24.2.1).”
NaN is printed as nan, with no char sequence printed. Infinity is printed as [-/+]inf.
“The output for %p conversion in the fprintf or fwprintf function (7.19.6.1, 7.24.2.1).”
Functionally equivalent to %lx.
“The interpretation of a - character that is neither the first nor the last character, nor the second where a ^ character is the first, in the scanlist for %[ conversion in the fscanf or fwscanf function (7.19.6.2, 7.24.2.2).”
Streams are not implemented.
“The set of sequences matched by the %p conversion in the fscanf or fwscanf function (7.19.6.2, 7.24.2.2).”
Streams are not implemented.
“The value to which the macro errno is set by the fgetpos, fsetpos, or ftell functions on failure (7.19.9.1, 7.19.9.3, 7.19.9.4).”
Streams are not implemented.
“The meaning of the n-char-sequence in a string converted by the strtod, strtof, strtold, wcstod, wcstof, or wcstold function (7.20.1.3, 7.24.4.1.1).”
No meaning is attached to the sequence.
“Whether or not the strtod, strtof, strtold, wcstod, wcstof, or wcstold function sets errno to ERANGE when underflow occurs (7.20.1.3, 7.24.4.1.1).”
No.
“Whether the calloc, malloc and realloc functions return a Null Pointer or a pointer to an allocated object when the size requested is zero (7.20.3).”
The requested size is bumped to 1 byte. If this can be successfully allocated, a pointer to the space is returned; otherwise NULL is returned.
“Whether open output streams are flushed, open streams are closed, or temporary files are removed when the abort function is called (7.20.4.1).”
Streams are not implemented.
“The termination status returned to the host environment by the abort function (7.20.4.1).”
The host environment is application defined.
“The value returned by the system function when its argument is not a Null Pointer (7.20.4.5).”
The host environment is application defined.
“The local time zone and Daylight Saving Time (7.23.1).”
Application defined.
“The range and precision of times representable in clock_t and time_t (7.23)”
The time_t type is used to hold a number of seconds and is defined as a long type; clock_t is defined as an unsigned long.
“The era for the clock function (7.23.2.1).”
Application defined.
“The replacement string for the %Z specifier to the strftime, strfxtime, wcsftime and wcsfxtime functions in the "C" locale (7.23.3.5, 7.23.3.6, 7.24.5.1, 7.24.5.2).”
“Whether or when the trigonometric, hyperbolic, base- e exponential, base- e logarithmic, error and log gamma functions raise the inexact exception in an IEC 60559 conformant implementation (F.9).”
No.
“Whether the functions in <math.h> honor the Rounding Direction mode (F.9).”
The rounding mode is not forced.