First Edition (October 1997)
Trademarks and Acknowledgements
About This Book
Base Operating System (BOS) Runtime Services (A-P)
a64l or l64a Subroutine
l64a_r Subroutine
abort Subroutine
abs, div, labs, ldiv, imul_dbl, umul_dbl, llabs, or lldiv Subroutine
access, accessx, or faccessx Subroutine
acct Subroutine
acl_chg or acl_fchg Subroutine
acl_get or acl_fget Subroutine
acl_put or acl_fput Subroutine
acl_set or acl_fset Subroutine
addssys Subroutine
adjtime Subroutine
aio_cancel or aio_cancel64 Subroutine
aio_error or aio_error64 Subroutine
aio_read or aio_read64 Subroutine
aio_return or aio_return64 Subroutine
aio_suspend or aio_suspend64 Subroutine
aio_write or aio_write64 Subroutine
asin, asinl, acos, acosl, atan, atanl, atan2, or atan2l Subroutine
asinh, acosh, or atanh Subroutine
assert Macro
atof, strtod, strtold, atoff, or strtof Subroutine
audit Subroutine
auditbin Subroutine
auditevents Subroutine
auditlog Subroutine
auditobj Subroutine
auditpack Subroutine
auditproc Subroutine
auditread, auditread_r Subroutines
auditwrite Subroutine
authenticate Subroutine
bcopy, bcmp, bzero or ffs Subroutine
bessel: j0, j1, jn, y0, y1, or yn Subroutine
bindprocessor Subroutine
brk or sbrk Subroutine
bsearch Subroutine
btowc Subroutine
catclose Subroutine
catgets Subroutine
catopen Subroutine
ccsidtocs or cstoccsid Subroutine
cfgetospeed, cfsetospeed, cfgetispeed, or cfsetispeed Subroutine
chacl or fchacl Subroutine
chdir Subroutine
chmod or fchmod Subroutine
chown, fchown, lchown, chownx, or fchownx Subroutine
chroot Subroutine
chssys Subroutine
ckuseracct Subroutine
ckuserID Subroutine
class, _class, finite, isnan, or unordered Subroutines
clock Subroutine
close Subroutine
compare_and_swap Subroutine
compile, step, or advance Subroutine
confstr Subroutine
conv Subroutines
copysign, nextafter, scalb, logb, or ilogb Subroutine
crypt, encrypt, or setkey Subroutine
cs Subroutine
csid Subroutine
ctermid Subroutine
ctime, localtime, gmtime, mktime, difftime, asctime, or tzset Subroutine
ctime_r, localtime_r, gmtime_r, or asctime_r Subroutine
ctype Subroutines
cuserid Subroutine
defssys Subroutine
delssys Subroutine
disclaim Subroutine
dlopen Subroutine
drand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, or srand48 Subroutine
drem or remainder Subroutine
_end, _etext, or _edata Identifier
ecvt, fcvt, or gcvt Subroutine
erf, erfl, erfc, or erfcl Subroutine
errlog Subroutine
exec: execl, execle, execlp, execv, execve, execvp, or exect Subroutine
exit, atexit, or _exit Subroutine
exp, expl, expm1, log, logl, log10, log10l, log1p, pow, or powl Subroutine
fclear or fclear64 Subroutine
fclose or fflush Subroutine
fcntl, dup, or dup2 Subroutine
feof, ferror, clearerr, or fileno Macro
fetch_and_add Subroutine
fetch_and_and or fetch_and_or Subroutine
finfo or ffinfo Subroutine
flockfile, ftrylockfile, funlockfile Subroutine
floor, floorl, ceil, ceill, nearest, trunc, rint, itrunc, uitrunc, fmod, fmodl, fabs, or fabsl Subroutine
fmtmsg Subroutine
fnmatch Subroutine
fopen, fopen64, freopen, freopen64 or fdopen Subroutine
fork, f_fork, or vfork Subroutine
fp_any_enable, fp_is_enabled, fp_enable_all, fp_enable, fp_disable_all, or fp_disable Subroutine
fp_clr_flag, fp_set_flag, fp_read_flag, or fp_swap_flag Subroutine
fp_cpusync Subroutine
fp_invalid_op, fp_divbyzero, fp_overflow, fp_underflow, fp_inexact, fp_any_xcp Subroutine
fp_iop_snan, fp_iop_infsinf, fp_iop_infdinf, fp_iop_zrdzr, fp_iop_infmzr, fp_iop_invcmp, fp_iop_sqrt, fp_iop_convert, or fp_iop_vxsoft Subroutines
fp_raise_xcp Subroutine
fp_read_rnd or fp_swap_rnd Subroutine
fp_sh_info, fp_sh_trap_info, or fp_sh_set_stat Subroutine
fp_trap Subroutine
fp_trapstate Subroutine
fread or fwrite Subroutine
freeaddrinfoSubroutine
frevoke Subroutine
frexp, frexpl, ldexp, ldexpl, modf, or modfl Subroutine
fscntl Subroutine
fseek, fseeko, fseeko64, rewind, ftell, ftello, ftello64, fgetpos, fgetpos64, fsetpos, or fsetpos64 Subroutine
fsync Subroutine
ftok Subroutine
ftw or ftw64 Subroutine
fwide Subroutine
fwprintf, wprintf, swprintf Subroutines
fwscanf, wscanf, swscanf Subroutines
gai_strerror Subroutine
get_speed, set_speed, or reset_speed Subroutines
getc, getchar, fgetc, or getw Subroutine
getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked Subroutines
getconfattr Subroutine
getcwd Subroutine
getdtablesize Subroutine
getenv Subroutine
getfsent, getfsspec, getfsfile, getfstype, setfsent, or endfsent Subroutine
getgid or getegid Subroutine
getgrent, getgrgid, getgrnam, setgrent, or endgrent Subroutine
getgroupattr, IDtogroup, nextgroup, or putgroupattr Subroutine
getgroups Subroutine
getgrpaclattr, nextgrpacl, or putgrpaclattr Subroutine
getinterval, incinterval, absinterval, resinc, resabs, alarm, ualarm, getitimer or setitimer Subroutine
getlogin Subroutine
getlogin_r Subroutine
getnameinfo Subroutine
getopt Subroutine
getpagesize Subroutine
getpass Subroutine
getpcred Subroutine
getpenv Subroutine
getpid, getpgrp, or getppid Subroutine
getportattr or putportattr Subroutine
getpri Subroutine
getpriority, setpriority, or nice Subroutine
getprocs Subroutine
getpw Subroutine
getpwent, getpwuid, getpwnam, putpwent, setpwent, or endpwent Subroutine
getrlimit, getrlimit64, setrlimit, setrlimit64, or vlimit Subroutine
getrpcent, getrpcbyname, getrpcbynumber, setrpcent, or endrpcent Subroutine
getrusage, getrusage64, times, or vtimes Subroutine
getroleattr, nextrole or putroleattr Subroutine
gets or fgets Subroutine
getfsent_r, getfsspec_r, getfsfile_r, getfstype_r, setfsent_r, or endfsent_r Subroutine
getssys Subroutine
getsubsvr Subroutine
getthrds Subroutine
gettimeofday, settimeofday, or ftime Subroutine
gettimer, settimer, restimer, stime, or time Subroutine
gettimerid Subroutine
getttyent, getttynam, setttyent, or endttyent Subroutine
getuid or geteuid Subroutine
getuinfo Subroutine
getuserattr, IDtouser, nextuser, or putuserattr Subroutine
GetUserAuths Subroutine
getuserpw, putuserpw, or putuserpwhist Subroutine
getusraclattr, nextusracl or putusraclattr Subroutine
getutent, getutid, getutline, pututline, setutent, endutent, or utmpname Subroutine
getvfsent, getvfsbytype, getvfsbyname, getvfsbyflag, setvfsent, or endvfsent Subroutine
getwc, fgetwc, or getwchar Subroutine
getwd Subroutine
getws or fgetws Subroutine
glob Subroutine
globfree Subroutine
grantpt Subroutine
hsearch, hcreate, or hdestroy Subroutine
hypot Subroutine
iconv Subroutine
iconv_close Subroutine
iconv_open Subroutine
if_freenameindex Subroutine
if_indextoname Subroutine
if_nameindex Subroutine
if_nametoindex Subroutine
IMAIXMapping Subroutine
IMAuxCreate Callback Subroutine
IMAuxDestroy Callback Subroutine
IMAuxDraw Callback Subroutine
IMAuxHide Callback Subroutine
IMBeep Callback Subroutine
IMClose Subroutine
IMCreate Subroutine
IMDestroy Subroutine
IMFilter Subroutine
IMFreeKeymap Subroutine
IMIndicatorDraw Callback Subroutine
IMIndicatorHide Callback Subroutine
IMInitialize Subroutine
IMInitializeKeymap Subroutine
IMIoctl Subroutine
IMLookupString Subroutine
IMProcess Subroutine
IMProcessAuxiliary Subroutine
IMQueryLanguage Subroutine
IMSimpleMapping Subroutine
IMTextCursor Callback Subroutine
IMTextDraw Callback Subroutine
IMTextHide Callback Subroutine
IMTextStart Callback Subroutine
inet_net_ntop Subroutine
inet_net_pton Subroutine
inet_ntop Subroutine
inet_pton Subroutine
initgroups Subroutine
initialize Subroutine
insque or remque Subroutine
ioctl, ioctlx, ioctl32, or ioctl32x Subroutine
isendwin Subroutine
iswalnum, iswalpha, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, or iswxdigit Subroutine
iswctype or is_wctype Subroutine
Japanese conv Subroutines
Japanese ctype Subroutines
jcode Subroutines
kill or killpg Subroutine
kleenup Subroutine
knlist Subroutine
l3tol or ltol3 Subroutine
layout_object_create Subroutine
layout_object_editshape or wcslayout_object_editshape Subroutine
layout_object_getvalue Subroutine
layout_object_setvalue Subroutine
layout_object_shapeboxchars Subroutine
layout_object_transform or wcslayout_object_transform Subroutine
layout_object_free Subroutine
ldahread Subroutine
ldclose or ldaclose Subroutine
ldfhread Subroutine
ldgetname Subroutine
ldlread, ldlinit, or ldlitem Subroutine
ldlseek or ldnlseek Subroutine
ldohseek Subroutine
ldopen or ldaopen Subroutine
ldrseek or ldnrseek Subroutine
ldshread or ldnshread Subroutine
ldsseek or ldnsseek Subroutine
ldtbindex Subroutine
ldtbread Subroutine
ldtbseek Subroutine
lgamma, lgammal, or gamma Subroutine
lineout Subroutine
link Subroutine
lio_listio or lio_listio64 Subroutine
load Subroutine
loadbind Subroutine
loadquery Subroutine
localeconv Subroutine
lockfx, lockf, flock, or lockf64 Subroutine
loginfailed Subroutine
loginrestrictions Subroutine
loginsuccess Subroutine
lsearch or lfind Subroutine
lseek, llseek or lseek64 Subroutine
lvm_changelv Subroutine
lvm_changepv Subroutine
lvm_createlv Subroutine
lvm_createvg Subroutine
lvm_deletelv Subroutine
lvm_deletepv Subroutine
lvm_extendlv Subroutine
lvm_installpv Subroutine
lvm_migratepp Subroutine
lvm_querylv Subroutine
lvm_querypv Subroutine
lvm_queryvg Subroutine
lvm_queryvgs Subroutine
lvm_reducelv Subroutine
lvm_resynclp Subroutine
lvm_resynclv Subroutine
lvm_resyncpv Subroutine
lvm_varyoffvg Subroutine
lvm_varyonvg Subroutine
malloc, free, realloc, calloc, mallopt, mallinfo, alloca, or valloc Subroutine
madd, msub, mult, mdiv, pow, gcd, invert, rpow, msqrt, mcmp, move, min, omin, fmin, m_in, mout, omout, fmout, m_out, sdiv, or itom Subroutine
madvise Subroutine
makecontext or swapcontext Subroutine
matherr Subroutine
MatchAllAuths, , MatchAnyAuths, or MatchAnyAuthsList Subroutine
mblen Subroutine
mbrlen Subroutine
mbrtowc Subroutine
mbsadvance Subroutine
mbscat, mbscmp, or mbscpy Subroutine
mbschr Subroutine
mbsinit Subroutine
mbsinvalid Subroutine
mbslen Subroutine
mbsncat, mbsncmp, or mbsncpy Subroutine
mbspbrk Subroutine
mbsrchr Subroutine
mbsrtowcs Subroutine
mbstomb Subroutine
mbstowcs Subroutine
mbswidth Subroutine
mbtowc Subroutine
memccpy, memchr, memcmp, memcpy, memset or memmove Subroutine
mincore Subroutine
mkdir Subroutine
mknod or mkfifo Subroutine
mktemp or mkstemp Subroutine
mmap or mmap64 Subroutine
mntctl Subroutine
moncontrol Subroutine
monitor Subroutine
monstartup Subroutine
mprotect Subroutine
msem_init Subroutine
msem_lock Subroutine
msem_remove Subroutine
msem_unlock Subroutine
msgctl Subroutine
msgget Subroutine
msgrcv Subroutine
msgsnd Subroutine
msgxrcv Subroutine
msleep Subroutine
msync Subroutine
munmap Subroutine
mwakeup Subroutine
newpass Subroutine
nftw or nftw64 Subroutine
nl_langinfo Subroutine
nlist Subroutine
nlist64 Subroutine
ns_addr Subroutine
ns_ntoa Subroutine
odm_add_obj Subroutine
odm_change_obj Subroutine
odm_close_class Subroutine
odm_create_class Subroutine
odm_err_msg Subroutine
odm_free_list Subroutine
odm_get_by_id Subroutine
odm_get_list Subroutine
odm_get_obj, odm_get_first, or odm_get_next Subroutine
odm_initialize Subroutine
odm_lock Subroutine
odm_mount_class Subroutine
odm_open_class Subroutine
odm_rm_by_id Subroutine
odm_rm_class Subroutine
odm_rm_obj Subroutine
odm_run_method Subroutine
odm_set_path Subroutine
odm_set_perms Subroutine
odm_terminate Subroutine
odm_unlock Subroutine
open, openx, open64, creat, or creat64 Subroutine
opendir, readdir, telldir, seekdir, rewinddir, or closedir Subroutine
passwdexpired Subroutine
pathconf or fpathconf Subroutine
pause Subroutine
pclose Subroutine
perror Subroutine
pipe Subroutine
plock Subroutine
pm_battery_control Subroutine
pm_control_parameter Subroutine
pm_control_parameter System Call
pm_control_state Subroutine
pm_control_state System Call
pm_event_query Subroutine
pm_system_event_query System Call
pmlib_get_event_notice Subroutine
pmlib_register_application Subroutine
pmlib_request_parameter Subroutine
pmlib_request_state Subroutine
pmlib_request_battery Subroutine
poll Subroutine
popen Subroutine
printf, fprintf, sprintf, wsprintf, vprintf, vfprintf, vsprintf, or vwsprintf Subroutine
profil Subroutine
psdanger Subroutine
psignal Subroutine or sys_siglist Vector
pthread_atfork Subroutine
pthread_attr_destroy Subroutine
pthread_attr_getguardsize or pthread_attr_setguardsize Subroutines
pthread_attr_getschedparam Subroutine
pthread_attr_getstackaddr Subroutine
pthread_attr_getstacksize Subroutine
pthread_attr_init Subroutine
pthread_attr_getdetachstate or pthread_attr_setdetachstate Subroutines
pthread_attr_setschedparam Subroutine
pthread_attr_setstackaddr Subroutine
pthread_attr_setstacksize Subroutine
pthread_cancel Subroutine
pthread_cleanup_pop or pthread_cleanup_push Subroutine
pthread_cond_destroy or pthread_cond_init Subroutine
PTHREAD_COND_INITIALIZER Macro
pthread_cond_signal or pthread_cond_broadcast Subroutine
pthread_cond_wait or pthread_cond_timedwait Subroutine
pthread_condattr_destroy or pthread_condattr_init Subroutine
pthread_condattr_getpshared Subroutine
pthread_condattr_setpshared Subroutine
pthread_create Subroutine
pthread_delay_np Subroutine
pthread_equal Subroutine
pthread_exit Subroutine
pthread_get_expiration_np Subroutine
pthread_getconcurrency or pthread_setconcurrency Subroutine
pthread_getschedparam Subroutine
pthread_getspecific or pthread_setspecific Subroutine
pthread_getunique_np Subroutine
pthread_join, or pthread_detach Subroutine
pthread_key_create Subroutine
pthread_key_delete Subroutine
pthread_kill Subroutine
pthread_lock_global_np Subroutine
pthread_mutex_init or pthread_mutex_destroy Subroutine
PTHREAD_MUTEX_INITIALIZER Macro
pthread_mutex_lock, pthread_mutex_trylock, or pthread_mutex_unlock Subroutine
pthread_mutexattr_destroy or pthread_mutexattr_init Subroutine
pthread_mutexattr_getkind_np Subroutine
pthread_mutexattr_gettype or pthread_mutexattr_settype Subroutines
pthread_mutexattr_setkind_np Subroutine
pthread_mutexattr_getpshared or pthread_mutexattr_setpshared Subroutine
pthread_once Subroutine
PTHREAD_ONCE_INIT Macro
pthread_rwlock_init, pthread_rwlock_destroy Subroutine
pthread_rwlock_rdlock or pthread_rwlock_tryrdlock Subroutines
pthread_rwlock_unlock Subroutine
pthread_rwlock_wrlock or pthread_rwlock_trywrlock Subroutines
pthread_rwlockattr_init or pthread_rwlockattr_destroy Subroutines
pthread_rwlockattr_getpshared or pthread_rwlockattr_setpshared Subroutines
pthread_self Subroutine
pthread_setcancelstate, pthread_setcanceltype or pthread_testcancel Subroutines
pthread_sigmask Subroutine
pthread_signal_to_cancel_np Subroutine
pthread_unlock_global_np Subroutine
pthread_yield Subroutine
ptrace Subroutine
ptsname Subroutine
putc, putchar, fputc, or putw Subroutine
putenv Subroutine
puts or fputs Subroutine
putwc, putwchar, or fputwc Subroutine
putws or fputws Subroutine
pwdrestrict_method Subroutine
Appendix A. Base Operating System Error Codes for Services That Require Path-Name Resolution
Appendix B. ODM Error Codes