c/error

Assertions
{{rrev|since=c11|

Bounds checking
The standard library provides bounds-checked versions of some existing functions (gets, fopen, printf, strcpy, wcscpy, mbstowcs, qsort, getenv, etc). This functionality is optional and is only available if is defined. The following macros and functions support this functionality.

Note: implementations of bounds-checked functions are available as open-source libraries Safe C and Slibc, and as part of Watcom C. There is also an incompatible set of bounds-checked functions available in Visual Studio. }}