Technical data

Programming Release Notes
6.5 Compaq C Run-Time Library
6.5.11 New LINK Command for Linking /NOSYSSHR (VAX Only)
V7.3
The LINK command for linking /NOSYSSHR on OpenVMS VAX systems is now:
$ LINK/NOSYSSHR PROG, SYS$LIBRARY:DECCRTL.OLB/INCLUDE=(CMA$TIS,CMA$TIS_VEC)/LIB
Previously, the LINK command was:
$ LINK/NOSYSSHR PROG, SYS$LIBRARY:DECCRTL.OLB/INCLUDE=CMA$TIS/LIB
6.5.12 The select Socket Function Returns Failure for Invalid File Descriptor
V7.3
The
select
function has been corrected to return failure status if either an
invalid file descriptor (
errno
set to EBADF) or a file descriptor not associated
with a socket (
errno
set to ENOTSOCK) is found in one of the specified file
descriptor sets. In either event, and in conformance with the standard,
select
now stops processing and performs no operation.
Note that failure with
errno
set to EBADF is the standard requirement for the
select
function. Failure with
errno
set to ENOTSOCK has been added as a
more informative value because currently the
select
function can operate only
on sockets.
In previous versions of the C RTL,
select
set
errno
to EBADF or ENOTSOCK
but ignored invalid file descriptors and file descriptors not associated with sockets
and continued to process the remaining valid file descriptors. You can choose this
old behavior by defining the logical name DECC$SELECT_IGNORES_INVALID_
FD to any value before invoking the application.
6.6 Compaq COBOL Run-Time Library (Alpha Only)
The following sections contain release notes pertaining to the Compaq COBOL
Run-Time Library (RTL) for OpenVMS Alpha (formerly named DEC COBOL and
DIGITAL COBOL).
6.6.1 New Routines to Support Y2K Intrinsic Functions
V7.3
This RTL now provides support for five new intrinsic functions with four-digit
year formats:
YEAR-TO-YYYY
DATE-TO-YYYYMMDD
DAY-TO-YYYYDDD
TEST-DATE-YYYYMMDD
TEST-DAY-YYYYDDD
6.6.2 Performance Improvements
V7.3
The RTL performance is improved for DISPLAY redirected to a file and with
programs compiled with /MATH=CIT3 and /MATH=CIT4.
6–6 Programming Release Notes