Lattice_C_Compiler_Manual_Rev_1_(1985-08-28).pdf

(12903 KB) Pobierz
199436788 UNPDF
Lattice C Compiler
Manual
199436788.002.png
199436788.003.png
Lattice C Compiler
Manual
199436788.004.png
COPYRIGHT
This manual Copyright Commodore-Amiga, Inc. and Lattice, Inc., 1985. All Rights Reserved. This document may not, In wholeor In part, be
copied, photocopied, reproduced, translated, orreducedto anyelectronic medium or machine readable form without priorconsent, in writing,
from Commodore-Amiga, Inc.
This software Copyright Lattice, Inc. 1985 and Commodore-Amiga, Inc, 1985. All Rights Reserved. The distribution and saleofthis product
are Intended for the use of the original purchaser only. Lawful users of this program are hereby licensed only to read the program, from its
medium into memory of a computer, solely for the purpose of executing the program. Duplicating, copying, selling, or otherwise distributing
this product Is a violation of the law.
DISCLAIMER
THE PROGRAM 13 PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
THE RESULTS AND PERFORMANCE OF THE PROGRAM IS ASSUMED BY YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU (AND
NOT THE DEVELOPER OR COMMODORE-AMIGA, INC. OR ITS DEALERS) ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION. FURTHER, COMMODORE-AMIGA DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS
REGARDING THE USE OF, OR THE RESULTS OF THE USE OF, THE PROGRAM IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY,
CURRENTNESS, OR OTHERWISE; AND YOU RELY ON THE PROGRAM AND THE RESULTS SOLELY AT YOUR OWN RISK. IN NO EVENT
WILL COMMODORE-AMIGA, INC. BE LIABLE FOR DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES RESULTING FROM
ANY DEFECT IN THE PROGRAM EVEN IF IT HAS BEEN ADVISED OFTHE POSSIBLITY OF SUCH DAMAGES. SOME LAWS DO NOT ALLOW
THE EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES OR LJABUTIES FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE
ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY.
Amiga Is a trademark of Commodore-Amiga, Inc.
PRINTED in U.S.A.
CBM Product Number 327270-01 rev 1.0 8.28.85
-2-
199436788.005.png
TABLE OF CONTENTS.
Section 1 Introduction and Basic Concepts
1-1
1.1 Documentation
1-1
1.2 Basic Concepts
1-2
Section 2 Language Definition
2-1
2.1 Summary of Differences
2-1
2.1.1 Differences from Previous Versions
2-1
2.1.2 Arbitrary Limitations
2-2
2.2 Major Language Features
2-3
2.2.1 Pre-processor Features
2-3
2.2.2 Arithmetic Objects
2-4
2.2.3 Derived Objects
2-5
2.2.4 Storage Classes
2-5
2.2.5 Scope of Identifiers
2-7
2.2.6 Initializers
2-7
2.2.7 Expression Evaluation
2-8
2.2.8 Control Flow
2-10
2.3 Comparison to the C Reference Manual
2-10
2.4 New Language Features
2-14
2.4.1 Void 2-14
2.4.2 Enumerations 2-15
2.4.3 Aggregate Assignment 2-15
2.4.4 Passing Aggregates by Value 2-16
2.4.5 Functions Returning Aggregates 2-16
2.4.6 Function Declarations with Argument Types 2-17
Section 3 Standard Library Functions
3-1
3.1 Memory Allocation Functions
3-1
3.1.1 Level 3 Memory Allocation
3-1
3.1.2 Level 2 Memory Allocation
3-5
3.1.3 Level 1 Memory Allocation
3-8
199436788.001.png
Zgłoś jeśli naruszono regulamin