VMS Help  —  CRTL  Version-Dependency Tables
    New functions are added to the VSI C Run-Time Library with each
    version of VSI C. These functions are implemented and shipped with
    the OpenVMS operating system, while the documentation and header
    files containing their prototypes are shipped with versions of
    the VSI C compiler.

    You might have a newer version of VSI C that has header files
    and documentation for C RTL functions that are not supported on
    your older OpenVMS system. For example, if your target operating
    system platform is OpenVMS Version 7.2, you cannot use C RTL
    functions introduced on OpenVMS Version 7.3, even though they are
    documented in this manual.

    The following tables list what C RTL functions are supported
    on recent OpenVMS versions. This is helpful for determining the
    functions to avoid using on your target OpenVMS platforms.

1  –  All OpenVMS Versions

    The following functions are available on all OpenVMS VAX, Alpha,
    and Integrity servers versions:

       abort         abs           access      acos
       alarm         asctime       asin        assert
       atan2         atan          atexit      atof
       atoi          atoll (Alpha) atol        atoq (Alpha)
       box           brk           bsearch     cabs
       calloc        ceil          cfree       chdir
       chmod         chown         clearerr    clock
       close         cosh          cos         creat
       ctermid       ctime         cuserid     decc$crtl_init
       decc$fix_time     decc$from_vms      decc$match_wild
       decc$record_read  decc$record_write  decc$set_reentrancy
       decc$to_vms       decc$translate_vms
       delete        delwin        difftime    div
       dup2          dup           ecvt        endwin
       execle        execlp        execl       execve
       execvp        execv         exit        _exit
       exp           fabs          fclose      fcvt
       fdopen        feof          ferror      fflush
       fgetc         fgetname      fgetpos     fgets
       fileno        floor         fmod        fopen
       fprintf       fputc         fputs       fread
       free          freopen       frexp       fscanf
       fseek         fsetpos       fstat       fsync
       ftell         ftime         fwait       fwrite
       gcvt          getchar       getcwd      getc
       getegid       getenv        geteuid     getgid
       getname       getpid        getppid     gets
       getuid        getw          gmtime      gsignal
       hypot         initscr       isalnum     isalpha
       isapipe       isascii       isatty      iscntrl
       isdigit       isgraph       islower     isprint
       ispunct       isspace       isupper     isxdigit
       kill          labs          ldexp       ldiv
       llabs (Alpha) lldiv(Alpha)  localeconv  localtime
       log10         log           longjmp     longname
       lseek         lwait         malloc      mblen
       mbstowcs      mbtowc        memchr      memcmp
       memcpy        memmove       memset      mkdir
       mktemp        mktime        modf        mvwin
       mv[w]addstr   newwin        nice        open
       overlay       overwrite     pause       perror
       pipe          pow           printf      putchar
       putc          puts          putw        qabs (Alpha)
       qdiv (Alpha)  qsort         raise       rand
       read          realloc       remove      rename
       rewind        sbrk          scanf       scroll
       setbuf        setgid        setjmp      setlocale
       setuid        setvbuf       sigblock    signal
       sigpause      sigstack(VAX) sigvec      sinh
       sin           sleep         sprintf     sqrt
       srand         sscanf        ssignal     stat
       strcat        strchr        strcmp      strcoll
       strcpy        strcspn       strerror    strftime
       strlen        strncat       strncmp     strncpy
       strpbrk       strrchr       strspn      strstr
       strtod        strtok        strtoll     strtol (Alpha)
       strtoq (Alpha) strtoull (Alpha)  strtoul  strtouq (Alpha)
       strxfrm       subwin        system      tanh
       tan           times         time        tmpfile
       tmpnam        toascii       tolower     _tolower
       touchwin      toupper       _toupper    ttyname
       umask         ungetc        vaxc$calloc_opt vaxc$cfree_opt
       vaxc$crtl_init    vaxc$establish vaxc$free_opt vaxc$malloc_opt
       vaxc$realloc_opt  va_arg    va_count    va_end
       va_start      va_start_1    vfork       vfprintf
       vprintf       vsprintf      wait        wcstombs
       wctomb        write         [w]addch    [w]addstr
       [w]clear      [w]clrattr    [w]clrtobot [w]clrtoeol
       [w]delch      [w]deleteln   [w]erase    [w]getch
       [w]getstr     [w]inch       [w]insch    [w]insertln
       [w]insstr     [w]move       [w]printw   [w]refresh
       [w]scanw      [w]setattr    [w]standend [w]standout

2  –  V6.2 and Higher

    The following additional functions are available on OpenVMS VAX
    and OpenVMS Alpha Version 6.2 and higher:

       catclose     catgets      catopen      fgetwc
       fgetws       fputwc       fputws       getopt
       getwc        getwchar     iconv        iconv_close
       iconv_open   iswalnum     iswalpha     iswcntrl
       iswctype     iswdigit     iswgraph     iswlower
       iswprint     iswpunct     iswspace     iswupper
       iswxdigit    nl_langinfo  putwc        putwchar
       strnlen      strptime     towlower     towupper
       ungetwc      wcscat       wcschr       wcscmp
       wcscoll      wcscpy       wcscspn      wcsftime
       wcslen       wcsncat      wcsncmp      wcsncpy
       wcspbrk      wcsrchr      wcsspn       wcstol
       wcstoul      wcswcs       wcswidth     wcsxfrm
       wcstod       wctype       wcwidth      wcstok

3  –  V7.0 and Higher

    The following additional functions are available on OpenVMS VAX
    and OpenVMS Alpha Version 7.0 and higher:

       basename     bcmp         bcopy        btowc
       bzero        closedir     confstr      dirname
       drand48      erand48      ffs          fpathconf
       ftruncate    ftw          fwide        fwprintf
       fwscanf      getclock     getdtablesizegetitimer
       getlogin     getpagesize  getpwnam     getpwuid
       gettimeofday index        initstate    jrand48
       lcong48      lrand48      mbrlen       mbrtowc
       mbsinit      mbsrtowcs    memccpy      mkstemp
       mmap         mprotect     mrand48      msync
       munmap       nrand48      opendir      pathconf
       pclose       popen        putenv       random
       readdir      rewinddir    rindex       rmdir
       seed48       seekdir      setenv       setitimer
       setstate     sigaction    sigaddset    sigdelset
       sigemptyset  sigfillset   sigismember  siglongjmp
       sigpending   sigprocmask  sigsetjmp    sigsuspend
       srand48      srandom      strcasecmp   strdup
       strfmon      strncasecmp  strsep       swab
       swprintf     swscanf      sysconf      telldir
       tempnam      towctrans    truncate     tzset
       ualarm       uname        unlink       unsetenv
       usleep       vfwprintf    vswprintf    vwprintf
       wait3        wait4        waitpid      wcrtomb
       wcsrtombs    wcsstr       wctob        wctrans
       wmemchr      wmemcmp      wmemcpy      wmemmove
       wmemset      wprintf      wscanf

4  –  V7.0 Alpha and Higher

    The following additional functions are available on OpenVMS Alpha
    Version 7.0 and higher:

       _basename32  _basename64  _bsearch32   _bsearch64
       _calloc32    _calloc64    _catgets32   _catgets64
       _ctermid32   _ctermid64   _cuserid32   _cuserid64
       _dirname32   _dirname64   _fgetname32  _fgetname64
       _fgets32     _fgets64     _fgetws32    _fgetws64
       _gcvt32      _gcvt64      _getcwd32    _getcwd64
       _getname32   _getname64   _gets32      _gets64
       _index32     _index64     _longname32  _longname64
       _malloc32    _malloc64    _mbsrtowcs32 _mbsrtowcs64

       _memccpy32   _memccpy64   _memchr32    _memchr64
       _memcpy32    _memcpy64    _memmove32   _memmove64
       _memset32    _memset64    _mktemp32    _mktemp64
       _mmap32      _mmap64      _qsort32     _qsort64
       _realloc32   _realloc64   _rindex32    _rindex64
       _strcat32    _strcat64    _strchr32    _strchr64
       _strcpy32    _strcpy64    _strdup32    _strdup64
       _strncat32   _strncat64   _strncpy32   _strncpy64
       _strpbrk32   _strpbrk64   _strptime32  _strptime64
       _strrchr32   _strrchr64   _strsep32    _strsep64
       _strstr32    _strstr64    _strtod32    _strtod64
       _strtok32    _strtok64    _strtol32    _strtol64
       _strtoll32   _strtoll64   _strtoq32    _strtoq64
       _strtoul32   _strtoul64   _strtoull32  _strtoull64
       _strtouq32   _strtouq64   _tmpnam32    _tmpnam64
       _wcscat32    _wcscat64    _wcschr32    _wcschr64
       _wcscpy32    _wcscpy64    _wcsncat32   _wcsncat64
       _wcsncpy32   _wcsncpy64   _wcspbrk32   _wcspbrk64
       _wcsrchr32   _wcsrchr64   _wcsrtombs32 _wcsrtombs64
       _wcsstr32    _wcsstr64    _wcstok32    _wcstok64
       _wcstol32    _wcstol64    _wcstoul32   _wcstoul64
       _wcswcs32    _wcswcs64    _wmemchr32   _wmemchr64
       _wmemcpy32   _wmemcpy64   _wmemmove32  _wmemmove64
       _wmemset32   _wmemset64

5  –  V7.2 and Higher

    The following additional functions are available on OpenVMS VAX
    and OpenVMS Alpha Version 7.2 and higher:

       asctime_r      ctime_r     decc$set_child_standard_streams
       decc$write_eof_to_mbx      decc$validated lclose
       dlerror        dlopen      dlsym
       fcntl          gmtime_r    localtime_r
       wchar

6  –  V7.3 and Higher

    The following additional functions are available on OpenVMS VAX
    and OpenVMS Alpha Version 7.3 and higher:

       fchown
       link
       utime
       utimes
       writev

7  –  V7.3-1 and Higher

    The following additional functions are available on OpenVMS Alpha
    Version 7.3-1 and higher:

       access     fseeko
       chmod      ftello
       chown      ftw
       fstat      readdir_r
                  stat

       vfscanf    vfwscanf
       vscanf     vwscanf
       vsscanf    vswscanf

       decc$feature_get_index
       decc$feature_get_name
       decc$feature_get_value
       decc$feature_set_value

8  –  V7.3-2 and Higher

    The following additional functions are available on OpenVMS Alpha
    Version 7.3-2 and higher:

    a64l           clock_getres   clock_gettime    clock_settime
    endgrent       getgrent       getgrgid         getgrgid_r
    getgrnam       getgrnam_r     getpgid          getpgrp
    _getpwnam64    getpwnam_r     _getpwnam_r64    _getpwent64
    getpwuid       _getpwuid64    getpwuid_r       _getpwuid_r64
    getsid         l64a           nanosleep        poll
    pread          pwrite         rand_r           readv
    _readv64       seteuid        setgrent         setpgid
    setpgrp        setregid       setreuid         setsid
    sighold        sigignore      sigrelse         sigtimedwait
    sigwait        sigwaitinfo    snprintf         ttyname_r
    vsnprintf      __writev64     decc$set_child_default_dir

9  –  V8.2 and Higher

    The following additional functions are available on OpenVMS Alpha
    and Integrity servers Version 8.2 and higher:

    clearerr_unlocked    feof_unlocked
    ferror_unlocked      fgetc_unlocked
    fputc_unlocked       flockfile
    ftrylockfile         funlockfile
    getc_unlocked        getchar_unlocked
    putc_unlocked        putchar_unlocked
    statvfs              fstatvfs
    _glob32              _glob64
    _globfree32          _globfree64
    socketpair

10  –  V8.3 and Higher

    The following additional functions are available on OpenVMS Alpha
    and Integrity servers Version 8.3 and higher:

    crypt       fchmod
    encrypt     lstat
    setkey      readlink
    lchown      symlink
    realpath    unlink

11  –  V8.4 and Higher

    The following additional functions are available on OpenVMS Alpha
    and Integrity servers Version 8.4 and higher:

    ftok              sem_init
    semctl            sem_open
    semget            sem_post
    semop             sem_timedwait
    sem_close         sem_trywait
    sem_destroy       sem_unlink
    sem_getvalue      sem_wait
Close Help