Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home

HP-UX Reference (Volume 6 of 9): Section 3: Library Functions (A-M)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

HP Part Number: B2355-90694

Edition: Edition 1


Table of Contents

I Section 3: Library Functions (A-M)
Introduction
intro(3) - introduction to subroutines and libraries
a
a64l(3C) - convert between long integer and base-64 ASCII string
abort(3C) - generate a software abort fault
abs(3C) - return integer absolute value
aclsort(3C) - sort an Access Control List (JFS File Systems only)
acltostr(3C) - convert access control list (ACL) structure to string form (HFS File Systems only)
acos(3M) - arccosine functions
acosd(3M) - degree-valued arccosine functions
acosh(3M) - inverse hyperbolic cosine function
add_wch(3X) - add a complex character and rendition to a window
add_wchnstr(3X) - add an array of complex characters and renditions to a window
addch(3X) - add a single-byte character and rendition to a window and advance the cursor
addchnstr(3X) - add length limited string of single-byte characters and renditions to a window
addchstr(3X) - add string of single-byte characters and renditions to a window
addnstr(3X) - add a string of multi-byte characters without rendition to a window and advance cursor
addnwstr(3X) - add a wide-character string to a window and advance the cursor
addsev(3C) - define additional severities for formatting routines
asin(3M) - arcsine functions
asind(3M) - degree-valued arcsine functions
asinh(3M) - inverse hyperbolic sine function
assert(3X) - verify program assertion
atan(3M) - arctangent functions
atan2(3M) - arctangent-and-quadrant functions
atan2d(3M) - degree-valued arctangent-and-quadrant functions
atand(3M) - degree-valued arctangent functions
atanh(3M) - inverse hyperbolic tangent function
atexit(3) - register a function to be called at program termination
attr_get(3X) - window attribute control functions
attroff(3X) - restricted window attribute control functions
b
basename(3C) - extract components of a path name
baudrate(3X) - get terminal baud rate
beep(3X) - audible signal
bgets(3G) - read stream up to next delimiter
bigcrypt(3C) - generate hashing encryption on large strings
bindresvport(3N) - bind socket to privileged IP port
bkgd(3X) - set or get background character and rendition using a single-byte character
bkgrnd(3X) - set or get background character and rendition using a complex character
blmode(3C) - terminal block-mode library interface
border(3X) - draw borders from single-byte characters and renditions
border_set(3X) - draw borders from complex characters and renditions
box(3X) - draw borders from single-byte characters and renditions
box_set(3X) - draw borders from complex characters and renditions
bsd_signal(3C) - simplified signal facilities
bsdproc(3C) - 4.2 BSD-compatible process control facilities
bsearch(3C) - binary search a sorted table
btowc(3C) - conversion between single-byte and wide-character
bufsplit(3G) - split buffer into fields
byteorder(3N) - convert values between host and network byte order
c
can_change_color(3X) - color manipulation functions
catgets(3C) - get a program message
catopen(3C) - open and close a message catalog for reading
cbreak(3X) - input mode control functions
cbrt(3M) - cube root functions
ceil(3M) - ceiling function
cfspeed(3C) - tty baud rate functions
chgat(3X) - change renditions of characters in a window
chownacl(3C) - change owner and/or group represented in a file's access control list (ACL) (HFS File Systems only)
clear(3X) - clear a window
clearenv(3C) - clear the process environment
clearok(3X) - terminal output control functions
clock(3C) - report CPU time used
clrtobot(3X) - clear from cursor to end of window
clrtoeol(3X) - clear from cursor to end of line
COLS(3X) - number of columns on terminal screen
confstr(3C) - get string-valued configuration values
conv(3C) - translate characters
copylist(3G) - copy a file into memory
copysign(3M) - copysign functions
copywin(3X) - copy a region of a window
cos(3M) - cosine functions
cosd(3M) - degree-valued cosine functions
cosh(3M) - hyperbolic cosine functions
cpacl(3C) - copy the access control list (ACL) and mode bits from one file to another (HFS and JFS File Systems only)
cr_close(3) - close a crash dump descriptor
cr_info(3) - retrieve crash dump information
cr_isaddr(3) - validate whether physical page number was dumped
cr_open(3) - open crash dump for reading
cr_perror(3) - print a libcrash error or warning message
cr_read(3) - read from crash dump
cr_set_node(3) - set node number
cr_uncompress(3) - uncompress a file in a crash dump
cr_verify(3) - verify integrity of crash dump
crt0(3) - execution startup routines (PA64 ELF uses crt0.o only)
crypt(3C) - generate hashing encryption
ctermid(3S) - generate file name for terminal
ctime(3C) - convert date and time to string
ctype(3C) - classify characters
cur_term(3X) - current terminal information
curs_set(3X) - set the cursor mode
curscr(3X) - current window
curses_intro(3X) - Terminal and printer handling and optimization package
cuserid(3S) - get character login name of the user
d
datalock(3C) - lock process into memory after allocating data and stack space
dbm(3C) - database subroutines
def_prog_mode(3X) - save or restore program or shell terminal modes
del_curterm(3X) - interfaces to the
delay_output(3X) - delay output
delch(3X) - delete a character from a window
deleteln(3X) - delete lines in a window
delscreen(3X) - free storage associated with a screen
delwin(3X) - delete a window
derwin(3X) - relative window creation function
devnm(3) - map device ID to file path
dial(3C) - establish an outgoing terminal line connection
directory(3C) - directory operations
div(3C) - integer division and remainder
dlclose(3C) - close a shared library
dlerror(3C) - get diagnostic information
dlget(3C) - retrieve information about a loaded module (program or shared library)
dlgetname(3C) - retrieve the name of a load module given a load module descriptor
dlmodinfo(3C) - retrieve information about a loaded module (program or shared library)
dlopen(3C) - open a shared library
dlsym(3C) - get the address of a symbol in shared library
doupdate(3X) - refresh windows and lines
drand48(3C) - generate uniformly distributed pseudo-random numbers
dupwin(3X) - duplicate a window
e
echo(3X) - enable/disable terminal echo
echo_wchar(3X) - write a complex character and immediately refresh the window
echochar(3X) - echo single-byte character and rendition to a window and refresh
ecvt(3C) - convert floating-point number to string
elf(3E) - object file access library
elf_begin(3E) - make a file descriptor
elf_cntl(3E) - control a file descriptor
elf_end(3E) - finish using an object file
elf_error(3E) - error handling
elf_fill(3E) - set fill byte
elf_flag(3E) - manipulate flags
elf_fsize(3E) - return the size of an object file type for elf32 files, return the size of an object file type for elf64 files, respectively
elf_getarhdr(3E) - retrieve archive member header
elf_getarsym(3E) - retrieve archive symbol table
elf_getbase(3E) - get the base offset for an object file
elf_getdata(3E) - get section data
elf_getehdr(3E) - retrieve class-dependent object file header for elf32 and elf64 files, respectively
elf_getident(3E) - retrieve file identification data
elf_getphdr(3E) - retrieve class-dependent program header table for elf32 and elf64 files, respectively
elf_getscn(3E) - get section information
elf_getshdr(3E) - retrieve class-dependent section header for elf32 and elf64 files, respectively
elf_hash(3E) - compute hash value
elf_kind(3E) - determine file type
elf_next(3E) - sequential archive member access
elf_rand(3E) - random archive member access
elf_rawfile(3E) - retrieve uninterpreted file contents
elf_strptr(3E) - make a string pointer
elf_update(3E) - update an ELF descriptor
elf_version(3E) - coordinate ELF library and application versions
elf_xlate(3E) - class-dependent data translation for elf32 and elf64 files, respectively
end(3C) - last locations in program
endwin(3X) - suspend Curses session
erasechar(3X) - single-byte terminal environment query functions
erasewchar(3X) - terminal environment query functions
erf(3M) - error function and complementary error function
exp(3M) - exponential functions
exp2(3M) - base-2 exponential function
expm1(3M) - computes exponential functions
f
fabs(3M) - absolute value functions
fattach(3C) - attach a STREAMS file descriptor to an object in the file system name space
fclose(3S) - close or flush a stream
fdetach(3C) - detach a name from a STREAMS file descriptor
fdim(3M) - positive difference function
feclearexcept(3M) - clear floating-point exception flags
fegetenv(3M) - get floating-point environment
fegetexceptflag(3M) - get floating-point exception flags
fegetflushtozero(3M) - get floating-point underflow mode
fegetround(3M) - get floating-point rounding direction mode
fegettrapenable(3M) - get exception trap enable bits
feholdexcept(3M) - save floating-point environment
feraiseexcept(3M) - raise floating-point exceptions
ferror(3S) - stream status inquiries
fesetenv(3M) - set floating-point environment
fesetexceptflag(3M) - set floating-point exception flags
fesetflushtozero(3M) - set floating-point underflow mode
fesetround(3M) - set floating-point rounding direction mode
fesettrapenable(3M) - set exception trap enable bits
fetestexcept(3M) - test floating-point exceptions
feupdateenv(3M) - update floating-point environment
fgetpos(3S) - save and restore a file position indicator for a stream
fgetpos64(3S) - non-POSIX standard API interfaces to support large files.
fgetws(3C) - get a wide character string from a stream file
fileno(3S) - map stream pointer to file descriptor
filter(3X) - disable use of certain terminal capabilities
flash(3X) - flash the screen
flockfile(3S) - explicit locking of streams within a multithread application
floor(3M) - floor function
flushinp(3X) - discard input
fmax(3M) - maximum value function
fmin(3M) - minimum value function
fmod(3M) - remainder functions
fmtmsg(3C) - displays formatted message on standard error and console
fnmatch(3C) - match filename patterns
fopen(3S) - open or re-open a stream file; convert file to stream
fpclassify(3M) - floating-point operand classification macro
fread(3S) - buffered binary input/output to a stream file
frexp(3M) - extract mantissa and exponent from double-precision number
fseek(3S) - reposition a file pointer in a stream
ftok(3C) - create interprocess communication identifier
ftw(3C) - walk a file tree executing a function
fwide(3C) - set stream orientation
fwprintf(3C) - print formatted wide-character output
fwscanf(3C) - convert formatted wide-character input
g
get_expiration_time(3T) - add a specific time interval to the current absolute system time
get_wch(3X) - get a wide character from a terminal
getbegyx(3X) - get additional cursor and window coordinates
getbootpent(3X) - get or put bootptab entry
getc(3S) - get character or word from a stream file
getcchar(3X) - get a wide character string and rendition from a
getch(3X) - get a single-byte character from the terminal
getclock(3C) - get current value of system-wide clock
getcwd(3C) - get pathname of current working directory
getdate(3C) - convert user format date and time
getdiskbyname(3C) - get disk description by its name
getdvagent(3) - manipulate device assignment database entry for a trusted system
getenv(3C) - return value for environment name
getfsent(3X) - get file system descriptor file entry
getgrent(3C) - get group file entry
gethostent(3N) - get network host entry
getlogin(3C) - get name of user logged in on this terminal
getmntent(3X) - get file system descriptor file entry
getn_wstr(3X) - get an array of wide characters and function key codes from a terminal
getnetconfig(3N) - get network configuration database entry
getnetent(3N) - get network entry
getnetgrent(3C) - get network group entry
getnetpath(3N) - get /etc/netconfig entry corresponding to NETPATH component
getnstr(3X) - get a multi-byte character length limited string from the terminal
getopt(3C) - get option letter from argument vector
getpass(3C) - read a password
getprdfent(3) - manipulate system default database entry for a trusted system
getprotoent(3N) - get protocol entry
getprpwent(3) - manipulate protected password database entries (for trusted systems only)
getprtcent(3) - manipulate terminal control database entry for a trusted system
getpublickey(3N) - retrieve public or secret key
getpw(3C) - get name from UID
getpwent(3C) - get password file entry
getresuid(3) - get real, effective and saved user or group IDs
getrpcent(3C) - get rpc entry
getrpcport(3N) - get RPC port number
gets(3S) - get a string from a stream
getservent(3N) - get service entry
getspent(3C) - access secure password entries, for trusted systems only.
getspwent(3X) - get secure password file entry on trusted systems
getstr(3X) - get a multi-byte character string from the terminal
getsubopt(3C) - parse suboptions from a string
gettimer(3C) - get value of a per-process timer
gettxt(3C) - read text string from message file
getusershell(3C) - get legal user shells
getut(3C) - access utmp file entry
getutx(3C) - access utmpx file entry
getwc(3C) - get a wide character from a stream file
getwd(3C) - get pathname of current working directory
getwin(3X) - dump window to, and reload window from, a file
getyx(3X) - get cursor and window coordinates
glob(3C) - file name generation function
grantpt(3C) - grant access to the STREAMS slave pty
gss_accept_sec_context(3) - establish a security context between the application and a context acceptor
gss_acquire_cred(3) - allow an application to acquire a handle for an existing, named credential
gss_add_cred(3) - adds a credential-element to a credential
gss_add_oid_set_member(3) - add an Object Identifier (OID) to an OID set
gss_canonicalize_name(3) - convert an internal name to an internal mechanism name (MN) representation of an opaque internal name
gss_compare_name(3) - allow an application to compare two internal names to determine whether they are equivalent
gss_context_time(3) - check the number of seconds the context will remain valid
gss_create_empty_oid_set(3) - create a new, empty OID set, to which members can be added
gss_delete_sec_context(3) - delete a security context
gss_display_name(3) - provide textual representation of an opaque internal name to an application
gss_display_status(3) - provide an application with the textual representation of a GSSAPI status code that can be displayed to a user or used for logging
gss_duplicate_name(3) - allow an application to create an exact duplicate of the existing internal name
gss_export_name(3) - convert a mechanism name (MN) to a form suitable for direct comparison
gss_export_sec_context(3) - transfer a security context to another process on a single machine
gss_get_mic(3) - calculate a cryptographic message integrity code (MIC) for a message and return in a token
gss_import_name(3) - convert a printable name to an internal form
gss_import_sec_context(3) - transfer a security context to another process on a single machine
gss_indicate_mechs(3) - allow an application to determine which underlying security mechanisms are available
gss_init_sec_context(3) - establish a security context between the context initiator and a context acceptor
gss_inquire_context(3) - obtain information about a security context
gss_inquire_cred(3) - provide the calling application information about a credential
gss_inquire_cred_by_mech(3) - provide the calling application per-mechanism information about a credential
gss_inquire_mechs_for_name(3) - list the mechanisms that support the specified name-type
gss_inquire_names_for_mech(3) - list the name-types supported by the specified mechanism
gss_process_context_token(3) - process a context to the security service
gss_release_buffer(3) - free storage associated with a buffer
gss_release_cred(3) - mark a credential for deletion
gss_release_name(3) - free storage associated with an internal name allocated by a GSSAPI routine
gss_release_oid_set(3) - free storage associated with a gss_OID_set object
gss_test_oid_set_member(3) - check an OID set for a specified OID
gss_unwrap(3) - verify a message with attached message integrity code (MIC) and decrypt message content if necessary
gss_verify_mic(3) - check a cryptographic message integrity code (MIC) against a message to verify its integrity
gss_wrap(3) - attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_wrap_size_limit(3) - determine a token-size limit for gss_wrap on a context
h
halfdelay(3X) - control input character delay mode
has_ic(3X) - query functions for terminal insert and delete capability
hline(3X) - draw lines from single-byte characters and renditions
hline_set(3X) - draw lines from complex characters and renditions
hppac(3X) - 3000-mode packed-decimal library
hsearch(3C) - manage hash search tables
hypot(3M) - Euclidean distance function
i
iconv(3C) - codeset conversion routines
idcok(3X) - enable or disable use of hardware insert- and delete-character features
ilogb(3M) - returns an unbiased exponent
immedok(3X) - enable or disable immediate terminal refresh
in_wch(3X) - input a complex character and rendition from a window
in_wchnstr(3X) - input an array of complex characters and renditions from a window
inch(3X) - input a single-byte character and rendition from a window
inchnstr(3X) - input an array of single-byte characters and renditions from a window
inet(3N) - Internet address manipulation routines
inet6(3N) - Internet address manipulation routines for IP Version 4 and later
initgroups(3C) - initialize group access list
initscr(3X) - screen initialisation functions
innstr(3X) - input a multi-byte character string from a window
innwstr(3X) - input a string of wide characters from a window
ins_nwstr(3X) - insert a wide-character string into a window
ins_wch(3X) - insert a complex character and rendition into a window
insch(3X) - insert a single-byte character and rendition into a window
insdelln(3X) - delete or insert lines into a window
insertln(3X) - insert lines into a window
insnstr(3X) - insert a multi-byte character string into a window
insque(3C) - insert or remove an element in a queue
intrflush(3X) - enable or disable flush on interrupt
is_linetouched(3X) - window refresh control functions
isastream(3C) - determine if a file descriptor refers to a STREAMS device or STREAMS-based pipe
isendwin(3X) - determine whether a screen has been refreshed
isfinite(3M) - floating-point finiteness macro
isgreater(3M) - floating-point comparison macro (>)
isgreaterequal(3M) - floating-point comparison macro (>=)
isinf(3M) - floating-point test for infinity
isless(3M) - floating-point comparison macro (<)
islessequal(3M) - floating-point comparison macro (<=)
islessgreater(3M) - floating-point comparison macro (<>)
isnan(3M) - floating-point test for NaN
isnormal(3M) - floating-point test for normalized value
isunordered(3M) - floating-point comparison macro (unordered)
j
j0(3M) - Bessel functions of the first kind
k
keyname(3X) - get name of key
keypad(3X) - enable/disable abbreviation of function keys
l
l3tol(3C) - convert between 3-byte integers and long integers
lckpwdf(3C) - control access to /etc/passwd file
ldcvt(3C) - convert long-double floating-point number to string
ldexp(3M) - load exponent of a floating-point number
lgamma(3M) - log gamma function
libkrb5(3) - Kerberos client libraries (libkrb5, libk5crypto, libcom_err)
LINES(3X) - number of lines on terminal screen
llrint(3M) - round to nearest long long function
llround(3M) - round to long long function
localeconv(3C) - query the numeric formatting conventions of the current locale
log(3M) - natural logarithm functions
log10(3M) - common logarithm functions
log1p(3M) - natural logarithm function
log2(3M) - logarithm base two functions
logb(3M) - radix-independent exponent
logname(3C) - return login name of user
longname(3X) - get verbose description of current terminal
lrint(3M) - round to nearest long function
lround(3M) - round to long function
lsearch(3C) - linear search and update
ltostr(3C) - convert long integers to strings
m
malloc(3C) - main memory allocator
mbrlen(3C) - get number of bytes in a character (restartable)
mbrtowc(3C) - convert a character to a wide-character code (restartable)
mbsinit(3C) - determine conversion object status
mbsrtowcs(3C) - convert a character string to a wide-character string (restartable)
memalign(3C) - allocate aligned memory
memory(3C) - memory operations
meta(3X) - enable/disable meta-keys
mkdirp(3G) - create, remove directories in a path
mkfifo(3C) - make a FIFO file
mktemp(3C) - make a unique file name
mktimer(3C) - allocate a per-process timer
modf(3M) - decompose floating-point number
monitor(3C) - prepare execution profile
mount(3N) - keep track of remotely mounted file systems
move(3X) - window cursor location functions
multibyte(3C) - multibyte characters and strings conversions
mvcur(3X) - output cursor movement commands to the terminal
mvderwin(3X) - define window coordinate transformation
mvprintw(3X) - print formatted output in window
mvscanw(3X) - convert formatted input from a window
mvwin(3X) - move window
Index
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.