Solaris Transition Guide

Using the Reference Table

The SunOS release 4 software offers a System V Software installation option that provides System V compatible versions of many utilities, system calls, and library routines. The System V interfaces are included in the following tables. When referring to the System V version of a SunOS release 4 interface, the string SysV is appended to the interface.

For complete information on all Solaris 7 interfaces, see the man Pages(2): System Calls.


Note -

System Calls are functions. Functions in this appendix are identified by an empty set of parentheses immediately following the function name. When you see a second set of parentheses containing a number, this nomenclature identifies the associated man page section.


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.