While I'm no Amiga C guru, I have the boxed version of the SAS/C Lattice C for AmigaDOS (version 5). On the side of the box it reads:
" Lattice C Compilers conform very closely to the proposed ANSI C standards.."
This version was for AmigaDOS 2.0.
The last version for the Amiga was 6.58 I believe. Here is what the docs mention regarding it:
Compatibility with Standards Most functions in the SAS/C library are compatible with industry-recognized C library standards, including
- ISO/ANSI C
- traditional UNIX C libraries
- POSIX 1003.1.
ISO/ANSI C Standards The SAS/C library is fully compliant with the 1990 ISO/ANSI C standard. Implementation-defined behavior for the ISO/ANSI library is described in Chapter 2, "Language Definition" in
SAS/C Compiler and Library User's Guide, Fourth Edition .
This was taken from here:
http://support.sas.com/documentation/onlinedoc/sasc/doc/lr1/lrv1ch1.htm#sect3_1