Sun WorkShop Compiler C 5.0 User's Guide

Keywords

The following tables list the keywords for the ANSI/ISO C Standard, the Sun ANSI/ISO C compiler, and the Sun C compiler.

The first table lists the keywords defined by the ANSI/ISO C standard.

Table G-2 ANSI/ISO C Standard Keywords
autobreakcasechar
constcontinuedefaultdo
doubleelseenumextern
floatforgotoif
intlongregisterreturn
shortsignedsizeofstatic
structswitchtypedefunion
unsignedvoidvolatilewhile

Sun ANSI/ISO defines one additional keyword, asm. However, asm is not supported in -Xc mode.

Keywords in Sun C are listed below.

Table G-3 Sun C (K&R) Keywords
asmautobreakcase
charcontinuedefaultdo
doubleelseenumextern
floatforfortrangoto
ifintlongregister
returnshortsizeofstatic
structswitchtypedefunion
unsignedvoidwhile