Source Compatibility Guide

Library Routines

The Source Compatibility Package includes a set of compatibility libraries. These libraries can be found in /usr/ucblib, and they consist of:

The routines in Table 2-6 are available with the compatibility package. Routines shown below in bold also exist in the default system:

Table 2-6 Library Routines

 

Library Routines 

 

alphasort 

printf 

setvbuf  

bcmp 

rand 

sleep  

bcopy 

random 

sprintf  

bzero 

re_comp 

srand  

fopen 

re_exec 

srandom  

fprintf 

readdir 

sys_siglist  

freopen 

rindex 

times  

ftime 

scandir 

ualarm  

getwd 

setbuf 

usleep  

index 

setbuffer 

vfprintf  

initstate 

setlinebuf 

vprintf  

nice 

setstate 

vsprintf  

nlist 

 

 

Compatibility library routines are placed in one of the following libraries: libcurses, libdbm, librpcsoc, libtermcap, and libucb.

The descriptions of the routines found in these libraries are divided by the libraries. Many of these routines are not included in the default SunOS 5.x libraries, but are useful enough to be retained for backward compatibility.

The routines in Table 2-6 are included in compatibility libraries for backwards compatibility purposes. At some later date these routines may not be supported and may eventually be discarded.