SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
Now accept() (3N). |
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
C# |
The following symbolic names are valid for the acct structure member ac_flag (defined in <sys/acct.h>) for SunOS release 4 version, but not for SunOS release 5.7, ABI, SVID, and SVR4 versions: ACOMPAT, ACORE, AXSIG. Also, the accounting record format differs between SunOS release 4 and SunOS release 5.7, ABI, SVID, and SVR4 versions. |
C# |
C# |
C# |
N |
|
S |
|
N |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
Table B-2 System Calls Reference Table: bind() through brk()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
Now bind() (3N). |
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
Table B-3 System Calls Reference Table: chdir() through creat()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
S |
S |
N |
|
C# |
The following symbolic access modes (<sys/stat.h>) are supported by SunOS release 4 chmod() function but not by SunOS release 5.7, ABI, SVID, or SVR4 versions: S_IREAD (00400), S_IWRITE (00200), S_IEXEC (00100). However, the equivalent SunOS release 5.7, ABI, SVID, or SVR4 symbolic access modes S_IRUSR (00400), S_IWUSR (00200) and S_IXUSR (00100) have the same meanings. |
C# |
C# |
C# |
N |
|
C |
In the SunOS release 4 version, the owner and group arguments of chown() are of type int. In the SunOS release 5.7 software, ABI, SVID, and SVR4, owner is of type uid_t, and group is of type gid_t. In the SunOS release 4 version, if the final component of path is a symbolic link, the ownership of the symbolic link was changed. In the SunOS release 5.7 version, chown() changes the ownership of the file or directory referred to by the symbolic link. Use lchown() (2) to change the ownership of a symbolic link. |
C |
C |
C |
N |
|
chown() (2V) -- SysV |
S |
|
S |
S |
S |
N |
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S# |
Now connect() (3N). |
N |
N |
S# |
N |
|
C# |
In the SunOS release 4 software, the mode argument to creat() is of type int, while in SunOS release 5.7, ABI, SVID, and SVR4 versions, the mode argument is of type mode_t. Also, SunOS release 5.7, ABI, SVID, and SVR4 versions include <fcntl.h> while the SunOS release 4 version does not. The following symbolic access modes (<sys/stat.h>) are supported by SunOS release 4 version of creat(), but not by SunOS release 5.7, ABI, SVID, or SVR4 versions: S_IREAD (00400), S_IWRITE (00200), S_IEXEC (00100). However, the equivalent SunOS release 5.7, ABI, SVID, and SVR4 symbolic access modes S_IRUSR (00400), S_IWUSR (00200), and S_IXUSR (00100) do have the same definitions, are defined in SunOS release 4 <sys/stat.h>, and thus should be used. The following errno flags are valid for the SunOS release 4 version of this system call but are not valid in SunOS release 5.7, ABI, SVID, or SVR4 versions: ENXIO, EOPNOTSUPP. |
C# |
C# |
C# |
N |
|
creat() (2V) -- SysV |
C# |
The following symbolic access modes (<sys/stat.h>) are supported by the SunOS release 4 version of creat(), but not by SunOS release 5.7, ABI, SVID, or SVR4 versions: S_IREAD (00400), S_IWRITE (00200), S_IEXEC (00100). However, the equivalent SunOS release 5.7, ABI, SVID, and SVR4 symbolic access modes S_IRUSR (00400), S_IWUSR (00200), and S_IXUSR (00100) do have the same definitions, are defined in SunOS release 4 <sys/stat.h>, and thus should be used. The following errno flags are valid for the SunOS release 4 version of this system call but are not valid in SunOS release 5.7, ABI, SVID, or SVR4 versions: ENXIO, EOPNOTSUPP. |
C# |
C# |
C# |
N |
Table B-4 System Calls Reference Table: dup() through dup2()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
S |
S |
N |
|
S |
Now dup2() (3C). |
S |
S |
S |
N |
Table B-5 System Calls Reference Table: execve() through _exit()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
Table B-6 System Calls Reference Table: fchdir() through ftruncate()
Table B-7 System Calls Reference Table: getauid() through getuid()
Table B-8 System Calls Reference Table: ioctl()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
C |
C |
C |
N |
Table B-9 System Calls Reference Table: kill() through killpg()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
In the SunOS release 4 software, if a signal is sent to a group of processes (as with, if pid is 0 or negative), and if the process sending the signal is a member of that group, the signal is not sent to the sending process as well. In SunOS release 5.7, ABI, SVID, and SVR4 versions, the signal is sent to the sending process as well. In the SunOS release 4 software, the pid argument is of type int, while in the SunOS release 5.7, ABI, SVID, and SVR4 versions, the pid argument is of type pid_t. Also, SunOS release 5.7, ABI, SVID, and SVR4 versions include <sys/types.h> while the SunOS release 4 version does not. |
C |
C |
C |
N |
|
kill() (2V) -- SysV |
S |
|
S |
S |
S |
N |
A |
Now killpg() (3C). The kill() (2) system call provides similar functionality. Replace killpg()( pgrp, sig) with kill()(-pgrp, sig). |
A |
A |
A |
S |
Table B-10 System Calls Reference Table: link() through lstat()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
In the SunOS release 5.7, ABI, SVID, and SVR4 version of link(), if the last component of the first argument is a symbolic link, it will not be followed and a hard link will be made to the symbolic link. |
C |
C |
C |
N |
|
S |
Now listen() (3N). |
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
Table B-11 System Calls Reference Table: mctl() through munmap()
Table B-12 System Calls Reference Table: nfssvc()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
A |
This interface is replaced in SunOS release 5.7 by the
nfssys()( |
N |
N |
N |
N |
Table B-13 System Calls Reference Table: open() through open() -- SysV
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C# |
The mode argument to open() is of type int in the SunOS release 4 software and of type mode_t in SunOS release 5.7, ABI, SVID, and SVR4 versions. In the SunOS release 4 software, if the path argument is an empty string, the kernel maps this empty pathname to `.', the current directory. In SunOS release 5.7, ABI, SVID, and SVR4 versions, if path points to an empty string an error results. In the SunOS release 4 software, if the Also, SunOS release 5.7, ABI, SVID, and SVR4 versions include <sys/types.h> and <sys/stat.h> while the SunOS release 4 version does not. The following errno value is valid for the SunOS 4.1 version of this system call but is not returned in SunOS release 5.7, ABI, SVID, and SVR4 versions: EOPNOTSUPP. |
C# |
C# |
C# |
N |
|
open() (2V) -- SysV |
S# |
The following errno value is valid for the SunOS release 4 version of this system call but is not returned in SunOS release 5.7, ABI, SVID, and SVR4 versions: EOPNOTSUPP. |
S# |
S# |
S# |
N |
Table B-14 System Calls Reference Table: pathconf() through putmsg()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
C# |
The optional addr2 argument to the SunOS release 4 software ptrace() system call is not supported
by the SunOS release 5.7 routine. The request argument to ptrace() is of type enum The pid argument to ptrace() is of type int in the SunOS release 4 software and of type pid_t in theSunOS release 5.7 version. Also, the SunOS release 5.7 version includes <sys/types.h> while the SunOS release 4 version includes <signal.h>, <sys/ptrace.h>, and <sys/wait.h>. The following errno flag is valid for the SunOS release 4 version of this system call, but is not valid in the SunOS release 5.7 version: EPERM. See "ptrace() Request Values" for information on valid request values. |
C# |
C# |
C# |
N |
|
S |
|
S |
S |
S |
N |
Table B-15 System Calls Reference Table: quotactl()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
A |
The |
A |
A |
A |
N |
Table B-16 System Calls Reference Table: read() through rmdir()
Table B-17 System Calls Reference Table: sbrk() through sysconf()
Table B-18 System Calls Reference Table: tell() through truncate()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
N |
S |
N |
|
S |
Now truncate() (3C). |
N |
N |
S |
N |
Table B-19 System Calls Reference Table: umask() through utimes()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
The following symbolic access modes (<sys/stat.h>) are supported by the SunOS release 4 version of umask(), but not by SunOS release 5.7, ABI, SVID, and SVR4 versions: S_IREAD (00400), S_IWRITE (00200), S_IEXEC (00100). However, the equivalent SunOS release 5.7, ABI, SVID, and SVR4 symbolic access modes, S_IRUSR (00400), S_IWUSR (00200), and S_IXUSR (00100) do have the same definitions, are defined in SunOS release 4 <sys/stat.h>, and thus should be used. |
C |
C |
C |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
A |
The umount() (2) system call provides similar functionality. |
A |
A |
A |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
Table B-20 System Calls Reference Table: vadvise() through vhangup()
SunOS release 4 System Call |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
Table B-21 System Calls Reference Table: wait() through WTERMSIG()