Solaris Transition Guide

Examples

Below are sample table entries followed by an interpretation of the table entry.

SunOS release 4 System Call 

SunOS release 5.7 Status 

Alternative Available and Notes 

ABI 

SVID 

SVR4 

BSD 

mctl() (2)

The memcntl() (2) system call provides similar functionality.

The mctl() system call is not available in the ABI, SVID, SVR4, or the SunOS release 5.7 software. Any applications that use this system call should be rewritten to use the memcntl() call. A version of mctl() is available with the SunOS/BSD Compatibility package, but applications that use it will not be compatible with other SVR4 systems.

SunOS release 4 System Call 

SunOS release 5.7 Status 

Alternative Available and Notes 

ABI 

SVID 

SVR4 

BSD 

getsockname() (2)

S# 

The errno value ENOBUFS used by the SunOS release 4 getsockname() system call has been changed to ENOSR in the SVR4 and SunOS release 5.7 version.

S# 

The getsockname() system call is not defined in the ABI, or SVID. The getsockname() call in SunOS release 5.7 and SVR4 releases is the same as the one in the SunOS release 4 software, except the SunOS release 5.7 software sets errno to ENOSR for the error condition that previously would have set errno to ENOBUFS.