Copyright © COSMIC Software 1999, 2003
All rights reserved.
OSMIC
Software C
C Language manual
Rev. 1.1
Table of Contents
Preface
Chapter 1
Historical Introduction
Chapter 2
C Language Overview
C Files ......................................................................................2-1
Lines ..................................................................................2-1
Comments..........................................................................2-2
Trigraphs............................................................................2-2
Lexical Tokens.........................................................................2-3
Identifiers...........................................................................2-3
Keywords...........................................................................2-3
Constants ...........................................................................2-4
Operators and Punctuators.................................................2-4
Declarations .............................................................................2-5
Integer Types .....................................................................2-5
Bit Type .............................................................................2-7
Real Types .........................................................................2-7
Pointers ..............................................................................2-8
Arrays ................................................................................2-9
Structures...........................................................................2-9
Unions................................................................................2-9
Enumerations...................................................................2-10
Functions .........................................................................2-10
Chapter 3
Declarations
Integers.....................................................................................3-2
Bits ...........................................................................................3-3
Pointers ....................................................................................3-3
Arrays.......................................................................................3-4
Modifiers..................................................................................3-5
Structures .................................................................................3-8
Unions....................................................................................3-10