Chapter Contents

Previous

Next
Source Code Conventions

Implementation-defined Behavior

In many instances, the ISO/ANSI Standard gives an implementor of the C language the freedom to choose an appropriate approach for a particular aspect of the language. The only requirement is that the choice made is explained to the user. For SAS/C software, implementation-defined behavior refers to aspects of the compiler where coding decisions have been made as a result of the SAS/C implementation of the ISO/ANSI Standard C language. The following sections follow the ISO/ANSI Standard in covering implementation-defined behavior for the compiler. The ISO/ANSI Standard conventions are given in Annex G.3 of the ISO/IEC 9899:1990 Standard for Programming Languages -- C. The relevant sections of this appendix are noted next to the topic.

Translation (G.3.1)


Environment (G.3.2)


Identifiers (G.3.3)


Characters (G.3.4)


Integers (G.3.5)


Floating point (G.3.6)


Arrays and pointers (G.3.7)


Registers (G.3.8)


Structures, unions, enumerations, and bitfields (G.3.9)


Qualifiers (G.3.10)


Declarators (G.3.11)


Statements (G.3.12)


Preprocessing directives (G.3.13)


Library functions (G.3.14)


Locale-specific behavior (G.4)

C Locale U.S. Date/Time Conversions
Type Values
Abbreviated weekday name Sun Thu

Mon Fri

Tue Sat

Wed



Full weekday name Sunday Thursday

Monday Friday

Tuesday Saturday

Wednesday



Abbreviated month name Jan Jul

Feb Aug

Mar Sep

Apr Oct

May Nov

Jun Dec



Full month name January July

February August

March September

April October

May November

June December



Date representation Mnn dd yyyy

May 01 1989



Time representation hh:mm:ss

01:22:45

Note that conventions for user-written locales are defined by the user.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.