HP C
Run-Time Library Reference Manual for OpenVMS Systems


Previous Contents Index

A.3 Functions Available on OpenVMS Version 7.0 and Higher

Table A-3 lists functions available on OpenVMS VAX and OpenVMS Alpha Version 7.0 and higher.

Table A-3 Functions Added in OpenVMS Version 7.0
basename bcmp bcopy btowc
bzero closedir confstr dirname
drand48 erand48 ffs fpathconf
ftruncate ftw fwide fwprintf
fwscanf getclock getdtablesize getitimer
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  

A.4 Functions Available on OpenVMS Alpha Version 7.0 and Higher

Table A-4 lists functions available on OpenVMS Alpha Version 7.0 and higher.

Table A-4 Functions Added in OpenVMS Alpha Version 7.0
_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    

A.5 Functions Available on OpenVMS Version 7.2 and Higher

Table A-5 lists functions available on OpenVMS VAX and OpenVMS Alpha Version 7.2 and higher.

Table A-5 Functions Added in OpenVMS Version 7.2
asctime_r dlerror
ctime_r dlopen
decc$set_child_standard_streams dlsym
decc$validate_wchar fcntl
decc$write_eof_to_mbx gmtime_r
dlclose localtime_r

A.6 Functions Available on OpenVMS Version 7.3 and Higher

Table A-6 lists functions available on OpenVMS VAX and OpenVMS Alpha Version 7.3 and higher.

Table A-6 Functions Added in OpenVMS Version 7.3
fchown  
link  
utime  
utimes  
writev  

A.7 Functions Available on OpenVMS Version 7.3-1 and Higher

Table A-7 lists functions available on OpenVMS Alpha Version 7.3-1 and higher.

Table A-7 Functions Added in OpenVMS Version 7.3-1
access ftello
chmod ftw
chown readdir_r
decc$feature_get_index stat
decc$feature_get_name vfscanf
decc$feature_get_value vfwscanf
decc$feature_set_value vscanf
fseeko vwscanf
fstat vsscanf
  vswscanf

A.8 Functions Available on OpenVMS Version 7.3-2 and Higher

Table A-8 lists functions available on OpenVMS Alpha Version 7.3-2 and higher.

Table A-8 Functions Added in OpenVMS Version 7.3-2
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  

A.9 Functions Available on OpenVMS Version 8.2 and Higher

Table A-9 lists functions available on OpenVMS Alpha and I64 Version 8.2 and higher.

Table A-9 Functions Added in OpenVMS Version 8.2
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  

A.10 Functions Available on OpenVMS Version 8.3 and Higher

Table A-10 lists functions available on OpenVMS Alpha and I64 Version 8.3 and higher.

Table A-10 Functions Added in OpenVMS Version 8.3
crypt readlink
encrypt realpath
setkey symlink
lchown unlink
lstat fchmod


Appendix B
Prototypes Duplicated to Nonstandard Headers

The various standards dictate which header file must define each of the standard functions. This is the included header file documented with each function prototype in the Reference Section of this manual.

However, many of the functions defined by the standards already existed on several operating systems and were defined in different header files. This is especially true on OpenVMS systems with the header files <processes.h> , <unixio.h> , and <unixlib.h> .

So, to provide upward compatibility for these functions, their prototypes are duplicated in both the expected header file as well as the header file defined by the standards.

Table B-1 lists these functions.

Table B-1 Duplicated Prototypes
Function Duplicated in Standard says
access <unixio.h> <unistd.h>
alarm <signal.h> <unistd.h>
bcmp <string.h> <strings.h>
bcopy <string.h> <strings.h>
bzero <string.h> <strings.h>
chdir <unixio.h> <unistd.h>
chmod <unixio.h> <stat.h>
chown <unixio.h> <unistd.h>
close <unixio.h> <unistd.h>
creat <unixio.h> <fcntl.h>
ctermid <stdio.h> <unistd.h>
cuserid <stdio.h> <unistd.h>
dirname <string.h> <libgen.h>
dup <unixio.h> <unistd.h>
dup2 <unixio.h> <unistd.h>
ecvt <unixlib.h> <stdlib.h>
execl <processes.h> <unistd.h>
execle <processes.h> <unistd.h>
execlp <processes.h> <unistd.h>
execv <processes.h> <unistd.h>
execve <processes.h> <unistd.h>
execvp <processes.h> <unistd.h>
_exit <stdlib.h> <unistd.h>
fcvt <unixlib.h> <stdlib.h>
ffs <string.h> <strings.h>
fsync <stdio.h> <unistd.h>
ftime <time.h> <timeb.h>
gcvt <unixlib.h> <stdlib.h>
getcwd <unixlib.h> <unistd.h>
getegid <unixlib.h> <unistd.h>
getenv <unixlib.h> <stdlib.h>
geteuid <unixlib.h> <unistd.h>
getgid <unixlib.h> <unistd.h>
getopt <stdio.h> <unistd.h>
getpid <unixlib.h> <unistd.h>
getppid <unixlib.h> <unistd.h>
getuid <unixlib.h> <unistd.h>
index <string.h> <strings.h>
isatty <unixio.h> <unistd.h>
lseek <unixio.h> <unistd.h>
mkdir <unixlib.h> <stat.h>
mktemp <unixio.h> <stdlib.h>
nice <stdlib.h> <unistd.h>
open <unixio.h> <fcntl.h>
pause <signal.h> <unistd.h>
pipe <processes.h> <unistd.h>
read <unixio.h> <unistd.h>
rindex <string.h> <strings.h>
sbrk <stdlib.h> <unistd.h>
setgid <unixlib.h> <unistd.h>
setuid <unixlib.h> <unistd.h>
sleep <signal.h> <unistd.h>
strcasecmp <string.h> <strings.h>
strncasecmp <string.h> <strings.h>
system <processes.h> <stdlib.h>
times <time.h> <times.h>
umask <stdlib.h> <stat.h>
vfork <processes.h> <unistd.h>
wait <processes.h> <wait.h>
write <unixio.h> <unistd.h>


Index Contents