Appendix C Library Routines Reference Table
This appendix contains the Library Routine reference table. This table list all SunOS release 4 library routines and shows their status in the Solaris 7, the ABI, the SVID, SVR4, and the SunOS/BSD Source Compatibility Package environments.
Using the Reference Table
-
If an interface is listed as "changed" (C), a brief description of differences between the SunOS release 4 and the Solaris 7 routine is provided.
-
If an interface is listed as "the same" (S), the Solaris 7 interface supports all features of the SunOS release 4 interface. In some cases the interface has been enhanced, but can be considered a complete superset of the SunOS release 4 interface.
-
If an interface has an "alternative" (A), check the Notes section for its replacement.
-
If an interface is listed as "not available" (N), check the Notes section for information about its replacement. Routines listed in the SunOS release 5.7 column replace the SunOS release 4 interface.
SunOS release 4 offers a System V Software installation option that provides System V compatible versions of many 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.
Routines that exist in both /usr/lib and /usr/5lib have two table entries. The first documents the /usr/lib routine, and the second entry documents the /usr/5lib routine.
For complete information on all Solaris 7 interfaces, see the man Pages(3): Library Routines.
Examples
Below are sample table entries followed by an interpretation of the entry.
|
SunOS release 4 Command
|
SunOS release 5.7 Status
|
Alternative Available and Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
clntraw_create() (3N)
|
S
|
This routine is still available, but is superseded by clnt_raw_create() (3N) in the SunOS release 5.7 and SVR4 versions.
|
A
|
A
|
S
|
N
|
The clntraw_create() routine exists in this release, but it also has a replacement routine: clnt_raw_create(). Applications that use clntraw_create() will continue to work in this release and on other SVR4-compliant systems, but these applications should be updated to use clnt_raw_create(). clntraw_create() is considered obsolete, and may not be available in future releases. If you want your application to be ABI-- or SVID-- compliant, use clnt_raw_create().
|
SunOS release 4 Command
|
SunOS release 5.7 Status
|
Alternative Available and Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
putpwent() (3)
|
S
|
|
S
|
S
|
S
|
N
|
The SunOS release 4 putpwent() routine and the SunOS release 5.7 routine are the same. Applications that use this routine will behave as they did in the SunOS release 4 software.
Library Routines
Table C-1 Library Routines Reference Table:
a64l() through
authunix_create _default()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
a64l() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
abort() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
abs() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
acos() (3M)
|
C
|
In the SunOS release 4 software, if the absolute value of the argument of acos() is greater than 1, NaN is returned with an EDOM error and a DOMAIN math err. The SunOS release 5.7, the SVID, or SVR4 versions return zero with an EDOM error and a DOMAIN math err.
|
N
|
C
|
C
|
N
|
|
acosh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
addch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
addexportent() (3)
|
A
|
The /etc/dfs/sharetab file replaces /etc/exports. Refer to the share (1M), unshare (1M), and sharetab (4) man pages for more information.
|
N
|
N
|
N
|
N
|
|
addmntent() (3)
|
A
|
The putmntent() routine provides similar functionality. Refer to getmntent() (3C).
|
N
|
N
|
N
|
N
|
|
addstr() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
agt_create() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
agt_enumerate() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
agt_trap() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
aint() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
aiocancel() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
aioread() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
aiowait() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
aiowrite() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
alarm() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
alloca() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
alphasort() (3)
|
N
|
|
N
|
N
|
N
|
S
|
|
anint() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
annuity() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
arc() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
asctime() (3V)
|
C
|
See ctime() (3V).
|
C
|
C
|
C
|
N
|
|
asin() (3M)
|
C
|
In the SunOS release 4 software, if the absolute
value of the argument of asin() is greater than 1, NaN is returned with an EDOM error and a DOMAIN math err. The SunOS release 5.7, SVID, or SVR4 versions return zero with an EDOM error and a DOMAIN math err.
|
N
|
C
|
C
|
N
|
|
asinh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
assert() (3V)
|
C
|
The SunOS release 4 version of assert() calls exit() (3C) while the SunOS release 5.7, ABI,
SVID, or SVR4 versions call abort() (3C).
|
C
|
C
|
C
|
N
|
|
assert() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
atan() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
atan2() (3M)
|
C
|
The SunOS release 5.7, the SVID, or SVR4 version of atan2(0.0,0.0)() returns zero and sets errno to EDOM. In the SunOS release 4 version, the same call might return +/-0.0 or +/- PI in conformance with 4.3BSD in the spirit of ANSI/IEEEStd754- 1985.
|
N
|
C
|
C
|
N
|
|
atanh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
atof() (3)
|
C
|
See strtod() (3).
|
C
|
C
|
C
|
N
|
|
atoi() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
atol() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
attroff() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
attron() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
attrset() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
audit_args() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
audit_text() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
authdes_create() (3N)
|
A
|
This routine is still available, but is superseded by authdes_seccreate() (3N) in SunOS release 5.7, or the ABI, SVID, or SVR4.
|
A
|
A
|
A
|
N
|
|
authdes_getucred() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
auth_destroy() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
authnone_create() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
authunix_create() (3N)
|
A
|
This routine is still available, but is superseded by authsys_seccreate() (3N).
|
A
|
A
|
A
|
N
|
|
authunix_create _default() (3N)
|
A
|
This routine is still available, but is superseded by authsys_create_default() (3N).
|
A
|
A
|
A
|
N
|
Table C-2 Library Routines Reference Table:
baudrate() through
bzero()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
baudrate() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
bcmp() (3)
|
S
|
Now bcmp() (3C).
|
A
|
A
|
A
|
S
|
|
bcopy() (3)
|
S
|
Now bcopy() (3C).
|
A
|
A
|
A
|
S
|
|
beep() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
bindresvport() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
bootparam() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
box() (3V)
|
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
|
|
bsearch() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
byteorder() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
bzero() (3)
|
S
|
Now bzero() (3C).
|
A
|
A
|
A
|
S
|
Table C-3 Library Routines Reference Table:
calloc() through
cv_waiters()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
calloc() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
callrpc() (3N)
|
A
|
This routine is still available, but is superseded by rpc_call() (3N).
|
N
|
N
|
S
|
N
|
|
catclose() (3C)
|
S
|
|
S
|
S
|
S
|
N
|
|
catgetmsg() (3C)
|
A
|
In the SunOS release 5.7, or the ABI, SVID, or SVR4 environment, use catgets() (3C) followed by strncpy() (3) to copy the catalog message from the internal buffer
area to a program buffer.
|
A
|
A
|
A
|
N
|
|
catgets() (3C)
|
S
|
|
S
|
S
|
S
|
N
|
|
catopen() (3C)
|
S
|
|
S
|
S
|
S
|
N
|
|
cbc_crypt() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
cbreak() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
cbrt() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
ceil() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
cfgetispeed() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
cfgetospeed() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
cfree() (3)
|
A
|
This routine is replaced by
void free(void*ptr)().
Refer to malloc() (3C)) man page.
|
A
|
A
|
A
|
N
|
|
cfsetispeed() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
cfsetospeed() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
CHECK() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
circle() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
clear() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
clearerr() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
clearok() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
clnt_broadcast() (3N)
|
S
|
This routine is still available, but is superseded by rpc_broadcast() (3N).
|
A
|
A
|
A
|
N
|
|
clnt_call() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_control() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_create() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_destroy() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_freeres() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_geterr() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_pcreateerror() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_perrno() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_perror() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_spcreateerror() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_sperrno() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clnt_sperror() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
clntraw_create() (3N)
|
S
|
This routine is still available, but is superseded by clnt_raw_create() (3N) in the SunOS release 5.7 and SVR4 software.
|
A
|
A
|
S
|
N
|
|
clnttcp_create() (3N)
|
S
|
This routine is still available, but is superseded by the clnt_create() (3N), clnt_tli_create() (3N), and clnt_vc_create() (3N) routines in SunOS release 5.7, or the ABI, SVID, or SVR4.
|
N
|
N
|
S
|
S
|
|
clntudp_bufcreate() (3N)
|
S
|
This routine is still available, but is superceded by clnt_create() (3N), clnt_tli_create() (3N), and clnt_dg_create() (3N) routines.
|
N
|
N
|
S
|
|
|
clntudp_create() (3N)
|
S
|
This routine is still available, but is superseded by the clnt_create() (3N), clnt_tli_create() (3N), and clnt_dg_create() (3N) routines .
|
N
|
N
|
S
|
S
|
|
clock() (3C)
|
S
|
|
S
|
S
|
S
|
N
|
|
closedir() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
closedir() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
closelog() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
closepl() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
clrtobot() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
clrtoeol() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
compound() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
cont() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
copysign() (3M)
|
N
|
|
N
|
N
|
S
|
N
|
|
copywin() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
cos() (3M)
|
C
|
For arguments that are much
lower than zero, the SunOS release 5.7, or the SVID or SVR4 version of these routines returns zero because of the loss of significance. In this case, a message indicating TLOSS (see
matherr() (3M)) appears on the standard output. For cases of partial loss of significance, a PLOSS error is generated, but no error is printed. In both cases, errno is set to ERANGE. In the SunOS release 4 version, an argument reduction takes place for values exceeding PI/4 in magnitude. The reduction could happen in software or hardware.
The variable fp_pi defined in <math.h> allows changing of the precision at runtime. The error exceptions
occur in the IEEE 754 spirit for both versions.
|
N
|
C
|
C
|
N
|
|
cosh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
crmode() (3X)
|
A
|
This routine is replaced by cbreak() . See curs_inopts() (3X).
|
A
|
A
|
A
|
N
|
|
_crypt() (3)
| C |
The crypt() (3C) routine provides similar functionality.
|
N
|
A
|
A
|
N
|
|
crypt() (3)
|
C
|
In the SunOS release 4 version, the first two characters of the salt argument are interpreted and checked for (##and#$) as special cases in order to call additional authentication routines (pwdauth() (3) and grpauth() (3) respectively). If these functions return TRUE, the salt is returned from crypt(). Otherwise, NULL is returned. In the SunOS release 5.7, or the SVID or SVR4 version, this functionality is not supported.
|
N
|
C
|
C
|
N
|
|
ctermid() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
ctime() (3V)
|
C
|
The SunOS release 4 tm structure contains two fields not present in the SunOS release 5.7, or the ABI, SVID, or SVR4 tm structure: tm_zone and tm_gmtoff. Instead, the SunOS release 5.7, or the ABI, SVID, or SVR4 version uses the external variable timezone to contain the difference (in seconds) between GMT and local standard time, and the external variable daylight to indicate if daylight savings should be applied. Additionally, the SunOS release 5.7, or the ABI, SVID, or SVR4 version uses an external variable tzname to store
standard and summer time zone names. These external variables (timezone, daylight, and tzname) are supported by the SunOS release 4 System V ctime() (3V) library routines.
The use of the environmental variable TZ differs between the SunOS release 4 and the SunOS release 5.7, or the ABI, SVID, or SVR4 versions. In the SunOS release 4 version, TZ contains the pathname of tzfile-format file from which to read the time conversion information. In the SunOS release 5.7, or the ABI, SVID, or SVR4 versions, TZ itself contains the time conversion information
(of different format than the tzfile-format).
|
C
|
C
|
C
|
N
|
|
curs_set() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
cuserid() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
cv_broadcast() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_create() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_destroy() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_enumerate() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_notify() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_send() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_wait() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
cv_waiters() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
Table C-4 Library Routines Reference Table:
dbm_clearerr() through
dysize()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
dbm_clearerr() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_close() (3X)
|
S
|
The dbm_close() (3) routine provides similar functionality.
|
N
|
N
|
N
|
N
|
|
dbm_delete() (3)
|
S
|
The dbm_delete() (3) routine provides similar functionality.
|
N
|
N
|
N
|
N
|
|
dbm_error() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_fetch() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_firstkey() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_nextkey() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_open() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbm_store() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
dbmclose() (3X)
|
N
|
|
N
|
N
|
N
|
S
|
|
dbminit() (3X)
|
S
|
|
N
|
N
|
N
|
S
|
|
decimal_to_double() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
decimal_to_extended() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
decimal_to_floating() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
decimal_to_single() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
def_prog_mode() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
def_shell_mode() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
del_curterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
delay_output() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
delch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
delete() (3X)
|
A
|
|
N
|
N
|
N
|
S
|
|
deleteln() (3V) --
SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
des_crypt() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
des_setparity() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
delwin() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
dlclose() (3X)
|
S
|
|
N
|
N
|
S
|
N
|
|
dlerror() (3X)
|
S
|
|
N
|
N
|
S
|
N
|
|
dlopen() (3X)
|
S
|
|
N
|
N
|
S
|
N
|
|
dlsym() (3X)
|
S
|
|
N
|
N
|
S
|
N
|
|
dn_comp() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
dn_expand() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
double_to_decimal() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
doupdate() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
draino() (3V) -- SysV
|
S
|
|
N
|
N
|
N
|
N
|
|
drand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
dysize() (3V)
|
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
|
|
ecb_crypt() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
echo() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
echochar() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
econvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
ecvt() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
edata() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
encrypt() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
end() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
endac() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
endexportent() (3)
|
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
|
|
endfsent() (3)
|
A
|
This routine is replaced by fclose() (3).
|
A
|
A
|
A
|
N
|
|
endgraent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
endgrent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
endhostent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
endmntent() (3)
|
A
|
This routine is replaced by fclose() (3).
|
A
|
A
|
A
|
N
|
|
endnetent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
endnetgrent() (3N)
|
S
|
|
N
|
N
|
N
|
N
|
|
endprotoent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
endpwaent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
endpwent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
endrpcent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
endservent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
endttyent() (3)
|
N
|
Refer to ttymon (1) and ttydefs (4) for information about SunOS release 5.7 tty system.
|
N
|
N
|
N
|
N
|
|
endusershell() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
endwin() (3V)
|
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
|
|
erand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
erase() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
erasechar() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
erf() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
erfc() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
errno() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
etext() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
ether() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
ether_aton() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
ether_hostton() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
ether_line() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
ether_ntoa() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
ether_ntohost() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
exc_bound() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_handle() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_notify() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_on_exit() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_raise() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_unhandle() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
exc_uniqpatt() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
execl() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
execl() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
execle() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
execle() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
execlp() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
execlp() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
execv() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
execv() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
execvp() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
execvp() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
exit() (3)
|
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
|
|
exp() (3M)
|
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
|
|
exp10() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
exp2() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
expm1() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
exportent() (3)
|
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
|
|
extended_to_decimal() (3)
|
S
|
|
N
|
N
|
N
|
N
|
Table C-6 Library Routines Reference Table:
fabs() through
fwrite()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
fabs() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
fclose() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
fconvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
fcvt() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
fdopen() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
feof() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
ferror() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
fetch() (3X)
|
A
|
This routine is replaced by dbm_fetch() (3) in the SunOS release 5.7 software.
|
N
|
N
|
N
|
S
|
|
fflush() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
ffs() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
fgetc() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
fgetgraent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
fgetgrent() (3V)
|
S
|
|
N
|
S
|
S
|
N
|
|
fgetpwaent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
fgetpwent() (3V)
|
S
|
|
N
|
S
|
S
|
N
|
|
fgets() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
fileno() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
file_to_decimal() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
filter() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
finite() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
firstkey() (3X)
|
A
|
This routine is replaced by dbm_firstkey() (3) in the SunOS release 5.7 software.
|
N
|
N
|
N
|
S
|
|
fixterm() (3V)
|
A
|
The reset_prog_mode() (3X) routine provides similar functionality.
|
N
|
A
|
A
|
N
|
|
flash() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
floatingpoint() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
floor() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
flushinp() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
flusok() (3X)
|
N
|
|
N
|
N
|
N
|
S
|
|
fmod() (3M)
|
C
|
In the SunOS release 5.7, or the SVID or SVR4 version, fmod(x,0.0)() returns x and sets errno to EDOM. In the SunOS release 4 version, the same call returns NaN in conformance with 4.3 BSD and in the spirit of ANSI/IEEE Std 754-1985.
|
N
|
C
|
C
|
N
|
|
fopen() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
fp_class() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
fprintf() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
fputc() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
fputs() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
fread() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
free() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
freopen() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
frexp() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
fscanf() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
fseek() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
ftell() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
ftime() (3V)
|
S
|
Now ftime() (3C).
|
A
|
A
|
A
|
S
|
|
ftok() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
ftw() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
func_to_decimal() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
fwrite() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
Table C-7 Library Routines Reference Table:
gamma() through
gtty()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
gamma() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
garbagedlines() (3V) -- SysV
|
S
|
|
N
|
N
|
N
|
N
|
|
gcd() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
gconvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
gcvt() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
getacdir() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getacflg() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getacinfo() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getacmin() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getauditflagsbin() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getauditflagschar() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getbegyx() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
getc() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getcap() (3X)
|
N
|
|
N
|
N
|
N
|
S
|
|
getch() (3V)
|
C
|
In the SunOS release 5.7, or the 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
|
S
|
|
getch() (3V) -- SysV
|
C
|
|
N
|
C
|
C
|
S
|
|
getchar() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getcwd() (3V)
|
S
|
The SVR4 and SunOS release 5.7 getcwd() routine is compatible with the SunOS release 4 version getcwd(). In the SunOS release 4, if buf is a NULL pointer, getcwd() obtains size bytes of space using malloc() (3). This capability is not supported by the ABI and SVID version of getcwd().
|
C
|
C
|
S
|
N
|
|
getenv() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getexportent() (3)
|
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
|
|
getexportopt() (3)
|
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
|
|
getfauditflags() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getfsent() (3)
|
A
|
This routine is replaced by getvfsent() (3).
|
N
|
N
|
N
|
N
|
|
getfsfile() (3)
|
A
|
This routine is replaced by getvfsfile() (3).
|
N
|
N
|
N
|
N
|
|
getfsspec() (3)
|
A
|
This routine is replaced by getvfsfile() (3).
|
N
|
N
|
N
|
N
|
|
getfstype() (3)
|
A
|
This routine is replaced by getvfsany() (3).
|
N
|
N
|
N
|
N
|
|
getgraent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getgranam() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getgrent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getgrgid() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getgrnam() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
gethostbyaddr() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
gethostbyname() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
gethostent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getlogin() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getmaxyx() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
getmntent() (3)
|
C
|
The SunOS release 4 getmntent() routine and the SunOS release 5.7, SVID, or SVR4 getmntent() routine are incompatible. The SunOS release 4 getmntent() returns a pointer to an object of type mntent while SunOS release 5.7, or the SVID or SVR4 getmntent() returns int. Additionally, SunOS release 5.7, or the SVID or SVR4 getmntent() uses a different incompatible structure type (mnttab) to return the file entry type. Additionally, null pointers are returned for corresponding `-' entries in /etc/vfstab.
|
N
|
C
|
C
|
N
|
|
get_myaddress() (3N)
|
S
|
This routine is still available, but is superseded by netdir_getbyname() (3N).
|
S
|
N
|
S
|
N
|
|
getnetbyaddr() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getnetbyname() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getnetent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getnetgrent() (3N)
|
N
|
|
N
|
N
|
N
|
N
|
|
getnetname() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
getopt() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
getpass() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getprotobyname() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getprotobynumber() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getprotoent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getpublickey() (3R)
|
S
|
|
S
|
S
|
S
|
N
|
|
getpw() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
getpwaent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getpwanam() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
getpwent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getpwnam() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getpwuid() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getrpcbyname() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
getrpcbynumber() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
getrpcent() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
getrpcport() (3R)
|
A
|
pmap_getport() can be used to get the same result.
|
N
|
N
|
N
|
N
|
|
gets() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
getsecretkey() (3R)
|
S
|
|
S
|
S
|
S
|
N
|
|
getservbyname() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getservbyport() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getservent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
getstr() (3V) -- SysV
|
C
|
|
N
|
C
|
C
|
S
|
|
getsubopt() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
getsyx() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
gettext() (3)
|
C
|
In SunOs 5.4 gettext (3)a searches NLSPATH first for the location of the LC_MESSAGES directory.
|
N
|
N
|
N
|
N
|
|
gettmode() (3V)
|
C
|
The SunOS release 5.7 header file <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if CURS_PERFORMANCE is defined,
it defines the most commonly used routines as macros for increased performance.
|
N
|
N
|
N
|
S
|
|
gettmode() (3V) -- SysV
|
S
|
|
N
|
N
|
N
|
N
|
|
getttyent() (3)
|
A
|
Refer to ttymon (1) and ttydefs (4) for information about the SunOS release 5.7 tty system.
|
N
|
N
|
N
|
N
|
|
getttynam() (3)
|
A
|
Refer to ttymon (1) and ttydefs (4) for information about the SunOS release 5.7 tty system.
|
N
|
N
|
N
|
N
|
|
getusershell() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
getw() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
getwd() (3)
|
S
|
Now getwd() (3C).
|
A
|
A
|
A
|
S
|
|
getyx() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
gmtime() (3V)
|
C
|
See ctime() (3V).
|
C
|
C
|
C
|
N
|
|
grpauth() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
gsignal() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
gtty() (3C)
|
A
|
The termio (7) interface provides similar functionality.
|
A
|
A
|
A
|
N
|
Table C-8 Library Routines Reference Table:
halfdelay() through
hypot()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
halfdelay() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
has_ic() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
has_il() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
hasmntopt() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
hcreate() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
hdestroy() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
host2netname() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
hsearch() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
HUGE() (3M)
|
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
|
|
HUGE_VAL() (3M)
|
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
|
|
hypot() (3M)
|
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
|
|
idlok() (3V)
|
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
|
|
ieee_flags() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
ieee_functions() (3M)
|
S
|
|
N
|
N
|
N
|
N
|
|
ieee_handler() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
ieee_retrospective() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
ilogb() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
inch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
index() (3)
|
S
|
Now is index() (3C).
|
A
|
A
|
A
|
S
|
|
inet_lnaof() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
inet_makeaddr() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
inet_netof() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
inet_network() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
inet_ntoa() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
infinity() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
initgroups() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
initscr() (3V)
|
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
|
|
initstate() (3)
|
S
|
Now initstate() (3C).
|
N
|
A
|
A
|
S
|
|
innetgr() (3N)
|
S
|
|
N
|
N
|
N
|
N
|
|
insch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
insertln() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
insque() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
intrflush() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
ipalloc() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
irint() (3M)
|
N
|
Replaced by (int) rint().
|
N
|
N
|
N
|
N
|
|
isalnum() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isalpha() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isascii() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isatty() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
iscntrl() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isdigit() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isendwin() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
isgraph() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isinf() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
islower() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isnan() (3M)
|
S
|
|
S
|
N
|
N
|
N
|
|
isnormal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
isprint() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
ispunct() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
issecure() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
isspace() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
issubnormal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
isupper() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
isxdigit() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
iszero() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
itom() (3X)
|
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
|
|
j0() (3M)
|
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
|
|
j1() (3M)
|
C
|
|
N
|
C
|
C
|
N
|
|
jn() (3M)
|
C
|
|
N
|
C
|
C
|
N
|
|
jrand48() (3)
|
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
|
|
key_decryptsession() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
key_encryptsession() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
key_gendes() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
key_setsecret() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
keyname() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
keypad() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
killchar() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
klm_prot() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_close() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_getcmd() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_getproc() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_getu() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_nextproc() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_nlist() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_open() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_read() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
|
kvm_setproc() (3K)
|
S
|
|
N
|
N
|
S
|
N
|
|
kvm_write() (3K)
|
S
|
|
N
|
N
|
N
|
N
|
Table C-12 Library Routines Reference Table:
l3tol() through
lwp_yield()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
l3tol() (3C)
|
N
|
|
N
|
N
|
N
|
N
|
|
l64a() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
label() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
lcong48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
ldaclose() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldahread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldaopen() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldclose() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldexp() (3M)
|
C
|
The SunOS release 4 version of ldexp() differs from the SunOS release 5.7, ABI, SVID, or SVR4 version only in the case of overflow. The SunOS release 4 ldexp() returns (+/-) 1.0e999 if the correct value would overflow, while the SunOS release 5.7, ABI, SVID, or SVR4 ldexp() returns (+/-) HUGE (according to the sign of value). Both versions set errno to ERANGE.
|
C
|
C
|
C
|
S
|
|
ldfcn() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldfhread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldgetname() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldlinit() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldlitem() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldlread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldlseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldnlseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldnrseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldnshread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldnsseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldohseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldopen() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldrseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldshread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldsseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldtbindex() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldtbread() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
ldtbseek() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
leaveok() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
lfind() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
lgamma() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
line() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
linemod() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
localdtconv() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
localeconv() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
localtime() (3V)
|
C
|
See ctime() (3V).
|
C
|
C
|
C
|
N
|
|
lockf() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
log() (3M)
|
C
|
In the SunOS release 4 software, when log() produces undefined results (for example, log(-1.0)()), it returns NaN, with an EDOM error and a DOMAIN matherr. In the SunOS release 5.7, SVID or SVR4 version, it returns -HUGE with an EDOM error and DOMAIN matherr.
|
N
|
C
|
C
|
N
|
|
log10() (3M)
|
C
|
In the SunOS release 4 software, when log10() produces undefined results (for example, log10(0)()) it returns NaN, with an EDOM error and a DOMAIN matherr. In the SunOS release 5.7, SVID, or SVR4 version, it returns -HUGE with an EDOM error and DOMAIN matherr.
|
N
|
C
|
C
|
N
|
|
log1p() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
log2() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
logb() (3M)
|
S
|
|
N
|
C
|
C
|
N
|
|
_longjmp() (3)
| C |
Now _longjmp() (3C). The siglongjmp() (3) routine provides similar
functionality.
|
A
|
A
|
A
|
S
|
|
longjmp() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
longname() (3V)
|
C
|
The SunOS release 4 version of longname() requires two arguments, termbuf and name, which do not exist in the SunOS release 5.7, SVID, or SVR4 version. termbuf is a pointer to the terminal entry from termcap, which is replaced by terminfo. name is a pointer to a buffer to hold the result. Since both versions return the same information, simply remove the two arguments from the SunOS release 4 call to port to the SunOS release 5.7, SVID, or SVR4 environment.
|
N
|
C
|
C
|
S
|
|
longname() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
lrand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
lsearch() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
ltol3() (3C)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_checkstkset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_create() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ctxinit() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ctxmemget() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ctxmemset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ctxremove() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ctxset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_datastk() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_destroy() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_enumerate() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_errstr() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_fpset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_geterr() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_getregs() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_getstate() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_join() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_libcset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_newstk() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_perror() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_ping() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_resched() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_resume() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_self() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_setpri() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_setregs() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_setstkcache() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_sleep() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_stkcswset() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_suspend() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
lwp_yield() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
Table C-13 Library Routines Reference Table:
madd() through
mvwscanw()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
madd() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
madvise() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
malloc() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
malloc_debug() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
malloc_verify() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
mallocmap() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
matherr() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
max_normal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
max_subnormal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
mblen() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
mbstowcs() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
mbtowc() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
mcmp() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
mdiv() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
memalign() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
memccpy() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
memchr() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
memcmp() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
memcpy() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
memset() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
meta() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mfree() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
min() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
min_normal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
min_subnormal() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
mkstemp() (3)
|
S
|
The mktemp() (3C) routine provides similar functionality.
|
A
|
A
|
A
|
N
|
|
mktemp() (3)
|
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
|
|
mlock() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
mlockall() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
modf() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
mon_break() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_cond_enter() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_create() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_destroy() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_enter() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_enumerate() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_exit() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
mon_waiters() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
moncontrol() (3)
|
A
|
This routine is replaced by profil() (2).
|
A
|
A
|
A
|
N
|
|
MONITOR() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
monitor() (3)
|
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
|
|
monstartup() (3)
|
A
|
This routine is replaced by profil() (2).
|
A
|
A
|
A
|
N
|
|
mout() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
move() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
mrand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
msg_enumrecv() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
msg_enumsend() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
msg_recv() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
MSG_RECVALL() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
msg_reply() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
msg_send() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
msub() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
msync() (3)
|
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
|
|
mtox() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
mult() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
munlock() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
munlockall() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
mvaddch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvaddstr() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvcur() (3V)
|
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
|
|
mvdelch(3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvgetch() (3V) -- SysV
|
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
|
|
mvgetstr() (3V) -- SysV
|
C
|
See getstr() (3V) -- Sys
V.
|
N
|
C
|
C
|
N
|
|
mvinch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvinsch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvprintw() (3V)
|
C
|
See wprintw() (3V).
|
N
|
C
|
C
|
S
|
|
mvprintw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvscanw() (3V)
|
C
|
See wscanw() (3V).
|
N
|
C
|
C
|
S
|
|
mvscanw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwaddch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwaddstr()(3V -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwdelch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwgetch() (3V) -- SysV
|
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
|
|
mvwgetstr() (3V) -- SysV
|
C
|
See getstr() (3V) -- Sys V.
|
N
|
C
|
C
|
N
|
|
mvwin() (3V)
|
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
|
|
mvwinch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwinsch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwprintw() (3V)
|
C
|
|
N
|
C
|
C
|
S
|
|
mvwprintw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
mvwscanw() (3V)
|
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
|
|
napms() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
net_addr() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
netname2host() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
netname2user() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
newpad() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
newterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
newwin() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
nextafter() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
nextkey() (3X)
|
A
|
This routine is replaced by dbm_nextkey() (3).
|
N
|
N
|
N
|
S
|
|
nice() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
nint() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
nl() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
nl_init() (3C)
|
N
|
|
N
|
N
|
N
|
N
|
|
nl_langinfo() (3C)
|
S
|
|
S
|
S
|
S
|
N
|
|
nlist() (3V)
|
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
|
|
nlm_prot() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
nocbreak() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
nocrmode() (3X)
|
S
|
|
N
|
N
|
S
|
N
|
|
nodelay() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
noecho() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
nonl() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
nonstandard_arithmetic() (3M)
|
|
N
|
N
|
N
|
N
|
N
|
|
noraw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
notimeout() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
nrand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
ntohl() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
ntohs() (3N)
|
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
|
|
on_exit() (3)
|
A
|
This routine is replaced by atexit(). Note that functions registered using atexit() are called without arguments.
|
A
|
A
|
A
|
N
|
|
opendir() (3V)
|
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
|
|
openlog() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
openpl() (3X)
|
N
|
|
N
|
N
|
N
|
N
|
|
optarg() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
optind() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
overlay() (3V)
|
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
|
|
overwrite() (3V)
|
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()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
passwd2des() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
pause() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
pclose() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
pechochar() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
perror() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
plock() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
plot() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
pmap_getmaps() (3N)
|
S
|
This routine is still available, but is superseded by rpcb_getmaps() (3N).
|
A
|
A
|
S
|
N
|
|
pmap_getport() (3N)
|
S
|
This routine is still available, but is superseded by rpcb_getaddr() (3N).
|
A
|
A
|
S
|
N
|
|
pmap_rmtcall() (3N)
|
S
|
This routine is still available, but is superseded by rpcb_rmtcall() (3N).
|
A
|
A
|
S
|
N
|
|
pmap_set() (3N)
|
S
|
This routine is still available, but is superseded by rpcb_set() (3N).
|
A
|
A
|
S
|
N
|
|
pmap_unset() (3N)
|
S
|
This routine is still available, but is superseded by rpcb_unset() (3N).
|
A
|
A
|
S
|
N
|
|
pnoutrefresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
pnp() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
pod_getexit() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
pod_getmaxpri() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
pod_getmaxsize() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
pod_setexit() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
pod_setmaxpri() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
point() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
popen() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
pow() (3M)
|
C
|
In the SunOS release 5.7, SVID, or SVR4 version, the routine returns 0 when x == 0 and y is non-positive or when x<0 and y is not integral. For overflow or underflow, pow() returns +/-HUGE or 0, respectively. In both cases, errno is set. In the SunOS release 4 version, pow(x,0.0)() is 1 (which is not mentioned in the SunOS release 5.7, SVID, or SVR4 version); it returns NaN when x < 0 and y not integral, returns +/-infinity when x==0 and y < 0. On overflow and underflow, it returns IEEE implementation-dependent values. In the SunOS release 4 version, since HUGE is defined as +Infinity, pow(10.0,HUGE)() and
pow(10.0,-HUGE)() do not underflow or overflow and therefore no errno is produced. In the SunOS release 5.7, SVID, or SVR4 software, these functions set errno to ERANGE.
|
N
|
C
|
C
|
N
|
|
prefresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
printf() (3V)
|
S
|
See fprintf (3).
|
S
|
S
|
S
|
S
|
|
printw() (3V)
|
C
|
The SunOS release 5.7, SVID, or SVR4 version of printw() returns the integer ERR upon failure and an integer value other than ERR upon successful completion. The SunOS release 4 version returns void. The SunOS release 5.7, SVID, or SVR4 headers <curses.h> automatically include the headers <stdio.h> and <unctrl.h> and if CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
printw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
prof() (3)
|
A
|
The profil() (2) routine provides similar functionality.
|
A
|
A
|
A
|
N
|
|
psignal() (3)
|
C
|
The sig argument is defined as an unsigned int in the SunOS release 4 versionbut is defined as an int in the SVR4 and SunOS release 5.7 versions.
|
N
|
N
|
C
|
S
|
|
putc() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
putchar() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
putenv() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
putp() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
putpwent() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
puts() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
putw() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
pwdauth() (3)
|
N
|
|
N
|
N
|
N
|
N
|
Table C-17 Library Routines Reference Table:
qsort() through
quiet_nan()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
qsort() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
quiet_nan() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
Table C-18 Library Routines Reference Table:
rand() through
rwall()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
rand() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
random() (3)
|
A
|
Now random() (3C). The drand48() (3C) (for SunOS release 5.7, SVID, or SVR4 software) or rand() (3C) routines provide similar functionality.
|
A
|
A
|
A
|
S
|
|
raw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
rcmd() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
readdir() (3V)
|
C
|
The dirent structures of SunOS release 4 readdir() and the ABI and SVID versions only have the d_name field in common. The SunOS release 4 readdir() supports an obsolete data structure direct defined in <sys/dir.h>, which is no longer supported by the SunOS release 5.7, ABI, SVID or SVR4 software. Applications must migrate to the dirent structure defined in <dirent.h>. SunOS release 5.7, ABI, SVID, or SVR4 readdir() updates the directories last accessed time. The dirent
structures of SunOS release 4, SVR4, and SunOS release 5.7 only have the d_name and d_reclen fields in common. Also, SunOS release 5.7 dd_loc and dd_size fields are type int rather than type long as in SunOS release 4.
|
C
|
C
|
C
|
S
|
|
readdir() (3V) -- SysV
|
C
|
The SunOS release 4, SVR4, and SunOS release 5.7 dirent structures only have the d_name and d_reclen fields in common. Also, the SunOS release 5.7 dd_loc and dd_size fields are type int rather than type long as in the SunOS release 4 software. The SunOS release 5.7, ABI, SVID, or SVR4 readdir() updates the directory's last accessed time. The dirent structures of SunOS release 4 readdir() and the ABI and SVID versions only have the d_name field in common.
|
C
|
C
|
C
|
N
|
|
realloc() (3)
|
C
|
The SunOS release 4 realloc() accepts a pointer to a block freed since the most recent call to malloc(), calloc(), and realloc(). The SunOS release 5.7, ABI, SVID, or SVR4 realloc() does not accept such a pointer.
|
C
|
C
|
C
|
N
|
|
realpath() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
re_comp() (3)
|
A
|
Now re_comp() (3C). For the ABI
and SVID version, the regexp() (3) general-purpose regular expression matching routines provide similar functionality. This routine is replaced by recomp() (3G).
|
A
|
A
|
A
|
S
|
|
re_exec() (3)
|
A
|
Now re_exec() (3C). For the ABI and SVID version, the regexp() (3) general-purpose regular expression matching routines provide similar functionality. This routine is replaced by regex() (3G).
|
A
|
A
|
A
|
S
|
|
refresh() (3V)
-- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
registerrpc() (3N)
|
S
|
This routine is still available, but is superseded
by rpc_reg() (3C).
|
N
|
N
|
S
|
N
|
|
remainder() (3M)
|
S
|
|
S
|
S
|
S
|
N
|
|
remexportent() (3)
|
N
|
The /etc/dfs/sharetab file replaces /etc/exports. Refer to share (1M), unshare (1M), and sharetab (4) man pages for more information.
|
N
|
N
|
N
|
N
|
|
remque() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
resetterm() (3V)
|
A
|
This routine is replaced by reset_shell_mode() (3).
|
N
|
A
|
A
|
N
|
|
res_init() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
res_mkquery() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
res_send() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
reset_prog_mode() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
reset_shell_mode() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
resetty() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
restartterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
rewind() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
rewinddir() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
rex() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
rexec() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
rindex() (3)
|
S
|
Now rindex() (3C).
|
A
|
A
|
A
|
S
|
|
rint() (3M)
|
S
|
|
N
|
N
|
S
|
N
|
|
ripoffline() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
rnusers() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
rpc_createerr() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
rpow() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
rquota() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
rresvport() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
rstat() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
rtime() (3N)
|
N
|
|
N
|
N
|
N
|
S
|
|
ruserok() (3N)
|
S
|
|
N
|
N
|
N
|
N
|
|
rusers() (3R)
|
S
|
|
N
|
N
|
S
|
N
|
|
rwall() (3R)
|
S
|
|
N
|
N
|
S
|
N
|
Table C-19 Library Routines Reference Table:
SAMECV() through
system()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
SAMECV() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
SAMEMON() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
SAMETHREAD() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
saveterm() (3V)
|
A
|
This routine is replaced by def_prog_mode() (3X).
|
N
|
A
|
A
|
N
|
|
savetty() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
scalb() (3M)
|
C
|
In the SunOS release 5.7, SVID, or SVR4 version, the routine computes the value x * (r**n) where r is the radix of the machine's floating point arithmetic. When r == 2, scalb() is the same as ldexp() (3M) routine. On overflow, the routine returns +/- HUGE (depending on the sign of x). On underflow, it returns 0 and sets the errno. In the SunOS release 4 version, the routine computes the value x * (2**n) at all times; scalb() is not defined when y is not integral.
|
N
|
C
|
C
|
N
|
|
scalbn() (3M)
|
S
|
|
N
|
N
|
N
|
N
|
|
scandir() (3)
|
N
|
|
N
|
N
|
N
|
S
|
|
scanf() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
scanw() (3V)
|
C
|
In the SunOS release 5.7, SVID, or SVR4 software the header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
scanw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
scr_dump() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
scr_init() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
scr_restore() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
scroll() (3V)
|
C
|
scroll() returns ERR on failure and an indeterminate value for success. The SunOS release 4 version returns ERR on failure and OK (0) on success. In the SunOS release 5.7, SVID, or SVR4 version the header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h> and if CURS_PERFORMANCE is defined, it defines most commonly used routines
as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
scroll() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
scrollok() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
seconvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
seed48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
seekdir() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
setac() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
setbuf() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
setbuffer() (3V)
|
S
|
|
N
|
N
|
N
|
S
|
|
set_curterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
setegid() (3V)
|
S
|
|
N
|
N
|
N
|
N
|
|
seteuid() (3V)
|
S
|
|
N
|
N
|
N
|
N
|
|
setexportent() (3)
|
A
|
The /etc/dfs/sharetab file replaces /etc/exports. Refer to share (1M), unshare (1M), and sharetab (4) man pages for more information.
|
N
|
N
|
N
|
N
|
|
setfsent() (3)
|
A
|
This routine is replaced by fopen() (3).
|
A
|
A
|
A
|
N
|
|
setgid() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
setgraent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
setgrent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sethostent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
_setjmp() (3)
| C |
Now setjmp() (3C). The sigsetjmp() (3) routine provides the same functionality when
the savemask argument is zero. This saves the calling process's registers and stack environment, but not its signalmask.
|
A
|
A
|
A
|
S
|
|
setjmp() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
setkey() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
setlinebuf() (3V)
|
S
|
|
N
|
N
|
N
|
S
|
|
setlocale() (3V)
|
C
|
|
S
|
S
|
S
|
N
|
|
setlogmask() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
setmntent() (3)
|
A
|
The fopen() (3) followed by
the lockf() (3) routines provide similar functionality.
|
A
|
A
|
A
|
N
|
|
setnetent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
setnetgrent() (3N)
|
S
|
|
N
|
N
|
N
|
N
|
|
setprotoent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
setpwaent() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
setpwent() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
setpwfile() (3V)
|
N
|
|
N
|
N
|
N
|
N
|
|
setrgid() (3V)
|
A
|
This routine is replaced by setgid() (2).
|
A
|
A
|
A
|
N
|
|
setrpcent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
setruid() (3V)
|
A
|
This routine is replaced by setuid() (2).
|
A
|
A
|
A
|
N
|
|
setscrreg() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
setservent() (3N)
|
S
|
|
N
|
N
|
S
|
N
|
|
setstate() (3)
|
S
|
Now setstate() (3C).
|
N
|
A
|
A
|
S
|
|
setsyx() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
set_term() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
setterm() (3V)
|
C
|
This is an obsolete call that is replaced by setupterm() in both the SunOS release 4 and SunOS release 5.7 software.
See curs_terminfo() (3X). The call:
setupterm(term, 1, (int *) 0)() provides the same functionality as setterm(term)().
|
N
|
C
|
C
|
S
|
|
setterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
setttyent() (3)
|
N
|
Refer to ttymon (1) and ttydefs (4) man pages for information about SunOS release 5.7 tty system.
|
N
|
N
|
N
|
N
|
|
setuid() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
setupterm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
setusershell() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
setvbuf() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
sfconvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
sgconvert() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
sigaction() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sigaddset() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sigdelset() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sigemptyset() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sigfillset() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sigfpe() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
siginterrupt() (3V)
|
A
|
The sigaction() (2) routine provides similar functionality.
|
A
|
A
|
A
|
S
|
|
sigismember() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
siglongjmp() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
signal() (3V)
|
C
|
The following SunOS release 4 signal is not defined in the SVR4 and SunOS release 5.7 s()ignal() (2) routine: SIGLOST. The following SunOS release 4 signals are not defined in the ABI and SVID signal routine: SIGIO, SIGURG, SIGVTALRM, SIGPROF, SIGLOST.
|
C
|
C
|
C
|
S
|
|
ssignal() (3V)
|
C
|
|
C
|
C
|
C
|
N
|
|
signaling_nan() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
signbit() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
significand() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
sigsetjmp() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
sin() (3M)
|
C
|
For arguments that are much lower than zero, the SunOS release 5.7, SVID, or SVR4 version of these routines return zero because of the loss of significance. In this case, a message indicating TLOSS (see matherr() (3M)) appears on the standard output. For cases of partial loss of significance, a PLOSS error is generated but no error is printed. In both cases, errno is set to ERANGE. In the SunOS release 4 version, an argument reduction takes place for values exceeding PI/4 in magnitude. The reduction could happen in software or hardware. The variable fp_pi defined in <math.h> allows changing of the precision at runtime. The error exceptions occur in the IEEE 754 spirit for both versions.
|
N
|
C
|
C
|
N
|
|
sinh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
single_precision() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
single_to_decimal() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
sleep() (3V)
|
S
|
|
S
|
S
|
S
|
S
|
|
slk_clear() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_init() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_label() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_noutrefresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_refresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_restore() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_set() (3V)
-- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
slk_touch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
sm_inter() (3R)
|
S
|
|
N
|
N
|
N
|
N
|
|
space() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
|
spray() (3R)
|
S
|
|
N
|
N
|
S
|
N
|
|
sprintf() (3V)
|
S
|
See fprintf (3).
|
S
|
S
|
S
|
S
|
|
sqrt() (3M)
|
C
|
In the SunOS release 4 software, when sqrt() produces undefined results (for example, sqrt (-3.0)()) it returns NaN, with an EDOM error and a DOMAIN matherr. The SunOS release 5.7, SVID, or SVR4 version returns 0 with an EDOM error and a DOMAIN matherr.
|
N
|
C
|
C
|
N
|
|
srand() (3V)
|
C
|
In the SunOS release 4 software, argument seed is defined as int while in the SunOS release 5.7, ABI, SVID, or SVR4 software it is defined as unsigned int.
|
C
|
C
|
C
|
S
|
|
srand48() (3)
|
S
|
|
N
|
S
|
S
|
N
|
|
srandom() (3)
|
S
|
Now srandom() (3C). The srand48() (3C) (in the SunOS release 5.7, SVID, or SVR4 software) or srand() (3C) routines provide similar functionality.
|
A
|
A
|
A
|
S
|
|
sscanf() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
ssignal() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
standard_arithmetic() (3M)
|
N
|
|
N
|
N
|
N
|
N
|
|
standend() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
standout() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
STKTOP() (3L)
|
N
|
|
N
|
N
|
N
|
N
|
|
store() (3X)
|
A
|
This routine is replaced by dbm_store() (3).
|
N
|
N
|
N
|
S
|
|
strcasecmp() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
strcat() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strchr() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strcmp() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strcoll() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strcpy() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strcspn() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strdup() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strftime() (3V)
|
C
|
There are some differences in the directives specified in the following formats: %k and %l - Not supported in the SunOS release 5.7 software. %S- the SunOS release 4 software specifies seconds to be in the range
of 0-59, while the SunOS release 5.7 software defines seconds to be in the range of 0-61 (allows for leap seconds). %V,%W- Under the SunOS release 4 software , week number 01 is the first week in January with four or more days in it, while in the SunOS release 5.7 software, week number 01 is the first week in January starting with a Sunday for %U or a Monday for %W.
The SunOS 4.1 tm structure contains two fields not present in the SunOS release 5.7 tm structure: tm_zone and tm_gmtoff. Instead, the SunOS release 5.7 version uses the external variable timezone to contain the difference
(in seconds) between GMT and local standard time, and the external variable daylight to indicate if daylight savings should be applied.
Additionally, the SunOS release 5.7 version uses an external variable tzname to store standard and summer time-zone names. These external variables (timezone, daylight, and tzname) are supported by the SunOS release 4 System V installation option ctime() (3V) library routines.
|
C
|
C
|
C
|
N
|
|
string_to_decimal() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
strlen() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strncasecmp() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
strncat() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strncmp() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strncpy() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strpbrk() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strptime() (3V)
|
S
|
|
A
|
A
|
A
|
N
|
|
strrchr() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strspn() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strtod() (3)
|
C
|
The SunOS release 4 strtod() and atof() routines accept inf_form, infinity_form, nan_form, and nanstring_form, while the SunOS release 5.7, ABI, SVID, or SVR4 strtod() and atof() routines do not accept these forms.
|
C
|
C
|
C
|
N
|
|
strtok() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strtol() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
strxfrm() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
stty() (3C)
|
A
|
The termio (7) interface provides similar functionality.
|
A
|
A
|
A
|
N
|
|
subpad() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
subwin() (3V)
|
C
|
The SunOS release 5.7, SVID, or SVR4 routine returns a null pointer if a failure occurs. The SunOS release 5.7, SVID, or SVR4 header file <curses.h> automatically includes the header files <stdio.h> and <unctrl.h> and if CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
subwin() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
svc_destroy() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_fds() (3N)
|
S
|
This routine is still available, but is superseded by svc_fdset() (3N).
|
N
|
S
|
S
|
N
|
|
svc_fdset() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_freeargs() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_getargs() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_getcaller() (3N)
|
S
|
This routine is still available, but is superseded by svc_getrpccaller() (3N).
|
A
|
A
|
A
|
N
|
|
svc_getreq() (3N)
|
S
|
This routine is still available, but is superseded by svc_getreqset() (3N).
|
S
|
S
|
S
|
N
|
|
svc_getreqset() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_register() (3N)
|
A
|
This routine is still available, but it superseded by svc_reg() (3N).
|
A
|
A
|
A
|
N
|
|
svc_run() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_sendreply() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svc_unregister() (3N)
|
A
|
This routine is still available, but is superseded by svc_unreg() (3N).
|
A
|
A
|
A
|
N
|
|
svcerr_auth() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_decode() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_noproc() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_noprog() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_progvers() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_systemerr() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcerr_weakauth() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
svcfd_create() (3N)
|
A
|
This routine is still available, but is superseded by svc_fd_create() (3N).
|
A
|
A
|
A
|
S
|
|
svcraw_create() (3N)
|
S
|
This routine is still available, but is superseded by svc_raw_create() (3N).
|
N
|
N
|
S
|
N
|
|
svctcp_create() (3N)
|
S
|
This routine is still available, but is superseded by svc_create() (3N), svc_tli_create() (3N), and svc_vc_create() (3N).
|
N
|
N
|
S
|
S
|
|
svcudp_bufcreate() (3N)
|
S
|
This routine is still available, but is superseded by the svc_tli_create() (3N), and svc_dg_create() (3N) routines.
|
N
|
N
|
S
|
S
|
|
svcudp_create() (3N)
|
S
|
This routine is still available, but is superseded by svc_create() (3N), svc_tli_create() (3N), and svc_dg_create() (3N).
|
N
|
N
|
S
|
S
|
|
swab() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
sys_siglist() (3)
|
N
|
Use psignal() (3C).
|
N
|
N
|
N
|
S
|
|
syslog() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
system() (3)
|
S
|
|
S
|
S
|
S
|
N
|
Table C-20 Library Routines Reference Table:
t_accept() through
tzsetwall()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
t_accept() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_alloc() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_bind() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_close() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_connect() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_error() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_free() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_getinfo() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_getstate() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_listen() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_look() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_open() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_optmgmt() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcv() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcvconnect() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcvdis() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcvrel() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcvudata() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_rcvuderr() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_snd() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_snddis() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_sndrel() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_sndudata() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_sync() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
t_unbind() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
tan() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
tanh() (3M)
|
S
|
|
N
|
S
|
S
|
N
|
|
tcdrain() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcflow() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcflush() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcgetattr() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcgetpgrp() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcsendbreak() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcsetattr() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tcsetpgrp() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tdelete() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
telldir() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
tempnam() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
textdomain() (3)
|
N
|
|
N
|
N
|
N
|
N
|
|
tfind() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
tgetent() (3X)
|
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
|
|
tgetflag() (3X)
|
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
|
|
tgetnum() (3X)
|
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
|
|
tgetstr() (3X)
|
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
|
|
tgoto() (3X)
|
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
|
|
tigetflag() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
tigetnum() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
tigetstr() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
time() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
timegm() (3V)
|
A
|
This routine is replaced by mktime() (3C).
|
A
|
A
|
A
|
N
|
|
timelocal() (3V)
|
S
|
This routine is the inverse of localtime() (3C).
|
A
|
A
|
A
|
N
|
|
times() (3V)
|
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
|
|
timezone() (3C)
|
S
|
|
N
|
N
|
N
|
N
|
|
tmpfile() (3S)
|
C
|
|
C
|
C
|
C
|
N
|
|
tmpnam() (3S)
|
S
|
|
S
|
S
|
S
|
N
|
|
toascii() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
toascii() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
tolower() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
_tolower() (3V) -- SysV
|
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 LC_CTYPE, while the SunOS release 4 version is
not.
|
C
|
C
|
C
|
N
|
|
touchline() (3V)
|
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
|
|
touchoverlap() (3X)
|
N
|
|
N
|
N
|
N
|
S
|
|
touchwin(3V)
|
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
|
|
_toupper() (3V) -- SysV
|
S
|
|
S
|
S
|
S
|
N
|
|
toupper() (3V)
|
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 LC_CTYPE, while the SunOS release 4 version is not.
|
C
|
C
|
C
|
N
|
|
tparm() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
tputs() (3V)
|
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
|
|
traceoff() (3V) -- SysV
|
S
|
|
N
|
N
|
S
|
N
|
|
traceon() (3V) -- SysV
|
S
|
|
N
|
N
|
S
|
N
|
|
tsearch() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
ttyname() (3V)
|
S
|
|
S
|
S
|
S
|
N
|
|
ttyslot() (3V)
|
S
|
|
N
|
N
|
S
|
N
|
|
twalk() (3)
|
S
|
|
S
|
S
|
S
|
N
|
|
typeahead() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
tzset() (3V)
|
C
|
See ctime() (3V).
|
C
|
C
|
C
|
N
|
|
tzsetwall() (3V)
|
A
|
This routine is replaced by tzset() (3C) .
|
A
|
A
|
A
|
N
|
Table C-21 Library Routines Reference Table:
ualarm() through
utime()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
ualarm() (3)
|
S
|
Now ualarm() (3C). The setitimer() (2) system call with the which argument set to ITIMER_REAL provides similar functionality.
|
N
|
A
|
A
|
S
|
|
ulimit() (3C)
|
S
|
The SVR4 and SunOS release 5.7 ulimit() is compatible with the SunOS release 4 ulimit(). The SunOS release 4 version of ulimit() routine's integer cmd values 1 and 2 may not be compatible with the equivalent SVID ulimit() routines' symbolic constant cmd values UL_GETFSIZE and UL_SETFSIZE. Also, the SVID ulimit() routine does not support the functionality of 3 (get the maximum possible break value) and 4 (get the size of the process's file descriptor table).
|
C
|
C
|
S
|
N
|
|
unctrl() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
ungetc() (3S)
|
S
|
The SVR4 and SunOS release 5.7 ungetc() guarantees to push back four characters, so it is compatible with the SunOS release 4 ungetc(). In the SunOS release 4 software, ungetc() is guaranteed to push back one character on the standard input without a previous read statement, while the ABI and SVID ungetc() does not support this attribute.
|
C
|
C
|
S
|
N
|
|
ungetch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
user2netname() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
usleep() (3)
|
S
|
Now usleep() (3C). The setitimer() (2) or select() (3C) routines provide similar functionality.
|
N
|
A
|
A
|
S
|
|
utime() (3V)
|
C
|
The SunOS release 4 utime() and SunOS release 5.7, ABI, SVID, or SVR4 utime() differ in the type of the second argument. In the SunOS release 4 software, argument timep points to an array of two time_t values, while in theSunOS release 5.7, ABI, SVID, or SVR4 version, argument times points to the utimbuf structure (which contains two time_t members).
|
C
|
C
|
C
|
N
|
Table C-22 Library Routines Reference Table:
valloc() through
vwscanw()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
valloc() (3)
|
S
|
|
N
|
N
|
S
|
N
|
|
varargs() (3)
|
S
|
|
N
|
N
|
N
|
N
|
|
vfprintf() (3V)
|
C
|
See vprintf() (3V).
|
C
|
C
|
C
|
S
|
|
vidattr() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
vidputs() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
vlimit() (3C)
|
A
|
This routine is replaced by getrlimit() (2).
|
A
|
A
|
A
|
N
|
|
vprintf() (3V)
|
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
|
|
vsprintf() (3V)
|
C
|
See vprintf() (3V).
|
C
|
C
|
C
|
S
|
|
vsyslog() (3)
|
S
|
This routine is replaced by syslog() (3).
|
N
|
N
|
N
|
N
|
|
vtimes() (3C)
|
A
|
This routine is replaced by getrusage() (2).
|
N
|
N
|
N
|
N
|
|
vwprintw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
vwscanw() (3V) -- SysV
|
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
|
|
waddch() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
waddch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
waddstr() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
waddstr() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wattroff() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wattron() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wattrset() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wclear() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wclear() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wclrtobot() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wclrtobot() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wclrtoeol() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wclrtoeol() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wcstombs() (3)
|
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
|
|
wctomb() (3)
|
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
|
|
wdelch() (3V)
|
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
|
|
wdeleteln() (3V)
|
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
|
|
wechochar() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
werase() (3V)
|
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 CURS_PERFORMANCE is
defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
werase() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wgetch() (3V)
|
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
|
|
wgetstr() (3V)
|
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
|
|
winch() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
S
|
|
winsch() (3V)
|
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
|
|
winsertln() (3V)
|
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
|
|
wmove() (3V)
|
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
|
|
wnoutrefresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wprintw() (3V)
|
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 CURS_PERFORMANCE is defined it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wprintw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wrefresh() (3V)
|
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 CURS_PERFORMANCE is defined it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wrefresh() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wscanw() (3V)
|
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 CURS_PERFORMANCE is defined, it defines most commonly used routines as macros for increased performance.
|
N
|
C
|
C
|
S
|
|
wscanw() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wsetscrreg() (3V) -- SysV
|
S
|
|
N
|
S
|
S
|
N
|
|
wstandend() (3V)
|
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
|
|
wstandout() (3V)
|
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()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
xcrypt() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
xdecrypt() (3R)
|
N
|
|
N
|
N
|
N
|
N
|
|
xdr_accepted_reply() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_array() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_authunix_parms() (3N)
|
S
|
This routine is still available but is superseded by xdr_authsys_parms() (3N).
|
A
|
A
|
A
|
N
|
|
xdr_bool() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_bytes() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_callhdr() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_callmsg() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_enum() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_float() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_free() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_getpos() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_inline() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_int() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_long() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_opaque() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_pointer() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_reference() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_setpos() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_short() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_string() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_u_char() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_u_int() (3N)
|
S
|
|
S
|
N
|
S
|
N
|
|
xdr_u_long() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_u_short() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_union() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_vector() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_void() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdr_wrapstring() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdrmem_create() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdrrec_create() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdrrec_endofrecord() (3N)
|
S
|
|
S
|
N
|
S
|
N
|
|
xdrrec_eof() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xdrrec_skiprecord() (3N)
|
S
|
|
S
|
N
|
S
|
N
|
|
xdrstdio_create() (3N)
|
S
|
|
S
|
S
|
S
|
N
|
|
xtom() (3X)
|
S
|
|
N
|
N
|
N
|
N
|
Table C-25 Library Routines Reference Table:
y0() through
yn()
|
SunOS release 4
|
SunOS release 5.7 Status
|
Notes
|
ABI
|
SVID
|
SVR4
|
BSD
|
|
y0() (3M)
|
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
|
|
y1() (3M)
|
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
|
|
yn() (3M)
|
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
|