|
666 | 666 | \begin{itemize} |
667 | 667 | \item The standard C language compiler is \texttt{c99}, required by the |
668 | 668 | specification. Be careful as the default mode for \texttt{gcc} does not |
669 | | -conform to any of the ANSI/ISO C standards. You need to check the manual page |
| 669 | +conform to any of the ISO C standards. You need to check the manual page |
670 | 670 | for your version, look for the option \texttt{-std=} to see what is the default. |
671 | 671 | For example, for version 4.2.1, the default is \texttt{-std=gnu89}, for version |
672 | 672 | 7.2, it is \texttt{-std=gnu11}. |
|
1725 | 1725 | \pdfbookmark[1]{standard header files}{stdhdrs} |
1726 | 1726 |
|
1727 | 1727 | \begin{slide} |
1728 | | -\sltitle{Standard header files (ANSI~C)} |
| 1728 | +\sltitle{Standard header files (ISO~C)} |
1729 | 1729 | \renewcommand{\arraystretch}{1} |
1730 | 1730 | \begin{tabular}{l@{\hspace{3ex}\dots\hspace{3ex}}l} |
1731 | 1731 | \texttt{stdlib.h} & basic macros and functions\\ |
|
1748 | 1748 | (\emph{forward declaration}) of functions, variables and macro definitions. |
1749 | 1749 | From the preprocessor's point of view, this is a simple file in the C language. |
1750 | 1750 | \item \emsl{These header files are not specific to UNIX. They are part of |
1751 | | -the ANSI~C standard, that is included in POSIX.1 (page \pageref{C_LANGUAGE}) |
1752 | | -It is important to realize that every system that supports |
1753 | | -ANSI~C has to have these files, regardless of whether it supports POSIX.1.} |
| 1751 | +the ISO~C standard, that is included in POSIX.1 (page \pageref{C_LANGUAGE}) |
| 1752 | +It is important to realize that every system that supports ISO~C has to have |
| 1753 | +these files, regardless of whether it supports POSIX.1.} |
1754 | 1754 | \item The appropriate header file for given function can be looked up using the |
1755 | 1755 | function's man page, e.g. this is the beginning of \texttt{memcpy} man page |
1756 | 1756 | on Solaris: |
|
0 commit comments