Skip to Main Content United States    
PRODUCTS SUPPORT SOLUTIONS SERVICES
COMPAQ SOFTWARE
Compaq C

Compaq C
Run-Time Library Reference Manual for OpenVMS Systems


Previous Contents Index

B.2 Functions Available on OpenVMS Version 6.2 and Higher

Table B-2 lists functions available on OpenVMS VAX and OpenVMS Alpha Version 6.2 and higher.

Table B-2 Functions Added in OpenVMS Version 6.2
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

B.3 Functions Available on OpenVMS Version 7.0 and Higher

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

Table B-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  

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

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

Table B-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    

B.5 Functions Available on OpenVMS Version 7.2 and Higher

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

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

B.6 Functions Available on OpenVMS Version 7.3 and Higher

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

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

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

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

Table B-7 Functions Added in OpenVMS Version 7.3-1
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  


Appendix C
Prototypes Duplicated to Non-Standard 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 C-1 lists these functions.

Table C-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
Buy Online or Call 1.800.888.0220      privacy statement and legal notices 
STORES CONTACT US SEARCH PRODUCTS SOLUTIONS OPTIONS DEVELOPERS