[Info-vax] OpenVMS books

Craig A. Berry craigberry at nospam.mac.com
Thu Jul 20 17:03:15 EDT 2017


On 7/20/17 3:32 PM, John Reagan wrote:
> On Thursday, July 20, 2017 at 2:08:13 PM UTC-4, Saifi Khan wrote:

>> Could you elaborate, what you mean by "RTLs are missing a few things." ?
>>
>> i understand a bit of glibc and libc stuff, so i should be able to follow you.
>>
>>
>> warm regards
>> Saifi.
> 
> The obvious stuff is:
> 
> - The C99 header "stdint.h" is missing
> - The C99 header "fenv.h" is missing
> - Various C99 required macros that should be in "inttypes.h" are missing (for example, PRIi32)
> - The C99 required "printf/scanf" conversion specifier "F" is missing.
> - The C99 required "printf/scanf" argument types "hh","t","j", and "z" are missing

Some of what should be in math.h is in float.h or missing entirely.

Some of the locale stuff is outdated. E.g., isprint() should not return
true in the C/POSIX locale for upper ASCII characters because the
C/POSIX locale does not include anything above 127.

Lots of things work differently or have limited functionality, such
pipe() and select(). These sorts of things may or may not be standards
compliance issues but have a big impact on porting code.

A lot of the things you might want are available but not the default,
such as IEEE math on Alpha, large file support, preserving filename
case, and so on. There are a bunch of compile-time and run-time knobs to
turn that enable various things.

Whether you need to worry about any of this stuff depends on what you
are doing. If you are porting a package of any complexity, you'll likely
have to get pretty far into the details.



More information about the Info-vax mailing list