Table C-2 Library Routines Reference Table: baudrate() through bzero()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
S |
S |
N |
|
S |
A |
A |
A |
S |
||
S |
A |
A |
A |
S |
||
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
|
C |
The SunOS release 4 version of box() is a function while the SunOS release 5.7, or the SVID or SVR4 version of box(win,verch,horch)() is a macro that calls wborder(win, verch, verch, horch, horch, 0, 0, 0, 0)(). Default values defined in <curses.h> in the SunOS release 5.7, or the SVID or SVR4 environment--ACS_ULCORNER, ACS_URCORNER, ACS_BLCORNER, and ACS_BRCORNER, are used to draw the upper left and right and bottom left and right corners of the box around the window. Also, the type of arguments verch and horch in the SunOS release 4 software is char, while in SunOS release 5.7, or the SVID or SVR4 versions they are ch type. |
N |
C |
C |
S |
|
box() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
A |
A |
A |
S |
Table C-3 Library Routines Reference Table: calloc() through cv_waiters()
Table C-4 Library Routines Reference Table: dbm_clearerr() through dysize()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
N |
N |
N |
|
S |
The dbm_close() (3) routine provides similar functionality. |
N |
N |
N |
N |
|
S |
The dbm_delete() (3) routine provides similar functionality. |
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
S |
|
S |
|
N |
N |
N |
S |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
S |
|
A |
|
N |
N |
N |
S |
|
S |
|
N |
S |
S |
S |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
Table C-5 Library Routines Reference Table: ecb_crypt() through extended_to_decimal()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
N |
|
N |
N |
N |
N |
|
A |
The /etc/dfs/sharetab file replaces /etc/exports. Refer to share (1M), unshare (1M), and sharetab (4) for more information. |
A |
A |
A |
N |
|
A |
A |
A |
A |
N |
||
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
A |
This routine is replaced by fclose() (3). |
A |
A |
A |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
N |
Refer to ttymon (1) and ttydefs (4) for information about SunOS release 5.7 tty system. |
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
C |
The SunOS release 4 version of endwin() return value is undefined, while the SunOS release 5.7, or the SVID or SVR4 version returns OK upon success; otherwise , it returns ERR. |
N |
C |
C |
S |
|
endwin() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
C |
|
C |
C |
C |
N |
|
execl() (3V) -- SysV |
S |
|
S |
S |
S |
N |
C |
|
C |
C |
C |
N |
|
execle() (3V) -- SysV |
S |
|
S |
S |
S |
N |
C |
|
C |
C |
C |
N |
|
execlp() (3V) -- SysV |
S |
|
S |
S |
S |
N |
C |
|
C |
C |
C |
N |
|
execv() (3V) -- SysV |
S |
|
S |
S |
S |
N |
C |
|
C |
C |
C |
N |
|
execvp() (3V) -- SysV |
S |
|
S |
S |
S |
N |
C |
Both the SunOS release 4 and SunOS release 5.7, or the ABI, SVID, or SVR4 exit() routines do additional processing before the process exits. The SunOS release 4 exit() calls all functions registered by the on_exit() (3) routine while SunOS release 5.7, or the ABI, SVID, or SVR4 exit() calls all functions registered by the atexit() routine. If no functions have been added using the on_exit() (3) routine, then the SunOS release 4 and SunOS release 5.7, or the ABI, SVID, or SVR4 versions of exit() are compatible. |
C |
C |
C |
N |
|
C |
In the SunOS release 5.7, or the SVID or SVR4 version, exp() returns HUGE for overflow and 0 for underflow. In the SunOS release 4 version, the return values are IEEE overflow and underflow (implementation-defined). In the SunOS release 4 version, since HUGE is defined as +Infinity, exp()(HUGE) and exp()(-HUGE) do not overflow or underflow, hence no errno is produced. The SunOS release 5.7, or the SVID or SVR4 version sets errno to ERANGE. |
N |
C |
C |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
A |
The /etc/dfs/sharetab file replaces /etc/exports. Refer to share (1M), unshare (1M), and sharetab (4) man pages for more information. |
A |
A |
A |
N |
|
S |
|
N |
N |
N |
N |
Table C-6 Library Routines Reference Table: fabs() through fwrite()
Table C-7 Library Routines Reference Table: gamma() through gtty()
Table C-8 Library Routines Reference Table: halfdelay() through hypot()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
C |
In the SunOS release 4 software, HUGE is defined in <math.h> as infinity() (3M), which produces IEEE Infinity. In SunOS release 5.7, SVID, or SVR4 versions, HUGE is defined in <math.h> as a machine-dependent constant. |
N |
C |
C |
N |
|
C |
In the SunOS release 4 software, HUGE_VAL is defined in <math.h> as infinity() (3M), which produces IEEE Infinity. In the SunOS release 5.7, SVID, or SVR4 versions, HUGE_VAL is defined in <math.h> as a machine-dependent constant. |
N |
C |
C |
N |
|
S |
|
N |
S |
S |
N |
Table C-9 Library Routines Reference Table: idlok() through itom()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
The SunOS release 4 version of idlok() sets an insert/delete line flag for the window, which is ignored, while SunOS release 5.7, or the SVID, or SVR4 version of idlok() sets a flag that controls whether the insert/delete line feature is actually used. |
N |
C |
C |
S |
|
idlok() (3V) -- SysV |
S |
|
N |
S |
S |
N |
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
A |
A |
A |
S |
||
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
C |
The SunOS release 4 version of initscr() is a function while the SunOS release 5.7, SVID, or SVR4 version is a macro that calls initscr32(). If errors occur, the SunOS release 4 initscr() function returns ERR, while the SunOS release 5.7, SVID, or SVR4 version writes an appropriate error message to the standard error and exits. |
N |
C |
C |
S |
|
initscr() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
N |
A |
A |
S |
||
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
N |
Replaced by (int) rint(). |
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
Table C-10 Library Routines Reference Table: j0() through jrand48()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
In the SunOS release 4 software, j0(HUGE)(), j1(HUGE)(), and jn(4,HUGE)() will return zero with no error indication. In the SunOS release 5.7, SVID, or SVR4 software these routines will return zero, set errno to ERANGE, and print a message indicating a TLOSS math error on the standard error output. |
N |
C |
C |
N |
|
C |
|
N |
C |
C |
N |
|
C |
|
N |
C |
C |
N |
|
S |
|
N |
S |
S |
N |
Table C-11 Library Routines Reference Table: key_decryptsession() through kvm_write()
SunOS release 4 |
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 |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
Table C-12 Library Routines Reference Table: l3tol() through lwp_yield()
Table C-13 Library Routines Reference Table: madd() through mvwscanw()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
The mktemp() (3C) routine provides similar functionality. |
A |
A |
A |
N |
|
C |
The SunOS release 4 mktemp() routine replaces the trailing X characters of template with a letter and the current process ID. The SunOS release 5.7, ABI, SVID, or SVR4 version only specifies that it will replace the six trailing Xs with a character string that can be used to create a unique file name. If the application does not depend on the specific file name (that is, the application only cares that the name is unique), the SunOS release 4 and SunOS release 5.7, ABI, SVID, or SVR4 versions of mktemp() are compatible. |
C |
C |
C |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
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 |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
A |
A |
A |
A |
N |
||
N |
|
N |
N |
N |
N |
|
C |
The SunOS release 4 monitor() routine differs from the SunOS release 5.7, ABI, SVID, or SVR4 version in the following respects: In the SunOS release 4 software, to profile the entire program it is sufficient to use: extern etext(); monitor(N_TXTOFF(0),etext, buf, bufsize, nfunc)(); While with the SunOS release 5.7, ABI, SVID, or SVR4 monitor() routine, it is sufficient to use: extern int etext(); monitor((int(*)())2,etext, buf, bufsize, nfunc)(); In the SunOS release 4 software, to stop execution monitoring and write the results to the buf defined previously, use: monitor(0)(); While with the SunOS release 5.7, ABI, SVID, or SVR4 monitor() routine, use: monitor((int(*)())0,(int(*)())0,(WORD*) 0, 0,0)(); The prof (1) command can then be used to examine the results. |
C |
C |
C |
N |
|
A |
A |
A |
A |
N |
||
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
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 |
|
N |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
C |
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, ABI, SVID, or SVR4 version: EIO. In the SunOS release 4 version errno flag is set to EPERM if MS_INVALIDATE was specified and one or more of the pages is locked in memory, while in the SunOS release 5.7, ABI, SVID, or SVR4 version, errno is set to EBUSY instead. |
C |
C |
C |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
The return value of the SunOS release 4 version of mvcur() is undefined, while the SunOS release 5.7, SVID, or SVR4 version returns OK upon success; otherwise, it returns ERR. |
N |
C |
C |
S |
|
mvcur() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
C |
In the SunOS release 5.7, SVID, or SVR4 version, if the window is not a pad, and it has been moved or modified since the last call to wrefresh(), wrefresh() will be called before another character is read. In the SunOS release 4 software, wrefresh() will not be called under these circumstances. |
N |
C |
C |
N |
|
C |
See getstr() (3V) -- Sys V. |
N |
C |
C |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
See wprintw() (3V). |
N |
C |
C |
S |
|
mvprintw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
See wscanw() (3V). |
N |
C |
C |
S |
|
mvscanw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
In the SunOS release 5.7, SVID, or SVR4 version, if the window is not a pad and it has been moved or modified since the last call to wrefresh(), wrefresh() will be called before another character is read. In the SunOS release 4 software, wrefresh() will not be called under these circumstances. |
N |
C |
C |
N |
|
C |
See getstr() (3V) -- Sys V. |
N |
C |
C |
N |
|
C |
The SunOS release 4 version of mvwin() can be used to move subwindows, while the SunOS release 5.7, SVID, or SVR4 mvderwin() should be used to move subwindows (or derived windows) inside their parent windows. |
N |
C |
C |
S |
|
mvwin() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
|
N |
C |
C |
S |
|
mvwprintw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
See wscanw() (3V). |
N |
C |
C |
S |
|
mvwscanw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
Table C-14 Library Routines Reference Table: napms() through ntohs()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
N |
|
A |
N |
N |
N |
S |
||
S |
|
S |
S |
S |
S |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
C |
The SunOS release 4 version of nlist() returns the number of symbols not found, or -1 on error. The SunOS release 5.7, SVID, or SVR4 version returns 0 on success, and -1 on error. Note that the SunOS release 5.7 nlist() assumes an ELF format file and the 4.1 nlist() works only on a.out format files. |
N |
C |
C |
S |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
S |
|
|
N |
N |
N |
N |
N |
|
S |
|
N |
S |
S |
S |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
Table C-15 Library Routines Reference Table: on_exit() through overwrite()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
This routine is replaced by atexit(). Note that functions registered using atexit() are called without arguments. |
A |
A |
A |
N |
||
C |
The SunOS release 5.7, ABI, SVID, or SVR4 DIR structure does not have the dd_bsize and dd_off fields. Also, the SunOS release 5.7, ABI, SVID, or SVR4 dd_loc and dd_size fields are int rather than long. The SunOS release 5.7, ABI, SVID, or SVR4 version includes <sys/types.h> while the SunOS release 4 version does not. The SunOS release 5.7, ABI, SVID, or SVR4 version sets errno to ENOENT when the directory name argument points to an empty string. |
C |
C |
C |
N |
|
opendir() (3V) -- SysV |
S |
|
S |
S |
S |
N |
S |
|
N |
N |
N |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
S |
|
N |
N |
N |
N |
|
C |
The SunOS release 4 overlay() is a function while the SunOS release 5.7, SVID, or SVR4 version of overlay(srcwin,dstwin)() is a macro that calls _overlap((srcwin), (dstwin), TRUE)(). The SunOS release 4 version of overlay() return value is undefined, while SunOS release 5.7, or the SVID or SVR4 version returns OK upon success otherwise it returns ERR. |
N |
C |
C |
S |
|
overlay() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 4 version of overwrite() is a function while the SunOS release 5.7, SVID, or SVR4 version of overwrite(srcwin, dstwin)() is a macro that calls _overlap((srcwin), (dstwin), FALSE)(). The SunOS release 4 overwrite() return value is undefined, while the SunOS release 5.7, SVID, or SVR4 version returns OK upon success; otherwise, it returns ERR. |
N |
C |
C |
S |
|
overwrite() (3V) -- SysV |
S |
|
N |
S |
S |
N |
Table C-16 Library Routines Reference Table: passwd2des() through pwdauth()
Table C-17 Library Routines Reference Table: qsort() through quiet_nan()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
Table C-18 Library Routines Reference Table: rand() through rwall()
Table C-19 Library Routines Reference Table: SAMECV() through system()
Table C-20 Library Routines Reference Table: t_accept() through tzsetwall()
SunOS release 4 |
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 |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
N |
|
N |
N |
N |
N |
|
S |
|
S |
S |
S |
N |
|
C |
The SunOS release 5.7, SVID, or SVR4 software is supporting this routine as a conversion aid and it should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tgetent() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 software is supporting this routine as a conversion aid and it should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tgetflag() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 software is supporting this routine as a conversion aid and it should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tgetnum() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 software is supporting this routine as a conversion aid and it should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tgetstr() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 software is supporting this routine as a conversion aid and it should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tgoto() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
A |
A |
A |
A |
N |
||
S |
A |
A |
A |
N |
||
C |
The SunOS release 4 times() routine returns time values in units of 1/HZ seconds, where HZ is 60. The SunOS release 5.7, ABI, SVID, or SVR4 times() routine returns time values in units of 1/CLK_TCK of a second. |
C |
C |
C |
S |
|
S |
|
N |
N |
N |
N |
|
C |
|
C |
C |
C |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
toascii() (3V) -- SysV |
S |
|
S |
S |
S |
N |
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
tolower() (3V) -- SysV |
C |
The SunOS release 5.7, ABI, SVID, or SVR4 version of this routine is affected by the program's locale as specified by |
C |
C |
C |
N |
C |
The SunOS release 5.7, ABI, SVID, or SVR4 version of this routine returns ERR on failure and an integer other than ERR on success. |
N |
C |
C |
S |
|
touchline() (3V) -- SysV |
S |
|
N |
S |
S |
N |
N |
|
N |
N |
N |
S |
|
C |
The SunOS release 5.7, ABI, SVID, or SVR4 version of this routine returns ERR on failure and an integer other than ERR on success. |
N |
C |
C |
S |
|
touchwin() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
toupper(3V) -- SysV |
C |
The SunOS release 5.7, ABI, SVID, or SVR4 version of this routine is affected by the program's locale as specified by |
C |
C |
C |
N |
S |
|
N |
S |
S |
N |
|
C |
The SunOS release 5.7, SVID, or SVR4 software supports this routine as a conversion aid. It should not be used in new applications. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
tputs() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
N |
S |
N |
|
S |
|
S |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
See ctime() (3V). |
C |
C |
C |
N |
|
A |
This routine is replaced by tzset() (3C) . |
A |
A |
A |
N |
Table C-21 Library Routines Reference Table: ualarm() through utime()
Table C-22 Library Routines Reference Table: valloc() through vwscanw()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
S |
|
N |
N |
S |
N |
|
S |
|
N |
N |
N |
N |
|
C |
See vprintf() (3V). |
C |
C |
C |
S |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
A |
A |
A |
A |
N |
||
C |
The SunOS release 4 vprintf(), vfprintf(), and vsprintf() routines are incompatible with the SunOS release 5.7, ABI, SVID, or SVR4 version of these routines because of variable format list differences. In the SunOS release 4 software, (va_alist (defined in <varargs.h>) is used in a function header to declare a variable argument list (for example, void function(va_alist)). In theSunOS release 5.7, ABI, SVID, or SVR4 version the definition from <stdarg.h> is used in a function header to declare a variable argument list (for example, void function (int arg1,...)). |
C |
C |
C |
S |
|
C |
See vprintf() (3V). |
C |
C |
C |
S |
|
S |
N |
N |
N |
N |
||
A |
N |
N |
N |
N |
||
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
Table C-23 Library Routines Reference Table: waddch() through wstandout()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
The characters in the SunOS release 5.7 software are chtype (long) if CHTYPE is not defined differently for <curses.h>. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. The SunOS release 5.7, SVID, or SVR4 header file <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
waddch() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of waddstr() (3V) returns ERR (-1) on failure. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
waddstr() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
S |
|
N |
S |
S |
N |
|
C |
The SunOS release 5.7, SVID, or SVR4 version of wclear() routine always returns (OK = 0) upon success
while the SunOS release 4 software returns void. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wclear() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wclrtobot() (3V) routine always returns (OK = 0)
upon success while the SunOS release 4 software returns void. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wclrtobot() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 routine always returns (OK = 0) upon success while the SunOS release 4 software returns void. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wclrtoeol() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
The size of wchar_t is short in the SunOS release 4 software and long in the SunOS release 5.7 software. |
S |
S |
S |
N |
|
S |
The size of wchar_t is short in the SunOS release 4 software and long in the SunOS release 5.7 software. |
S |
S |
S |
N |
|
C |
In the SunOS release 5.7, SVID, or SVR4 software this routine may be a macro, while it always is in the SunOS release 4 software. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
wdelch() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
In the SunOS release 5.7, SVID, or SVR4 software this routine may be a macro, while it always is in the SunOS release 4 software. The SunOS release 5.7, SVID, or SVR4 version returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
wdeleteln() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
C |
In the SunOS release 5.7, SVID, or SVR4 software this routine returns OK(0) or a non-negative integer if immedok is set. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
werase() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wgetch() returns ERR on failure and an integer value other than ERR upon successful completion. The SunOS release 5.7, SVID, or SVR4 version also has additional support for function keys. |
N |
C |
C |
S |
|
wgetch() (3V) -- SysV |
C |
In the SunOS release 5.7, SVID, or SVR4 software, if the window is not a pad, and it has been moved or modified since the last call to wrefresh(), wrefresh() will be called before another character is read. In the SunOS release 4 software, wrefresh() will not be called under these circumstances. |
N |
C |
C |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wgetstr() returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
wgetstr() (3V) -- SysV |
C |
See getstr() (3V) -- Sys V. |
N |
C |
C |
N |
S |
|
N |
S |
S |
S |
|
C |
The SunOS release 5.7, SVID, or SVR4 version of winsch() returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
winsch() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of winsertln() returns ERR on failure and an integer value other than ERR upon successful completion. This can be a macro in SunOS release 5.7, or the SVID or SVR4. |
N |
C |
C |
S |
|
winsertln() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wmove() returns ERR on failure and an integer value other than ERR upon successful completion. |
N |
C |
C |
S |
|
wmove() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
C |
The SunOS release 5.7, SVID, or SVR4 version of wprintw() returns ERR on failure and an integer value other than ERR upon successful completion. The SunOS release 4 version returns void. SunOS release 5.7, or the SVID or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wprintw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wrefresh() returns (ERR = -1) on failure and some other integer on success while SunOS release 4 returns void. SunOS release 5.7, or the SVID or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wrefresh() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
The SunOS release 5.7, SVID, or SVR4 version of wscanw() returns an int containing the number of fields mapped by the call while the SunOS release 4 version returns void. The SunOS release 5.7, SVID, or SVR4 header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if |
N |
C |
C |
S |
|
wscanw() (3V) -- SysV |
S |
|
N |
S |
S |
N |
S |
|
N |
S |
S |
N |
|
C |
This is a curses() (3V) function that clears all window attributes using attrset(0)(). The SunOS release 4 version always returns undefined while the SunOS release 5.7, SVID, or SVR4 standout() routine always returns 1 (success). |
N |
C |
C |
S |
|
wstandend() (3V) -- SysV |
S |
|
N |
S |
S |
N |
C |
This is a curses() (3V) function that sets the A_STANDOUT attribute to enable the terminals best standout mode for a window. The SunOS release 4 version uses attron(A_STANDOUT)() for this function and returns undefined. The SunOS release 5.7, SVID, or SVR4 standout() routine is the same as: attron(A_STANDOUT)() and always returns 1 (success). |
N |
C |
C |
S |
|
wstandout() (3V) -- SysV |
S |
|
N |
S |
S |
N |
Table C-24 Library Routines Reference Table: xcrypt() through xtom()
Table C-25 Library Routines Reference Table: y0() through yn()
SunOS release 4 |
SunOS release 5.7 Status |
Notes |
ABI |
SVID |
SVR4 |
BSD |
---|---|---|---|---|---|---|
C |
In the SunOS release 4 software, when these routines have undefined results they return NaN, with an EDOM error and a DOMAIN matherr. In the SunOS release 5.7, SVID, or SVR4 software, they return -HUGE with an EDOM error and a DOMAIN matherr. In the SunOS release 4 software, y0(HUGE)(), y1(HUGE)(), yn(9,HUGE)() will return zero with no error indication. |
N |
C |
C |
N |
|
C |
In the SunOS release 4 software, when these routines have undefined results they return NaN, with an EDOM error and a DOMAIN matherr. In the SunOS release 5.7, SVID, or SVR4 software, they return -HUGE with an EDOM error and a DOMAIN matherr. In the SunOS release 4 software, y0(HUGE)(), y1(HUGE)(), yn(9,HUGE)() will return zero with no error indication. |
N |
C |
C |
N |
|
C |
In the SunOS release 4 software, when these routines have undefined results they return NaN, with an EDOM error and a DOMAIN matherr. In the SunOS release 5.7, SVID, or SVR4 software, they return -HUGE with an EDOM error and a DOMAIN matherr. In the SunOS release 4 software, y0(HUGE)(), y1(HUGE)(), yn(9,HUGE)() will return zero with no error indication. |
N |
C |
C |
N |