concept interface in category c

appears as: interfaces, interfaces, interface, The interfaces, interface, n interface
Modern C

This is an excerpt from Manning's book Modern C.

#if !__STDC_LIB_EXT1__
# error "This code needs bounds checking interface Annex K"
#endif
#define __STDC_WANT_LIB_EXT1__ 1

#include <stdio.h>

/* Use printf_s from here on. */


!@%STYLE%@!
{"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":0,\"ch\":0},{\"line\":0,\"ch\":3}],[{\"line\":0,\"ch\":5},{\"line\":0,\"ch\":22}],[{\"line\":1,\"ch\":0},{\"line\":1,\"ch\":7}],[{\"line\":2,\"ch\":0},{\"line\":2,\"ch\":6}],[{\"line\":3,\"ch\":0},{\"line\":3,\"ch\":7}],[{\"line\":3,\"ch\":8},{\"line\":3,\"ch\":32}],[{\"line\":5,\"ch\":0},{\"line\":5,\"ch\":8}]]"}
!@%STYLE%@!
  • Standard C only has rudimentary interfaces to describe the execution environment of a running program; getenv provides access to environment variables, and locale.h regulates the interface for human languages.
  • Document the interface—explain the implementation.