HP-UX Reference Section 5: Miscellaneous Topics Section 7: Device (Special) Files Section 9: General Information Index HP-UX 11i Version 2 Volume 9 of 9 Manufacturing Part Number : B2355-90787 Printed In USA E0803 Printed in USA © Copyright 1983-2003 Hewlett-Packard Development Company LP.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Copyright 1980, 1984, 1986 Novell, Inc. Copyright 1985, 1986, 1988 Massachusetts Institute of Technology Copyright 1986-2000 Sun Microsystems, Inc. Copyright 1988 Carnegie Mellon University Copyright 1989-1991 The University of Maryland Copyright 1989-1993 The Open Software Foundation, Inc. Copyright 1990 Motorola, Inc. Copyright 1990-1992 Cornell University Copyright 1991-2003 Mentat, Inc. Copyright 1996 Morning Star Technologies, Inc. Copyright 1996 Progressive Systems, Inc.
Revision History This document’s printing date and part number indicate its edition. The printing date changes when a new edition is printed. (Minor corrections and updates which are incorporated at reprint do not cause the date to change.) New editions of this manual incorporate all material updated since the previous edition. Part Number Date, Release, Format, Distribution B2355-60103 August 2003. HP-UX release 11i version 2, one volume HTML, docs.hp.com and Instant Information.
manpage itself. From the HP-UX command line, you can enter “man audit” or “man 5 audit” to view the manpage. See man (1). Book Title The title of a book. On the web and on the Instant Information CD, it may be a hot link to the book itself. KeyCap The name of a keyboard key. Note that Return and Enter both refer to the same key. Emphasis Text that is emphasized. Emphasis Text that is strongly emphasized. ENVIRONVAR The name of an environment variable.
vi
Preface HP-UX is the Hewlett-Packard Company’s implementation of an operating system that is compatible with various industry standards. It is based on the UNIX System V Release 4 operating system and includes important features from the Fourth Berkeley Software Distribution. The nine volumes of this manual contain the system reference documentation, made up of individual entries called manpages, named for the man command that displays them on the system.
viii
Volume Nine Table of Contents Section 5 Section 7 Section 9 Index
Volume Nine Table of Contents Section 5 Section 7 Section 9 Index
Table of Contents Volume Nine Section 5: Miscellaneous Topics Entry Name(Section): name Description intro(5) ........................................................................................................................ introduction to miscellany acctresume : suspend and resume accounting when available disk space reaches threshold ............................................................................................. see acctsuspend(5) acctsuspend(5): acctresume , acctsuspend .............
Table of Contents Volume Nine Entry Name(Section): name Description gssapi(5): gssapi() ......................................... Generic Security Service Application Programming Interface hdlpreg_hash_locks(5) .......................................................... determines the size of the pregion spinlock pool hfs_revra_per_disk(5) ......... maximum HFS file system blocks to be read in one read-ahead operation when sequentially reading backwards hier(5): hier .........................................
Table of Contents Volume Nine Entry Name(Section): name Description nflocks(5) ............................................................................................................ maximum number of file locks ninode(5) ......................................... maximum number of HFS file system open inodes that can be in memory nkthread(5) .......................................................... limits the number of threads allowed to run simultaneously nproc(5) ....................................
Table of Contents Volume Nine Entry Name(Section): name Description streampipes(5) ........................................................................................ force all pipes to be STREAMS-based strmsgsz(5) ............................................................................. maximum size of streams message data in bytes st_ats_enabled(5) ............................................................ determines whether to reserve a tape device on open st_fail_overruns(5) .................
Table of Contents Volume Nine Entry Name(Section): name Description IP(7P): IP ................................................................................................................................ Internet Protocol IP6(7P): IP ............................................................................................................. Internet Protocol, version 6 ipmi(7): ipmi .......................................................................
Notes xiv Hewlett-Packard Company HP-UX 11i Version 2: August 2003
Section 5 Miscellaneous Topics
Section 5 Miscellaneous Topics
intro(5) intro(5) NAME intro - introduction to miscellany DESCRIPTION This section describes miscellaneous facilities, such as: macro packages, character set tables, the file system hierarchy, and operating system tunable parameters. SEE ALSO introduction(9). A A Other Documentation • Tunable Kernel Parameters • HP-UX on the Internet at http://docs.hp.com.
acctsuspend(5) acctsuspend(5) (Tunable Kernel Parameters) NAME acctsuspend, acctresume - suspend and resume accounting when available disk space reaches threshold VALUES Failsafe Default.
acctsuspend(5) acctsuspend(5) (Tunable Kernel Parameters) AUTHOR acctsuspend and acctresume were developed by HP. SEE ALSO accton(1M).
acl(5) acl(5) NAME acl - introduction to HFS access control lists DESCRIPTION Access control lists are a key enforcement mechanism of discretionary access control (see Definitions below), for specifying access to files by users and groups more selectively than traditional HP-UX mechanisms allow.
acl(5) acl(5) Access Control List Entries An access control list (ACL) consists of sets of (user.group, mode) entries associated with a file that specify permissions. Each entry specifies for one user-ID/group-ID combination a set of access permissions, including read, write, and execute/search.
acl(5) acl(5) ACL Uniqueness Entries are unique in each ACL. There can only be one (u.g, mode) entry for any pair of u and g values; one (u.%, mode) entry for a given value of u; one (%.g, mode) entry for a given value of g; and one (%.%, mode) entry for each file. For example, an ACL can have a (23.14, mode) entry and a (23.%, mode) entry, but not two (23.14, mode) entries or two (23.%, mode) entries. Access Check Algorithm ACL entries can be categorized by four levels of specificity.
acl(5) acl(5) The exact syntax is: acl entry id op mode char ::= ::= ::= ::= ::= ::= [entry[,entry]...] id . id op mode [op mode]... name | number | % | @ = | + | 0..7 | [char[char]...] r | w | x Short Form of ACLs (input and output) (user . group, mode) ... A Short form differs from operator form in several ways: • Entries are surrounded by parentheses rather than being separated by commas. • Each entry specifies the mode, including all mode bits.
acl(5) acl(5) ACL Patterns Some library calls and commands recognize and use ACL patterns instead of exact ACLs to allow operations on all entries that match the patterns. ACL syntax is extended in the following ways: wildcard user and group IDs A user or group name of * (wildcard) matches the user or group ID in any entry, including % (no specific user or group).
acl(5) acl(5) The st_mode field contains a user-dependent summary, so that programs ignorant of ACLs that use stat (2) and chmod(2) are more likely to produce expected results, and so that stat (2) provides reasonable information about remote files over NFS. The st_basemode and st_acl fields are useful only for local files. chmod For conformance with IEEE Standard POSIX 1003.1-1988, chmod(2) deletes any optional entries in a file’s ACL.
acl(5) acl(5) chacl ’(bill.%,-w-)’ myfile The following sets the entry for user 12 in group 4 to allow read and write. chacl ’(12.4,wr)’ myfile The following sets the base ACL entry for the file’s owner to allow both read and execute, and sets write and execute capabilities for ‘‘other’’ users (the ‘‘%.%’’ entry). chacl ’(@.%, 5) (%.%, xwx)’ myfile A aA Long Form Here is the same ACL as in an earlier example, printed in long form. r-x --r-r-x r-- jpc.adm ajs.trux jpc.% %.bin %.
acl(5) acl(5) NGROUPS_RGID NGROUPS_SGID NGROUPS_SUPP NGROUPS_EGID_SUPP NGROUPS_RGID_SUPP NGROUPS_SGID_SUPP process’s real gid process’s saved gid process’s supplementary groups only process’s eff gid plus supp groups process’s real gid plus supp groups process’s saved gid plus supp groups Header The header file defines several constants for use with ACL support library calls.
acl(5) acl(5) DEPENDENCIES NFS NFS does not support ACLs on remote files. Individual manual entries specify the behavior of various system calls, library calls, and commands under these circumstances. Be careful when transferring a file with optional entries over a network or when manipulating a remote file because optional entries may be silently deleted. AUTHOR The access control list design described here was developed by HP. A aA FILES
aclv(5) aclv(5) NAME aclv - introduction to JFS access control lists (ACLs) DESCRIPTION Access control lists (ACLs) are a key enforcement mechanism of discretionary access control (see Definitions below), for specifying access to files by users and groups more selectively than traditional HPUX mechanisms allow.
aclv(5) aclv(5) Access Control List Entries An access control list (ACL) consists of a set of one-line entries associated with a file that specify permissions. Each entry specifies for one user-ID or group-ID a set of access permissions, including read, write, and execute/search.
aclv(5) aclv(5) ACL entries (except for the first user [owner] entry and the other entry). Any permission can be denied to a particular user or group. The class entry acts as a upper bound for file permissions. When an ACL contains more than one user and/or group entry, the collection of additional user and group entries are referred to as the groupclass entries, since the effective permission granted by any of these additional entries is limited by the class entry.
aclv(5) aclv(5) default:user:beta:r-default:user:gamma:r-default:group:dos:--default:group:tres:--Access Check Algorithm To determine the permission granted to an accessing process’s effective user ID (EGID) and effective group ID (EGID), respectively, the following checks are made, in the following order: A aA If the EUID of the process is the same as the owner of the file, grant the permissions specified in the user:: entry.
aclv(5) aclv(5) Header The header defines constants for use with getaccess (2).
aio(5) aio(5) NAME aio - POSIX asynchronous I/O facility SYNOPSIS #include A aA DESCRIPTION The POSIX Asynchronous I/O facility implements Section 6.7 of IEEE Standard 1003.1b-1993, Standard for Information Technology, Portable Operating System Interface (POSIX), Part 1: System Application Program Interface (API), Amendment 1: Realtime Extensions (C Language).
aio(5) aio(5) Manifest Constants Certain values as defined by the POSIX standard are declared in aio.h. The following values are returned by the aio_cancel() function: AIO_CANCELED All specified asynchronous I/O operations were successfully canceled. AIO_NOTCANCELED At least one specified asynchronous I/O operations was not successfully canceled. AIO_ALLDONE All specified asynchronous I/O operations were completed before the request was processed.
aio(5) aio(5) The specified notification, if any, is then performed when the operation completes. The aio_suspend() function allows the application to wait for completion of one or more asynchronous I/O operations. A timeout may be set so that the process can again execute and take appropriate recovery actions if the expected operations do not complete as expected. If the aio_suspend() references multiple operations, return is made when any one of the operations completes.
aio(5) aio(5) The maximum priority change that can be specified in aio_reqprio is limited. The maximum priority change value is tunable. The current maximum value can be obtained using the sysconf() call with the argument _SC_AIO_PRIO_DELTA_MAX. The default value is 20. The maximum number of asynchronous I/O operations that can be specified in a single lio_listio() call is limited. This limit is tunable.
aio_listio_max(5) aio_listio_max(5) (Tunable Kernel Parameters) NAME aio_listio_max - the maximum number of POSIX asynchronous I/O operations that can be specified in a listio() call VALUES Failsafe 256 Default A aA 256 Allowed values The minimum value allowed is 2. The maximum value allowed is 0x100000. The value is further constrained in that it must be less than or equal to aio_max_ops. Specify a positive integer value.
aio_max_ops(5) aio_max_ops(5) (Tunable Kernel Parameters) NAME aio_max_ops - maximum number of POSIX async I/O operations that can be queued at any time VALUES Failsafe 2048 Default 2048 Allowed values The minimum value allowed is 2. The maximum value allowed is 0x100000. The value is further constrained in that it must be greater than or equal to aio_listio_max. Specify a positive integer value.
aio_monitor_run_sec(5) aio_monitor_run_sec(5) (Tunable Kernel Parameters) NAME aio_monitor_run_sec - frequency of AIO thread pool monitor execution (in seconds) VALUES Failsafe 2 Default 30 A aA Allowed values 1-60 Recommended values 1-60 DESCRIPTION The implementation of POSIX AIO on HP-UX uses kernel threads to perform I/Os to filesystems that do not directly support true asynchronous I/O. (This distinction is transparent to the user.
aio_monitor_run_sec(5) aio_monitor_run_sec(5) (Tunable Kernel Parameters) for bursty or periodic I/O loads, this should maximize performance. What Other Tunables Should Be Changed at the Same Time as This One? aio_proc_threads interacts with this tunable by setting a strict limit on the number of threads that can be used for POSIX AIO.
aio_physmem_pct(5) aio_physmem_pct(5) (Tunable Kernel Parameters) NAME aio_physmem_pct - percentage of physical memory lockable for request call-back POSIX asynchronous I/O operations VALUES Failsafe 10 Default A aA 10 Allowed values The minimum value allowed is 5. The maximum value allowed is 50. Specify a positive integer value.
aio_physmem_pct(5) aio_physmem_pct(5) (Tunable Kernel Parameters) SEE ALSO kctune(1M), sam(1M), gettune(2), settune(2), aio(5), aio_return(2), dmesg(1M), mlock(2), plock(2), getrlimit(2), setrlimit(2), unlockable_mem(5).
aio_prio_delta_max(5) aio_prio_delta_max(5) (Tunable Kernel Parameters) NAME aio_prio_delta_max - greatest delta (slowdown factor) allowed in POSIX async IO request priorities VALUES Failsafe 20 Default 20 A aA Allowed values The minimum value allowed is 0. The maximum value allowed is 20. Specify a positive integer value. DESCRIPTION This parameter places a limit on how much the priority of a POSIX asynchronous I/O operation can be reduced to slow it down.
aio_proc_threads(5) aio_proc_threads(5) (Tunable Kernel Parameters) NAME aio_proc_threads - maximum number of process threads allowed in AIO pool VALUES Failsafe 256 Default 1024 A Allowed values 4-2048 Recommended values 32-2048 DESCRIPTION The implementation of POSIX AIO on HP-UX uses kernel threads to perform I/Os to filesystems that do not directly support true asynchronous I/O. (This distinction is transparent to the user.
aio_proc_threads(5) aio_proc_threads(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time as This One? aio_proc_thread_pct interacts with this tunable by setting a limit on the number of AIO threads based on a percentage of the maximum number of allowable process threads. This allows the AIO thread pools to respond dynamically to changes in max_thread_proc.
aio_proc_thread_pct(5) aio_proc_thread_pct(5) (Tunable Kernel Parameters) NAME aio_proc_thread_pct - percentage of all process threads allowed in AIO pool VALUES Failsafe 50 Default 70 A Allowed values 10-100 Recommended values 10-90 DESCRIPTION The implementation of POSIX AIO on HP-UX uses kernel threads to perform I/Os to filesystems that do not directly support true asynchronous I/O. (This distinction is transparent to the user.
aio_proc_thread_pct(5) aio_proc_thread_pct(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time as This One? aio_proc_threads interacts with this tunable by setting a strict limit on the number of threads that can be used for POSIX AIO. This allows a hard limit to be imposed, regardless of what value max_thread_proc happens to take. aio_req_per_thread defines the desired relationship between the number of POSIX AIO kernel threads and the number of I/Os to be serviced.
aio_req_per_thread(5) aio_req_per_thread(5) (Tunable Kernel Parameters) NAME aio_req_per_thread - desirable ratio between number of pending AIO requests and servicing threads VALUES Failsafe 4 Default 1 A Allowed values 1-100 Recommended values 1-100 DESCRIPTION The implementation of POSIX AIO on HP-UX uses kernel threads to perform I/Os to filesystems that do not directly support true asynchronous I/O. (This distinction is transparent to the user.
aio_req_per_thread(5) aio_req_per_thread(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time as This One? aio_proc_threads interacts with this tunable by setting a strict limit on the number of threads that can be used for POSIX AIO. aio_proc_thread_pct interacts with this tunable by setting a limit on the number of threads that can be used for POSIX_AIO, but does so based on a percentage of the maximum number of allowable process threads.
aliases(5) aliases(5) NAME aliases - aliases file for sendmail SYNOPSIS /etc/mail/aliases DESCRIPTION The newaliases command (which is the same as sendmail -bi; see sendmail (1M)) builds the sendmail alias database from a text file. The default text file is /etc/mail/aliases. Local addresses (local user names) are looked up in the alias database and expanded as necessary, unless the user name is preceded by a backslash (\).
aliases(5) aliases(5) /etc/mail/aliases is only the raw data file. The actual aliasing information is placed into a binary format in the file /etc/mail/aliases.db using newaliases (see newaliases (1M)). A newaliases command should be executed each time the aliases file is changed in order for the change to take effect. Note that the NIS alias maps are generated by ypmake using makemap, which leaves aliases.pag and aliases.dir in the /etc/mail directory.
allocate_fs_swapmap(5) allocate_fs_swapmap(5) (Tunable Kernel Parameters) NAME allocate_fs_swapmap - determines when swapmap structures are allocated for filesystem swap VALUES Failsafe 0 (off) Default 0 (off) A Allowed values 1 (on) or 0 (off) DESCRIPTION The allocate_fs_swapmap tunable is used to determine whether to allocate all needed filesystem swap structures during the initialization of the filesystem swap device or wait until they are needed.
alwaysdump(5) alwaysdump(5) (Tunable Kernel Parameters) NAME alwaysdump - defines which classes of kernel memory pages are dumped when a kernel panic occurs VALUES Failsafe 0 Default 0 (Allow the kernel to choose which classes to dump.) A aA Allowed values Integer values from 0 to 255.
alwaysdump(5) alwaysdump(5) (Tunable Kernel Parameters) Note that certain types of system crash, require a full crash dump. Also, the system operator may request a full crash dump at the time the dump is taken. In either of these cases, a full dump will be performed regardless of the classes selected using alwaysdump. Who Is Expected to Change This Tunable? Only HP Field engineers should change the value of this tunable. Restrictions on Changing Changes to this tunable take effect at next reboot.
Aries(5) Aries(5) (Itanium(R)-Based Processor Family Only) NAME Aries - emulate PA-RISC applications on Itanium-based processor family DESCRIPTION Aries is a binary emulator that transparently emulates 32-bit and 64-bit HP-UX PA-RISC applications on HP-UX Itanium-based machines. Aries is transparent in that: A aA • The HP-UX PA-RISC application is not re-compiled. • The user does not explicitly invoke Aries.
Aries(5) Aries(5) (Itanium(R)-Based Processor Family Only) 3. No support for conditional reporting of system call entry and exit events. 4. No support for old gdb versions (of HP-UX 10.20 and earlier). However, debugging HP-UX 10.20 applications using a HP-UX 11.0 PA gdb is supported. 5. PA gdb behaves differently for child programs created using fork() and vfork().
Aries(5) Aries(5) (Itanium(R)-Based Processor Family Only) found by Aries, or, if .ariesrc file is found but -fast_trans is not found in that file, then Aries uses the old translator as the default. 3. Warning Due to the beta-nature of this translator, the users need to be aware that an element of risk is involved in deploying the beta translator for mission-critical applications.
Aries(5) Aries(5) (Itanium(R)-Based Processor Family Only) program sees a complete PA environment on Itanium-based system. If the application requires that it be able to determine that it is running on an Itanium-based machine then one method is for the application to use the system (3S) call and utilize the Itanium-based native command, getconf (1), to get the required fields. See system (3S), getconf (1) and sysconf (2) for more details. SEE ALSO ulimit(2), setrlimit(2), signal(2), gdb(1), core(4).
ascii(5) ascii(5) NAME ascii - map of ASCII character set SYNOPSIS cat /usr/share/lib/pub/ascii DESCRIPTION The /usr/share/lib/pub/ascii file provides a map of the ASCII character set, giving both octal and hexadecimal equivalents of each character.
ascii(5) ascii(5) Oct Dec Hex Display 000 001 002 003 004 005 006 007 010 011 012 013 014 015 016 017 020 021 022 023 024 025 026 027 030 031 032 033 034 035 036 037 177 000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 127 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 7F none ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^ˆ ^_ ^?
Audio(5) Audio(5) NAME Audio - audio tools available through HP VUE DESCRIPTION This man-page describes the audio tools available through HP VUE for playing, recording, and editing sound. These include Audio Setup, Audio Security, Audio Editor, Audio Control Panel, Audio File and Data Formats, and Audio Library. Audio(5) also provides information on using other audio tools from the HP-UX command line.
Audio(5) Audio(5) can set the SPEAKER variable for all applications started by HP VUE by modifying the $HOME/.vueprofile file. The SPEAKER variable can be external (headphones, Line Out) or internal (built-in speaker).
audit(5) audit(5) NAME audit - introduction to HP-UX Auditing System SYNOPSIS #include A aA DESCRIPTION The purpose of the auditing system is to record instances of access by subjects to objects and to allow detection of any (repeated) attempts to bypass the protection mechanism and any misuses of privileges, thus acting as a deterrent against system abuses and exposing potential security weaknesses in the system.
audit(5) audit(5) AUTHOR The auditing system described above was developed by HP. SEE ALSO audsys(1M), audusr(1M), audevent(1M), audisp(1M), audctl(2), audswitch(2), audwrite(2), getaudid(2), getevent(2), setaudid(2), setevent(2), audit(4).
chanq_hash_locks(5) chanq_hash_locks(5) (Tunable Kernel Parameters) NAME chanq_hash_locks - size of hashed pool of spinlocks protecting the channel queue hash tables VALUES Failsafe 256 Default 256 Allowed values Any value between 16 and 16777216 that is a power of two. A cA Recommended values Default value only. HP does NOT recommend changing this tunable from the default value. Consult your HP Field Service engineer before changing this tunable. DESCRIPTION This tunable should NOT be changed.
complex(5) complex(5) (Itanium(R)-based System Only) NAME complex - complex functions and macros SYNOPSIS #include DESCRIPTION This file contains declarations of all the functions in the Complex Library (described in Section (3M)). It defines the types extended The Itanium-based system 80-bit double-extended type. quad An IEEE 754-compliant, 128-bit floating-point type. synonym for long double.
core_addshmem_read(5) core_addshmem_read(5) (Tunable Kernel Parameters) NAME core_addshmem_read - determines the inclusion of readable shared memory in a process core dump VALUES Failsafe 0 (off) Default 0 (off) Allowed values 1 (on) or 0 (off) A cA DESCRIPTION The core_addshmem_read tunable was added in response to a problem where a customer was limited in debugging a user-level process crash because shared memory segments were not written as part of the core file.
core_addshmem_write(5) core_addshmem_write(5) (Tunable Kernel Parameters) NAME core_addshmem_write - determines the inclusion of read/write shared memory in process core dump VALUES Failsafe 0 (off) Default 0 (off) Allowed values 1 (on) or 0 (off) DESCRIPTION The core_addshmem_write tunable was added in response to a problem where a customer was limited in debugging a user-level process crash because shared memory segments were not written as part of the core file.
create_fastlinks(5) create_fastlinks(5) (Tunable Kernel Parameters) NAME create_fastlinks - configure the system to use fast symbolic links VALUES Minimum 0 Maximum 1 Default 0 A cA Specify integer value. DESCRIPTION When create_fastlinks is nonzero, it causes the system to create HFS symbolic links in a manner that reduces the number of disk-block accesses by one for each symbolic link in a path name lookup.
curses(5) curses(5) (CURSES) NAME curses.h — definitions for screen handling and optimisation functions SYNOPSIS #include DESCRIPTION Objects The header provides a declaration for COLOR_PAIRS, COLORS, COLS, curscr , LINES and stdscr .
curses(5) curses(5) (CURSES) WA_VERTICAL Vertical highlight These attribute flags shall be distinct.
curses(5) curses(5) (CURSES) ACS_DARROW ACS_UARROW ACS_BOARD ACS_LANTERN ACS_BLOCK WACS_DARROW WACS_UARROW WACS_BOARD WACS_LANTERN WACS_BLOCK arrow pointing down arrow pointing up board of squares lantern symbol solid square block v ^ # # # Colour-related Macros The following colour-related macros are defined: COLOR_BLACK COLOR_BLUE COLOR_GREEN COLOR_CYAN COLOR_RED COLOR_MAGENTA COLOR_YELLOW COLOR_WHITE A Coordinate-related Macros The following coordinate-related macros are defined: void void void v
curses(5) curses(5) (CURSES) Key Codes The following symbolic constants representing function key values are defined: A cA Key Code KEY_CODE_YES KEY_BREAK KEY_DOWN KEY_UP KEY_LEFT KEY_RIGHT KEY_HOME KEY_BACKSPACE KEY_F0 KEY_F(n) KEY_DL KEY_IL KEY_DC KEY_IC KEY_EIC KEY_CLEAR KEY_EOS KEY_EOL KEY_SF KEY_SR KEY_NPAGE KEY_PPAGE KEY_STAB KEY_CTAB KEY_CATAB KEY_ENTER KEY_SRESET KEY_RESET KEY_PRINT KEY_LL KEY_A1 KEY_A3 KEY_B2 KEY_C1 KEY_C3 Description Used to indicate that a wchar_t variable contains a key co
curses(5) curses(5) (CURSES) KEY_HELP KEY_MARK KEY_MESSAGE KEY_MOVE KEY_NEXT KEY_OPEN KEY_OPTIONS KEY_PREVIOUS KEY_REDO KEY_REFERENCE KEY_REFRESH KEY_REPLACE KEY_RESTART KEY_RESUME KEY_SAVE KEY_SBEG KEY_SCANCEL KEY_SCOMMAND KEY_SCOPY KEY_SCREATE KEY_SDC KEY_SDL KEY_SELECT KEY_SEND KEY_SEOL KEY_SEXIT KEY_SFIND KEY_SHELP KEY_SHOME KEY_SIC KEY_SLEFT KEY_SMESSAGE KEY_SMOVE KEY_SNEXT KEY_SOPTIONS KEY_SPREVIOUS KEY_SPRINT KEY_SREDO KEY_SREPLACE KEY_SRIGHT KEY_SRSUME KEY_SSAVE KEY_SSUSPEND KEY_SUNDO KEY_SUSPEND
curses(5) curses(5) (CURSES) int int int int int int int void void int int A cA attr_get(attr_t *attrs, short *color_pair , void *opts); attr_off(attr_t attrs, void *opts); attr_on(attr_t attrs, void *opts); attr_set(attr_t attrs, short color_pair , void *opts); baudrate(void); beep(void); bkgd(chtype ch); bkgdset(chtype ch); bkgrndset(const cchar_t *wch); bkgrnd(const cchar_t *wch); border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br); int border_set(const cch
curses(5) curses(5) (CURSES) int get_wch(wint_t *ch); WINDOW *getwin(FILE *filep); int get_wstr(wint_t *wstr); int halfdelay(int tenths); bool has_colors(void); bool has_ic(void); bool has_il(void); int hline(chtype ch, int n); int hline_set(const cchar_t *wch, int n); void idcok(WINDOW *win, bool bf); int idlok(WINDOW *win, bool bf); void immedok(WINDOW *win, bool bf); chtype inch(void); int inchnstr(chtype *chstr, int n); int inchstr(chtype *chstr); WINDOW *initscr(void); int init_color(short color, sho
curses(5) curses(5) (CURSES) A cA mvgetnstr(int y, int x, char *str, int n); mvgetn_wstr(int y, int x, wint_t *wstr, int n); mvgetstr(int y, int x, char *str); mvget_wch(int y, int x, wint_t *ch); mvget_wstr(int y, int x, wint_t *wstr); mvhline(int y, int x, chtype ch, int n); mvhline_set(int y, int x, const cchar_t *wch, int n); mvinch(int y, int x); mvinchnstr(int y, int x, chtype *chstr, int n); mvinchstr(int y, int x, chtype *chstr); mvinnstr(int y, int x, char *str, int n); mvinnwstr(int y, int x,
curses(5) curses(5) (CURSES) mvwinsch(WINDOW *win, int y, int x, chtype ch); mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n); mvwinsstr(WINDOW *win, int y, int x, const char *str); mvwinstr(WINDOW *win, int y, int x, char *str); mvwins_nwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n); int mvwins_wch(WINDOW *win, int y, int x, const cchar_t *wch); int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr); int mvwinwstr(WINDOW *win, int y, int x, wchar_t *wstr); int mvwin_wch
curses(5) curses(5) (CURSES) const void *opts); setscrreg(int top, int bot); *set_term(SCREEN *new); slk_attroff(const chtype attrs); slk_attr_off(const attr_t attrs, void *opts); slk_attron(const chtype attrs); slk_attr_on(const attr_t attrs, void *opts); slk_attrset(const chtype attrs); slk_attr_set(const attr_t attrs, short color_pair , void *opts); int slk_clear(void); int slk_init(int fmt); char *slk_label(int labnum); int slk_noutrefresh(void); int slk_refresh(void); int slk_restore(void); int slk_s
curses(5) curses(5) (CURSES) wadd_wchnstr(WINDOW *win, const cchar_t *wchstr, int n); wadd_wchstr(WINDOW *win, const cchar_t *wchstr); wattroff(WINDOW *win, int attrs); wattron(WINDOW *win, int attrs); wattrset(WINDOW *win, int attrs); wattr_get(WINDOW *win, attr_t *attrs, short *color_pair , void *opts); wattr_off(WINDOW *win, attr_t attrs, void *opts); wattr_on(WINDOW *win, attr_t attrs, void *opts); wattr_set(WINDOW *win, attr_t attrs, void *opts); wbkgd(WINDOW *win, chtype ch); wbkgdset(WINDOW *win, c
curses(5) curses(5) (CURSES) int wscanw(WINDOW *win, char *fmt, ...
dbc_max_pct(5) dbc_max_pct(5) (Tunable Kernel Parameters) NAME dbc_max_pct - maximum percentage of memory to be used for caching file I/O data and metadata VALUES Failsafe 5 Default 50 Allowed values The minimum value allowed is 1 (1% of physical memory). The maximum value allowed is 90 (90% of physical memory). The value is further constrained in that it must be equal to or greater than dbc_min_pct. Specify a positive integer value.
dbc_max_pct(5) dbc_max_pct(5) (Tunable Kernel Parameters) WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Other tunable parameters related to the static buffer cache that existed in previous HP-UX releases are now considered obsolete. The recommended way to obtain a fixed size buffer cache is to set dbc_min_pct equal to dbc_max_pct. AUTHOR dbc_max_pct was developed by HP.
dbc_min_pct(5) dbc_min_pct(5) (Tunable Kernel Parameters) NAME dbc_min_pct - minimum percentage of memory used for caching file I/O data and metadata VALUES Failsafe 5 Default 5 Allowed values The minimum value allowed is 1 (1% of physical memory). The maximum value allowed is 70 (70% of physical memory). The value is further constrained in that it must be equal to or less than dbc_max_pct. Specify a positive integer value.
dbc_min_pct(5) dbc_min_pct(5) (Tunable Kernel Parameters) When Should the Value of This Tunable Be Raised? The value of this minimum limit rarely needs to be increased. Low system performance (especially at initialization time) on a system with file system I/O-intensive processes may be an indication that the value of dbc_min_pct is too low. However, in most cases it is recommended that the value of the maximum limit, dbc_max_pct, is raised instead.
default_disk_ir(5) default_disk_ir(5) (Tunable Kernel Parameters) NAME default_disk_ir - enable/disable the use of a device’s write cache in the SCSI subsystem VALUES Failsafe 0 (off) Default 0 (off) Allowed values 0 (off) or non-zero (on) Recommended values 0 (off) A DESCRIPTION This tunable enables (1) or disables (0) the Immediate Reporting behavior of the SCSI subsystem, also known as Write Cache Enable (WCE).
default_disk_ir(5) default_disk_ir(5) (Tunable Kernel Parameters) SEE ALSO write(2), scsi(7).
dirent(5) dirent(5) NAME dirent.h - format of directory streams and directory entries SYNOPSIS #include #include DESCRIPTION This header file defines data types used by the directory stream routines described in directory (3C). The following data types are defined: DIR A structure containing information about an open directory stream. struct dirent A structure defining the format of entries returned by the readdir() function (see directory (3C)).
dld.so(5) dld.so(5) NAME dld.so - dynamic loader MULTITHREAD USAGE The dynamic loader is thread-safe. A dA DESCRIPTION The /usr/lib/hpux64/dld.so shared library is the 64-bit dynamic loader. The /usr/lib/hpux32/dld.so shared library is the 32-bit dynamic loader. In programs that use shared libraries, dld.so is invoked automatically at startup time. /usr/ccs/lib/hpux64/crt0.o is the 64-bit run-time startup file. /usr/ccs/lib/hpux32/crt0.o is the 32-bit run-time startup file. The /usr/lib/hpux32/uld.
dld.so(5) dld.so(5) path or embedded path set by the ld +b command) and the default directory /usr/lib/hpux64 for 64-bit libraries or the default directory /usr/lib/hpux32 for 32-bit libraries.
dld.so(5) dld.so(5) If the -B immediate option to ld is used, the loader binds all necessary references at startup time. This increases the startup cost of a program, but ensures that no more binding operations are required later. Thus, better real-time response may result, and the risk of a later abort due to unresolved externals is eliminated. The fastbind tool can be used to improve the start-up time of programs that use shared libraries (incomplete executables).
dld.so(5) dld.so(5) linker. Use the +gst options, +gst, +gstsize, and +nodynhash, to control the behavior of the global symbol table hash mechanism. See the ld(1) and chatr (1) commands for information on these options. With these options, you can tune the size to reach a balance of performance and memory use. To maximize for performance, tune the table size for an average chain length of one.
dld.so(5) dld.so(5) The LD_PRELOAD Environment Variable NOTE: The LD_PRELOAD feature is disabled for seteuid/setegid programs, such as passwd. See ld(1) for more details. This feature is not available to fully-bound static executables. The LD_PRELOAD environment variable allows you to load additional shared libraries at program startup. LD_PRELOAD provides a colon-separated or space-separated list of shared libraries that the dynamic loader can interpret. The dynamic loader, dld.
dld.so(5) dld.so(5) while attaching a shared library include library not present, library not executable, library corrupt, high water mark too low, or insufficient room in the address space for the library. Possible errors that can occur while binding symbols include symbol not found (unresolved external), or library corrupt. When using the explicit load facilities of the dynamic loader, these types of errors are not considered fatal.
dma32_pool_size(5) dma32_pool_size(5) Itanium-based System Only (Tunable Kernel Parameters) NAME dma32_pool_size - the amount of memory to reserve for the 32-bit DMA pool VALUES Minimum 0 Maximum 4GB Default 256MB Specify an integer value. A dA DESCRIPTION This tunable specifies the amount of memory in the first 4GB of the physical address space to be reserved for DMA for 32-bit cards. The memory is set aside at boot time and cannot be used for other purposes.
dnlc_hash_locks(5) dnlc_hash_locks(5) (Tunable Kernel Parameters) NAME dnlc_hash_locks - number of locks for the Directory Name Lookup Cache (DNLC) VALUES Failsafe 512 Default 512 Allowed values The minimum value allowed is 16. The maximum value allowed is 8192. The value is further constrained in that it must be be a power of 2, and it must be equal to or less than one eighth the number of DNLC entries (ncsize >= 8 * dnlc_hash_locks). Specify a positive integer value.
dontdump(5) dontdump(5) (Tunable Kernel Parameters) NAME dontdump - defines which classes of kernel memory pages are not dumped when a kernel panic occurs VALUES Failsafe 0 Default 0 (Allow the kernel to choose which classes to dump.) Allowed values Integer values from 0 to 255.
dontdump(5) dontdump(5) (Tunable Kernel Parameters) Who Is Expected to Change This Tunable? Only HP Field engineers should change the value of this tunable. Restrictions on Changing Changes to this tunable take effect at next reboot. Use crashconf to change the selection of pages to take effect immediately. When Should the Tunable Be Turned On? This tunable should be turned on to exclude certain classes of pages from being dumped when there is a system crash. This can be done to speedup the dump.
dump_compress_on(5) dump_compress_on(5) (Tunable Kernel Parameters) NAME dump_compress_on - selects whether the system dumps memory pages compressed or uncompressed when a kernel panic occurs. VALUES Failsafe 0 A aA Default 1 (Allow the kernel to decide whether to dump compressed or not based on the system state at the time of the crash.) Allowed value Integer values 0 and 1. The setting for dump_compress_on s used as follows: 0 Dump uncompressed. 1 Dump with compression for speed if possible.
dump_compress_on(5) dump_compress_on(5) (Tunable Kernel Parameters) WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR dump_compress_on was developed by Hewlett-Packard Company. SEE ALSO crashconf(1M), alwaysdump(5), dontdump(5).
enable_idds(5) enable_idds(5) (Tunable Kernel Parameters) NAME enable_idds - enable intrusion detection data source VALUES Failsafe 0 (off) Default 0 (off) Allowed values 0 (off) or 1 (on) Recommended values 1 (on) if HP-UX HIDS is installed, A eA 0 (off) otherwise. DESCRIPTION If enable_idds is set to 1, then the HP-UX Host Intrusion Detection System (HP-UX HIDS) can enable the collection of kernel data for intrusion detection.
environ(5) environ(5) NAME environ - user environment DESCRIPTION An array of strings called the environment is made available by exec (2) when a process begins. By convention, these strings have the form name=value. The following names are used by various commands (listed in alphabetical order): HOME Name of the user’s login directory, set by login (1) from the password file (see passwd (4)).
environ(5) environ(5) 3. If the LANG environment variable is defined and is not null, the value of the LANG environment variable is used. 4. If the LANG environment variable is not set or is set to the empty string, the POSIX/C default locale is used. (See lang (5).) LC_COLLATE Determines the locale category for character collation.
environ(5) environ(5) catopen (3C) attempts to open the file /system/nlslib/$LC_MESSAGES/name .cat as a message catalog. A null string is substituted if the specified value is not defined. Separators are not included in %t and %c substitutions. Note that a default value is not supplied for %L. If LC_MESSAGES is not set and NLSPATH had the value in the previous example, catopen (3C) would attempt to open the file /system/nlslib/name .cat as a message catalog.
environ(5) environ(5) rule rule indicates when to change to and from summer (daylight-savings) time. The rule has the form : date /time ,date /time where the first date /time specifies when to change from standard to summer time, and the second date /time specifies when to change back. The time field is expressed in current local time. The form of date should be one of the following : A Jn Julian day n (1 through 365). Leap days are not counted. February 29 cannot be referenced.
environ(5) environ(5) STANDARDS CONFORMANCE environ: AES, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.
eqmemsize(5) eqmemsize(5) (Tunable Kernel Parameters) NAME eqmemsize - determines the minimum size (in pages) of the equivalently mapped reserve pool VALUES Default 15 pages Allowed values 0 or any positive integer. However, because this represents physical pages no longer available for general system use, caution is urged before using large values. A eA DESCRIPTION Equivalently mapped memory is a page which has the same physical and virtual address. This is useful for some applications, and for I/O.
executable_stack(5) executable_stack(5) (Tunable Kernel Parameters) NAME executable_stack - controls whether program stacks are executable by default VALUES Failsafe 1 Default 0 Allowed values 0-2 Recommended values 0-2 DESCRIPTION This tunable parameter controls whether program stacks are executable by default. It allows systems to be configured to have extra protection from stack buffer overflow attacks without sacrificing system performance.
executable_stack(5) executable_stack(5) (Tunable Kernel Parameters) AUTHOR executable_stack was developed by HP.
fcntl(5) fcntl(5) NAME fcntl - file control options SYNOPSIS #include #include DESCRIPTION The fcntl() function provides for control over open files. The include file describes requests and arguments to fcntl() and open(). See fcntl (2) and open (2).
fcntl(5) fcntl(5) SEE ALSO fcntl(2), open(2). STANDARDS CONFORMANCE : AES, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.
fenv(5) fenv(5) NAME fenv - floating-point environment macros and functions SYNOPSIS #include DESCRIPTION The header declares two types and several macros and functions to provide access to the floating-point environment. The floating-point environment refers collectively to the floating-point status flags and control modes.
fs_async(5) fs_async(5) (Tunable Kernel Parameters) NAME fs_async - enables write calls to return before write operation is complete (Boolean) VALUES Failsafe 0 Default 0 Allowed values The allowed values are: 0 (use synchronous disk writes only), or 1 (allow asynchronous disk writes). Specify a positive integer value, 0 or 1. DESCRIPTION A fA fs_async specifies whether or not asynchronous writing of file system data structures to disk is allowed.
fs_async(5) fs_async(5) (Tunable Kernel Parameters) If fs_async is set to allow asynchronous writes and a crash occurs, fsck does not know what sequence was used, and thus will probably require interactive assistance from the administrator while fixing inconsistent file system information, repairing directory and inode entries, and so on.
fs_symlinks(5) fs_symlinks(5) (Tunable Kernel Parameters) NAME fs_symlinks - maximum number of symbolic links used to resolve a path name VALUES Failsafe 20 Default 20 Allowed values The minimum value allowed is 20. The maximum value allowed is 1024, or 1K. Specify a positive integer value. A fA DESCRIPTION The fs_symlinks tunable represents the maximum number of symbolic links followed by the kernel when resolving a path name.
fs_wrapper(5) fs_wrapper(5) NAME fs_wrapper - configuration and binary files used by file system administration commands SYNOPSIS ff [-F FStype ] ... fsck [-F FStype ] ... fsdb [-F FStype ] ... labelit [-F FStype ] ... mkfs [-F FStype ] ... mount [-F FStype ] ... ncheck [-F FStype ] ... newfs [-F FStype ] ... quot [-F FStype ] ... quotacheck [-F FStype ] ... A volcopy [-F FStype ] ... DESCRIPTION The commands listed in the SYNOPSIS can operate on different types of file systems.
fs_wrapper(5) fs_wrapper(5) FILES FStype is the file system type as optionally specified on the command line. command is the name of the command. /sbin/fs/FStype /command File system specific binary files for the fsck, fsdb, mkfs, mount, and newfs commands. There may be additional file system specific binary files in this directory that are not associated with fs_wrapper. A fA /usr/lbin/fs/FStype /command File system specific binary files for the remaining commands.
gssapi(5) gssapi(5) NAME gssapi - Generic Security Service Application Programming Interface DESCRIPTION This introduction includes general information about the Generic Security Service Application Programming Interface (GSSAPI) defined in "Internet RFC 2743, Generic Security Service Application Programming Interface," and "RFC 2744, Generic Security Service API: C-bindings.
gssapi(5) in the gssapi(5) normal way to the context acceptor. The acceptor passes this token to the gss_accept_sec_context() routine, which generates a delegated credential. The context acceptor can use the credential to initiate additional security contexts. The applications can exchange protected messages and data using this context. The applications can call GSSAPI routines to protect data exchanged in messages.
gssapi(5) gssapi(5) } gss_buffer_desc, *gss_buffer_t; The length field contains the total number of bytes in the data and the value field contains a pointer to the actual data. When using the gss_buffer_t data type, the GSSAPI routine allocates storage for any data it passes to the application. The calling application must allocate the gss_buffer_desc object. It can initialize unused gss_buffer_desc objects with the value GSS_C_EMPTY_BUFFER.
gssapi(5) gssapi(5) The gss_ctx_id_t data type contains an atomic value that identifies one end of a GSSAPI security context. The data type is opaque to the caller. Authentication Tokens GSSAPI uses tokens to maintain the synchronization between the applications sharing a security context. The token is a cryptographically protected bit string generated by the security mechanism at one end of the GSSAPI security context for use by the peer application at the other end of the security context.
gssapi(5) gssapi(5) GSS_S_UNAUTHORIZED 15 The operation is forbidded by local security policy. The following table lists the calling error values and their meanings: Name GSS_S_CALL_INACCESSIBLE_READ Field Value 1 GSS_S_CALL_INACCESSIBLE_WRITE 2 GSS_S_BAD_STRUCTURE 3 Meaning Could not read a required input parameter. Could not write a required output parameter. A parameter was incorrectly structured. The following table lists the supplementary bits and their meanings.
gssapi(5) gssapi(5) Names are represented in two forms: A printable form, for presentation to an application. An internal, canonical form that is used by the APIs and is opaque to applications. The gss_import_name() and gss_display_name() routines convert names between their printable form and their gss_name_tdata type. The gss_compare_name() routine compares internal form names.
gssapi(5) gssapi(5) Some security mechanisms check that the initiator_address field of the channel bindings presented to the gss_init_sec_context() routine contains the correct network address of the host system. Therefore portable applications should use either the correct address type and value or the GSS_C_AF_NULLADDR for the initiator_addrtype address field.
hdlpreg_hash_locks(5) hdlpreg_hash_locks(5) (Tunable Kernel Parameters) NAME hdlpreg_hash_locks - determines the size of the pregion spinlock pool VALUES Default 128 Allowed values 64 to 262144 DESCRIPTION Global kernel structures containing information on a running process or memory usage are frequently accessed or modified by several threads concurrently.
hfs_revra_per_disk(5) hfs_revra_per_disk(5) (Tunable Kernel Parameters) NAME hfs_revra_per_disk - maximum HFS file system blocks to be read in one read-ahead operation when sequentially reading backwards VALUES Failsafe 64 Default 64 Allowed values 0 to 8192 DESCRIPTION This tunable defines the maximum number of file system blocks to be read in one read-ahead operation when sequentially reading backwards. Who Is Expected to Change This Tunable? HP Field engineers, but not customers directly.
hier(5) hier(5) NAME hier - file system hierarchy DESCRIPTION The HP-UX file system is a hierarchical tree organized for administrative convenience. Within the filesystem tree structure, distinct areas are provided for files that are private to one machine, files that can be shared by machines, and home directories. There are two types of files that are shared: those that can be shared by multiple machines of a common architecture, and those that can be shared by all machines.
hier(5) hier(5) /sbin/rc3.d Link files to scripts in /sbin/init.d for entering or leaving run level 3. /stand Standalone binaries and kernel configuration files. /tmp System-generated temporary files; generally cleared during the boot operation. /usr Mount point for sharable user and system administration commands, libraries and documentation. /usr/bin Primary location for common utilities and user commands. /usr/ccs C compilation system. Tools and libraries used to generate C programs.
hier(5) hier(5) transient, and spool files. A hA /var/adm System administrative files, such as log files and accounting files. Some of the subdirectories are listed below. /var/adm/crash For saving kernel crash dumps. /var/adm/cron Directory for cron (1M) queuing. /var/adm/sw Default location for software distribution depot. /var/adm/syslog Log files generated by syslog. See syslog (3C) and syslogd (1M). /var/mail Incoming mail. /var/news Local-system news articles for news(1).
hostname(5) hostname(5) NAME hostname - host name resolution description DESCRIPTION Hostnames are domains. A domain is a hierarchical, dot-separated list of subdomains. For example, the machine monet, in the Berkeley subdomain of the EDU subdomain of the Internet Domain Name System would be represented as monet.Berkeley.EDU (with no trailing dot). Hostnames are often used with network client and server programs, which must generally translate the name to an address for use.
hosts_access(5) hosts_access(5) NAME hosts_access - format of host access control files DESCRIPTION The access control facility for internet services uses access control files to grant or deny access to its services. These files are defined using a simple access control language based on client (host name/address, user name) and server (process name, hostname/address) patterns. See the EXAMPLES section for a quick introduction.
hosts_access(5) hosts_access(5) • A string that begins with an at (@) character is treated as an NIS (formerly YP) netgroup name. A host name is matched if it is a host member of the specified netgroup. Netgroup matches are not supported for daemon process names or for client user names. • An expression of the form n.n.n.n /m.m.m.m is interpreted as a "net/mask" pair. A host address is matched if "net" is equal to the bit-wise AND of the address and the "mask". For example, the net/mask pattern 131.
hosts_access(5) hosts_access(5) %n(%N) The client (server) host name (or unknown or paranoid). %p The daemon process id. %s Server information: daemon @host, daemon @address, or just a daemon name, depending on how much information is available. %u The client user name (or unknown). %% Expands to a single % character. Characters in % expansions that do not match any alpha-numeric (A-Za-z0-9) or !@%-_=+:,./ characters are replaced by underscores.
hosts_access(5) hosts_access(5) A positive IDENT lookup result (the client matches KNOWN@host) is less reliable. It is possible for an intruder to spoof both the client connection and the IDENT lookup, although doing so is much harder than spoofing just a client connection. It may also be possible that the client’s IDENT server is lying. NOTE: IDENT lookups do not work with UDP services.
hosts_access(5) hosts_access(5) WARNING: Do not set traps on your finger daemon, unless you are prepared for infinite finger loops. Service trapping can be especially useful on network firewall systems. The typical network firewall only provides a limited set of services to the outer world. All other services can be trapped just like the above tftp example. The result is an excellent early-warning system.
hosts_options(5) hosts_options(5) NAME hosts_options - host access control language extensions DESCRIPTION This manual page describes the optional extensions to the language described in the hosts_access (5) manual page. The extensible language uses the following format: daemon_list : client_list : option : option ... The first two fields are described in the hosts_access (5) manual page. Briefly, daemon_list is a list of one or more daemon process names or wildcards.
hosts_options(5) hosts_options(5) twist shell_command Replace the current process by an instance of the specified shell command, after performing the %letter expansions described in the hosts_access (5) manual page. stdin, stdout, and stderr are connected to the client process. This option must appear at the end of a rule. To send a customized bounce message to the client instead of running the real ftp daemon: ftpd : ...
hosts_options(5) hosts_options(5) AUTHOR Wietse Venema (wietse@wzv.win.tue.nl) Department of Mathematics and Computing Science Eindhoven University of Technology Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands SEE ALSO hosts_access (5), the default access control language.
inttypes(5) inttypes(5) NAME inttypes - basic integer data types SYNOPSIS #include DESCRIPTION This header file defines integer data types of various sizes. By using the data types defined in this header file, developers can be assured that the data types will have the same properties and behavior on different systems.
inttypes(5) inttypes(5) INTMAX_MIN minimum value that can be stored in the largest integer data type INTMAX_MAX maximum value that can be stored in the largest signed integer data type UINTMAX_MAX maximum value that can be stored in the largest unsigned integer data type INTFAST_MIN minimum value that can be stored in the most efficient integer data type INTFAST_MAX maximum value that can be stored in the most efficient signed integer data type UINTFAST_MAX maximum value that can be stored in the most eff
inttypes(5) A iA inttypes(5) PRIiFAST8 PRIiFAST16 PRIiFAST32 PRIiFAST64 i i i i print print print print formatting option formatting option formatting option formatting option for for for for int_fast8_t int_fast16_t int_fast32_t int_fast64_t PRIiLEAST8 PRIiLEAST16 PRIiLEAST32 PRIiLEAST64 i i i i print print print print formatting option formatting option formatting option formatting option for for for for int_least8_t int_least16_t int_least32_t int_least64_t PRIu8 PRIu16 PRIu32 PRIu64 PRIu
inttypes(5) inttypes(5) PRIXFAST32 PRIXFAST64 X print formatting option for int_fast32_t X print formatting option for int_fast64_t PRIXLEAST8 PRIXLEAST16 PRIXLEAST32 PRIXLEAST64 X X X X print print print print formatting option formatting option formatting option formatting option for for for for int_least8_t int_least16_t int_least32_t int_least64_t The following macros can be used as formatting options with the scanf() family of functions (see scanf (3S)).
ioctl(5) ioctl(5) NAME ioctl - generic device control commands SYNOPSIS #include ioctl(fildes, request, arg) int fildes, request; DESCRIPTION The ioctl (2) system call provides for control over open devices. This include file describes requests and arguments used in ioctl (2) which are of a generic nature. For details about how individual requests will affect any particular device, see the corresponding device manual entry in Section (7).
ioctl(5) ioctl(5) of bytes it was able to read; • If there is no data available, the read fails and errno is set to [EWOULDBLOCK]. For writes, non-blocking I/O prevents all write requests to that device file from blocking, whether the requests succeed or fail.
kconfig(5) kconfig(5) NAME kconfig - introduction to kernel configuration commands DESCRIPTION HP-UX contains a set of commands used to view and modify the configuration of the HP-UX kernel.
kconfig(5) kconfig(5) change will not take effect at next boot. A warning will be printed in these situations. Changes that replace the entire currently running configuration, such as kconfig -i (import), kconfig -l (load), or kconfig -n (nextboot), cause any changes being held for next boot to be discarded. Changes that are made to the currently running system are retained when the system is rebooted. They remain in effect until changed, or until a saved kernel configuration is loaded.
kconfig(5) kconfig(5) Some configuration changes can be made without using the kernel configuration commands. No log file entries are made for such changes. The format of the log file may be changed without notice. Programs must use the kclog command to retrieve entries from the file rather than attempting to parse the file format. PARSING OUTPUT Most of the kernel configuration commands produce tabular output describing the details of a configuration.
kerberos(5) kerberos(5) NAME kerberos - introduction to the Kerberos system DESCRIPTION The Kerberos system authenticates individual users in a network environment. After authenticating yourself to Kerberos, you can use network utilities such as rlogin, rcp, and rsh without having to present passwords to the remote hosts and without having to edit and use .rhosts files. Note that these utilities will work without passwords only if the remote machines you deal with support the Kerberos system.
krs(5) krs(5) NAME krs - kernel registry services DESCRIPTION KRS is a kernel specific mechanism that facilitates the maintenance of structured data. Subsystems within the kernel can use KRS to maintain static or dynamic data. This data can be either volatile, or persistent across system reboot. AUTHOR krs was developed by Hewlett-Packard Company. SEE ALSO krsd(1M), krs_flush(1M).
ksi_alloc_max(5) ksi_alloc_max(5) (Tunable Kernel Parameters) NAME ksi_alloc_max - system-wide limit of queued signals that can be allocated VALUES Default NPROC * 8 Allowed Values 32 through maxint (0x7fffffff) Recommended NPROC * 8 DESCRIPTION ksi_alloc_max is the system-wide limit on the number of queued signals that can be allocated and in use. ksi stands for "kernel signal information" and identifies entries with information about queued signals. There is one per queued signal.
ksi_send_max(5) ksi_send_max(5) (Tunable Kernel Parameters) NAME ksi_send_max - limit on number of queued signals per process VALUES Default 32 Allowed Values 32 through maxint (0x7fffffff) DESCRIPTION ksi_send_max is the per process limit on the number of queued signals that can be posted by a sender and currently pending at receivers. The enforced limit is per process sender based. ksi stands for "kernel signal information" and identifies entries with information about queued signals.
lang(5) lang(5) NAME lang - description of supported languages DESCRIPTION HP-UX NLS (Native Language Support) provides support for the processing and customs requirements of a variety of languages. To enable NLS support for a particular language, a language definition must exist on the HP-UX system. Invoking the command locale -a (see locale (1)) displays information regarding which languages are currently supported on a particular HP-UX system. The default processing language for HP-UX is POSIX.
langinfo(5) langinfo(5) NAME langinfo - language information constants SYNOPSIS #include DESCRIPTION This header file contains the constants used to identify items of langinfo data (see nl_langinfo (3C)). The mode of items is given in . The following constants are defined. (Category indicates in which setlocale (3C) category each item is defined). Constant CODESET Category LC_CTYPE Description Codeset name, such as iso88591 and eucJP.
langinfo(5) langinfo(5) direction : Either a + or a - character. The + character indicates that years closer to the start_date have lower numbers than those closer to the end_date. offset : The number of the year closest to the start_date in the era. start_date : yyyy , mm, respectively represented A date in the format yyyy /mm /dd, where dd are the year, month, and day numbers of the start of the era. Years prior to AD 1 are as negative numbers.
langinfo(5) langinfo(5) alternative currency formatting information. A DIRECTION LC_CTYPE Value to indicate text direction. Values currently defined include null, 0, and 1. Values of null or 0 indicate that characters are arranged from left to right within a line and lines are arranged from top to bottom. A value of 1 indicates that characters are arranged from right to left within a line and lines are arranged from top to bottom.
langinfo(5) CHARMAP langinfo(5) LC_COLLATE LC_CTYPE The name of the charmap used to compile this locale. (This constant is an HP proprietary item, subject to change, and may not be portable to other platforms.) WARNINGS It is recommended that you use strftime() to access date and time information defined in category (see strftime (3C)), LC_TIME and localeconv (3C) to access information corresponding to RADIXCHAR, THOUSEP, and CRNCYSTR (see localeconv (3C)). AUTHOR langinfo was developed by HP.
libcrash(5) libcrash(5) NAME libcrash - crash dump access library SYNOPSIS #include
libcrash(5) libcrash(5) CRASHDIR (Version 2) This format, used in HP-UX 11.00 and later, consists of a crash.n directory containing an INDEX file, the kernel and all dynamically loaded kernel module files, and numerous image.m .p files, each of which contain portions of the physical memory image and metadata describing which memory pages were dumped and which were not. PARDIR (Version 5) This format is used in HP-UX Release 11i Version 1.0 and later.
libcrash(5) libcrash(5) SEE ALSO cr_close(3), cr_info(3), cr_isaddr(3), cr_uncompress(3), cr_verify(3).
libcres.a(5) libcres.a(5) NAME libcres.a - a subset of functions from libc.a DESCRIPTION The libcres.a library is an archive of selected functions from libc which are leaf functions that do not use shared data. This library provides applications with the ability to call those overhead-sensitive functions more efficiently than would be possible if those functions were in a shared library. The libcres.a usage model has changed significantly for HP-UX 11i Version 1.5.
limits(5) limits(5) NAME limits - implementation-specific constants SYNOPSIS #include DESCRIPTION The following symbols are defined in and are used throughout the descriptive text of this manual. The column headed HP-UX Value lists the values that application writers should assume for portability across all HP-UX systems. Symbols after values are interpreted as follows: A lA + Actual limit might be greater than specified value on certain HP-UX systems.
limits(5) LONG_MAX LONG_MIN MAX_CANON MAX_CHAR MAX_INPUT NAME_MAX NL_ARGMAX NL_MSGMAX NL_SETMAX NL_TEXTMAX NGROUPS_MAX OPEN_MAX PASS_MAX PATH_MAX PID_MAX PIPE_BUF PIPE_MAX PROC_MAX SCHAR_MAX SCHAR_MIN SHRT_MAX SHRT_MIN STD_BLK SYSPID_MAX SYS_NMLN SYS_OPEN TMP_MAX UCHAR_MAX UID_MAX UINT_MAX ULONG_MAX USHRT_MAX USI_MAX WORD_BIT limits(5) Max decimal value of a long Min decimal value of a long Max number of bytes in terminal canonical input line Max number of bytes in terminal input queue Max number of byte
limits(5) limits(5) AUTHOR limits was developed by HP. SEE ALSO exec(2), fcntl(2), fork(2), getgroups(2), link(2), lockf(2), open(2), pathconf(2), sysconf(2), uname(2), write(2), printf(3S), scanf(3S), tmpnam(3S), passwd(4), values(5), termio(7). STANDARDS CONFORMANCE : AES, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, POSIX.
man(5) man(5) NAME man - macros for formatting manpages SYNOPSIS man file ... nroff -man [option ]... [file ]... DESCRIPTION The man macros are used by the man and nroff commands (see man(1) and nroff(1)) — and are usable by troff (see third-party documentation) — to format the on-line versions of manpages found in HP-UX Reference and other related reference manuals. The man command calls nroff. man and nroff Defaults The default page size is 85 characters by 66 lines (8.
man(5) .IR .KC .P .PD .PM .PP .RB .RC .RE .RI .RS .RV .S3 .SC .SH .SM .SS .TH .TP \*R \*S \*(Tm \n(IN \n(LL \n(PD man(5) Set words alternately in italics and roman. Identify keycap. Begin normal paragraph. Set interparagraph spacing. Use Bell System proprietary subfooters. Begin normal paragraph. Set words alternately in roman and bold. Set words alternately in roman and constant-width. End relative margin indent. Set words alternately in roman and italics. Start relative margin indent.
man(5) man(5) The resulting output is in the form: t1(s2) a5 n4 t1(s2) a5 c3 .SH text Place section head text , such as SYNOPSIS, here. Section headings start at the left margin. Since they are normally all uppercase, they are printed a point-size smaller in troff. .SS text Place subsection head text , such as Options, here. Subsection headings start between the left margin and the normal text indent. .S3 text Place third-level head text , such as subhead, here.
man(5) man(5) The first parameter is set in an appropriate font or format. The second parameter, punctuation , is set in roman font and is provided for concatenated punctuation. The two parameters are concatenated as with the font macros. .CD commandname punctuation commandname is a command name, usually defined in a section 1 or 1M manpage, such as man. It is displayed in constant-width font. .CT citationtitle punctuation citationtitle is the name of a document, such as HP-UX Reference .
man(5) man(5) \n(LL Line length including \n(IN: 75 characters in nroff; 6.5 inches in troff. Also see the Options subsection. LL is expressed in basic units (u). \n(PD Current interparagraph distance. Set by .PD. PD is expressed in vertical line spaces (v). Measure nroff and troff use a number of scale indicators to qualify horizontal and vertical measurements. Many macro parameters have default units of measure.
man(5) man(5) produces a footer with text in the form: XYZ Company −1− Release 2.3: May 1996 Tables The tbl preprocessor (see tbl (1)) can be used to insert tables in manpages. The man macros allow you to use the standard tbl macros: .TS, .T&, and .TE. They do not support the mm macro extensions, .TS H and .TH (see mm(5)). In general, avoid using the man macros within a table, particularly the font macros, which can produce peculiar and unpredictable results.
man(5) man(5) /usr/share/lib/whatis File of strings from manpage NAME sections, created by catman, and used by the man -k and -f options. SEE ALSO col(1), man(1), neqn(1), nroff(1), tbl(1), catman(1M), mm(5).
manuals(5) manuals(5) NAME manuals - list of HP-UX documentation DESCRIPTION The latest HP-UX user manuals and white papers are available at: http://www.docs.hp.com.
math(5) math(5) NAME math - math functions, constants, and types SYNOPSIS #include DESCRIPTION This file contains declarations of all the functions in the Math Library (described in Section (3M)). For Itanium(R)-based systems, included in a compilation under the -fpwidetypes option, this file defines the types extended The Itanium-based 80-bit double-extended type. quad An IEEE 754-compliant, 128-bit floating-point type. On HPUX, quad is a synonym for long double.
math(5) math(5) MATH_ERREXCEPT Indicates support for the ISO/IEC C99 exception flag specification. math_errhandling Defined to be MATH_ERRNO if the +Olibmerrno compiler option (not the default) is used, or defined to be MATH_ERREXCEPT otherwise. It defines the following mathematical constants (type double) for user convenience: M_E The base of natural logarithms (e). M_LOG2E The base-2 logarithm of e. M_LOG10E The base-10 logarithm of e. M_LN2 The natural logarithm of 2.
maxdsiz(5) maxdsiz(5) (Tunable Kernel Parameters) NAME maxdsiz, maxdsiz_64bit - maximum size (in bytes) of the data segment for any user process VALUES Default 32bit: 1 GB 64bit: 4 GB Allowed values 32 bit minimum: 0x40000 32 bit maximum: 0xfffff000 64 bit minimum: 0x40000 64 bit maximum: 0x3ffbffff000 DESCRIPTION User programs on HP-UX systems are composed of five discrete segments of virtual memory: text (or code), data, stack, shared, and I/O.
maxdsiz(5) maxdsiz(5) (Tunable Kernel Parameters) What Other Tunable Values Should Be Changed at the Same Time? The maxssiz tunable should be considered because it too limits swap usage by process stack segment. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR maxdsiz was developed by HP. SEE ALSO getrlimit(2), setrlimit(2), maxtsiz(5), maxssiz(5).
maxfiles(5) maxfiles(5) (Tunable Kernel Parameters) NAME maxfiles - initial (soft) maximum number of file descriptors per process VALUES Failsafe 60 Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 512. For systems with more than 1GB of memory, the default is 2048, or 2K. Allowed values The minimum value is 32. The maximum value is 1048576, or 1M.
maxfiles(5) maxfiles(5) (Tunable Kernel Parameters) AUTHOR maxfiles was developed by HP. SEE ALSO kctune(1M), sam(1M), gettune(2), settune(2), ulimit(2), setrlimit(2), maxfiles_lim(5), nfile(5).
maxfiles_lim(5) maxfiles_lim(5) (Tunable Kernel Parameters) NAME maxfiles_lim - hard maximum number of file descriptors per process VALUES Failsafe 1024 Default 4096 Allowed values The minimum value allowed is 32. The maximum value allowed is 1048576, or 1M.
maxfiles_lim(5) maxfiles_lim(5) (Tunable Kernel Parameters) WARNINGS For values greater than 65535, compatibility for the obsolescent pstat_getfile() will be affected. For correct operation, all applications must use pstat_getfile2() instead of pstat_getfile().
maxrsessiz(5) Itanium(R)-Based System Only (Tunable Kernel Parameters) maxrsessiz(5) NAME maxrsessiz, maxrsessiz_64bit - maximum size (in bytes) of the RSE stack for any user process on the Itanium-based platform VALUES Default 32 bit default: 0x800000 (8MB) 64 bit default: 0x800000 (8MB) Allowed values 32 bit minimum: 0x40000 32 bit maximum: 0x17F00000 64 bit minimum: 0x40000 64 bit maximum: 0x40000000 DESCRIPTION Itanium-based systems utilize a per-process register stack in main memory (for more inform
maxssiz(5) maxssiz(5) (Tunable Kernel Parameters) NAME maxssiz, maxssiz_64bit - maximum size (in bytes) of the stack for any user process VALUES Default 32 bit default: 0x800000 (8MB) 64 bit default: 0x10000000 (256MB) Allowed values 32 bit minimum: 0x40000 32 bit maximum: 0x17F00000 64 bit minimum: 0x40000 64 bit maximum: 0x40000000 DESCRIPTION User programs on HP-UX systems are composed of five discrete segments of virtual memory: text (or code), data, stack, shared, and I/O.
maxssiz(5) maxssiz(5) (Tunable Kernel Parameters) What Are the Side Effects of Lowering the Value? Lowering this tunable will limit the amount of memory available for stack usage per process. This could cause processes with large stack requirements to terminate with a [SIGSEGV] error. What Other Tunable Values Should Be Changed at the Same Time? maxdsiz should be considered because it performs a similar function of limiting swap usage by process data segment.
maxtsiz(5) maxtsiz(5) (Tunable Kernel Parameters) NAME maxtsiz, maxtsiz_64bit - maximum size (in bytes) of the text segment for any user process VALUES Default 32 bit: 96MB 64 bit: 1GB Allowed values 32 bit minimum: 0x40000 32 bit maximum: 0x40000000 64 bit minimum: 0x40000 64 bit maximum: 0x3FFFFFFFFFF DESCRIPTION User programs on HP-UX systems are composed of five discrete segments of virtual memory: text (or code), data, stack, shared, and I/O.
maxuprc(5) maxuprc(5) (Tunable Kernel Parameters) NAME maxuprc - limits the maximum number of concurrent user processes per user VALUES Failsafe 256 Default 256 Allowed values Between 3 and (nproc -5). Recommended value 256 DESCRIPTION maxuprc is a dynamic tunable that limits the maximum number of processes per user. Only root can have more than the number of processes limited by maxuprc.
maxusers(5) maxusers(5) (OBSOLETED) NAME maxusers - OBSOLETED DESCRIPTION This tunable has been obsoleted and removed in the HP-UX 11i Version 2 release. Please do not make any changes to this tunable as they will have no effect on the kernel. Prior to the HP-UX 11i Version 2 release, the maxusers tunable was used to calculate the default values of nclist, nfile, and ninode, all of which control kernel data structures that determine the system resource allocation.
maxvgs(5) maxvgs(5) (Tunable Kernel Parameters) NAME maxvgs - maximum number of LVM Volume Groups that can be created/activated on the system VALUES Failsafe 10 Default 10 Allowed values 1-256 Recommended values 10-256 The value for maxvgs should be no larger than the anticipated needs of the system. Resources are reserved for the number of volume groups indicated, so setting an unnecessarily large maxvgs value on systems with limited resources is not advisable.
max_acct_file_size(5) max_acct_file_size(5) (Tunable Kernel Parameters) NAME max_acct_file_size - defines the maximum accounting file size VALUES Failsafe 2,560,000 bytes Default 2,560,000 bytes Allowed values Between 2,560,000 and 2,147,483,647 bytes. Recommended values 2,560,000 bytes DESCRIPTION max_acct_file_size is a dynamic tunable that limits the maximum accounting file size. See acct(2) and acct(4) .
max_async_ports(5) max_async_ports(5) (Tunable Kernel Parameters) NAME max_async_ports - maximum number of asynchronous disk ports that can be open at any time VALUES Failsafe 1 Default 50 Allowed values 1 - 4294967295 (2ˆ64 - 1) (limited by available physical memory) Recommended values There is no recommended value for this tunable. The number of processes that will be accessing the driver simultaneously can be used as a guideline to set a value.
max_mem_window(5) max_mem_window(5) (Tunable Kernel Parameters) NAME max_mem_window - maximum number of group-private 32-bit shared memory configurable by users VALUES Default 0 Allowed values Minimum: 0 shared memory windows Maximum: 8192 shared memory windows DESCRIPTION Processes in a PA-RISC 32-bit architecture usually share the global quadrants 3 and 4 for such things as I/O mappings, shared libraries, shared mapped files, etc.
max_thread_proc(5) max_thread_proc(5) (Tunable Kernel Parameters) NAME max_thread_proc - defines the maximum number of concurrent threads allowed per process. VALUES Failsafe 256 Default 256 Allowed values Between 64 and nkthread Recommended values 256 DESCRIPTION max_thread_proc is a dynamic tunable that limits the maximum number of threads allowed per process on the system. When tuning max_thread_proc, the maximum number of threads allowed per process will be the new value of max_thread_proc.
mesg(5) mesg(5) (Tunable Kernel Parameters) NAME mesg - enable or disable System V IPC messages at boot time DESCRIPTION The mesg tunable is obsolete. The System V IPC message subsystem is always enabled. Overview A System V message is just a sequence of bytes that can be passed between cooperating processes via a message queue. Messages can be of any length up to a tunable maximum.
mknod(5) mknod(5) NAME mknod.h - header file of macros for handling device numbers SYNOPSIS #include DESCRIPTION The header file defines macros to create and interpret device identification numbers for use with the mknod() system call (see mknod(2)). The use of these macros is architecture-dependent. See the System Administration Manual for your system for information on how to select major and minor device numbers. mknod.
mm(5) mm(5) NAME mm - the MM macro package for formatting documents SYNOPSIS mm [ options ] [ files ] nroff -mm [ options ] [ files ] DESCRIPTION This package provides a formatting capability for a very wide variety of documents. The manner in which a document is typed in and edited is essentially independent of whether the document is to be eventually formatted at a terminal or is to be phototypeset. See the references below for further details.
mman(5) mman(5) NAME mman - memory mapping definitions SYNOPSIS #include DESCRIPTION The header defines the following symbolic constants for use with the madvise() function: MADV_NORMAL MADV_RANDOM MADV_SEQUENTIAL MADV_WILLNEED MADV_DONTNEED MADV_SPACEAVAIL No further special treatment. Expect random page references. Expect sequential page references. Will need these pages. Will not need these pages. Ensure that resources are reserved.
msgmap(5) msgmap(5) (Tunable Kernel Parameters) NAME msgmap - number of entries in the System V IPC message space resource map VALUES Failsafe (2+msgtql) Default (2+msgtql) Allowed values Minimum: 3 Maximum: msgtql+2 or msgseg+2, whichever is lower. Recommended Value msgtql+2 DESCRIPTION The msgmap tunable specifies the size of (number of entries in) the message space resource map that tracks the free space in shared IPC message space.
msgmax(5) msgmax(5) (Tunable Kernel Parameters) NAME msgmax - maximum System V IPC message size in bytes VALUES Default 8192 Failsafe 8192 Allowed values Minimum: 0 Maximum: (64*1024*1024), (msgssz*msgseg), or msgmnb, whichever is smaller. DESCRIPTION The msgmax tunable specifies the maximum allowable size, in bytes, of any single message in a System V message queue.
msgmnb(5) msgmnb(5) (Tunable Kernel Parameters) NAME msgmnb - maximum number of bytes on a single System V IPC message queue VALUES Default 16384 Failsafe 16384 Allowed Values Minimum: 0 Maximum: 64*1024*1024 or (msgssz*msgseg), whichever is smaller. DESCRIPTION The msgmnb tunable specifies the maximum allowable total combined size, in bytes, of all messages queued in a single given System V IPC message queue at any one time.
msgmni(5) msgmni(5) (Tunable Kernel Parameters) NAME msgmni - maximum number of system-wide System V IPC message queues (IDs) allowed VALUES Default 512 Failsafe 512 Allowed Values Minimum: 1 Maximum: 32767 DESCRIPTION The msgmni tunable specifies the maximum number of system-wide System V IPC message queue identifiers (one per queue). Each message queue created has an identifier (ID) and there is an upper limit of msgmni identifiers. Applications use the msgget() system call to create new queues.
msgseg(5) msgseg(5) (Tunable Kernel Parameters) NAME msgseg - number of System V IPC message segments in the system VALUES Default 8192 Failsafe 8192 Allowed Values Minimum: 1 Maximum: 32767 or ((2ˆ32-1)/ msgssz), whichever is smaller. The product of msgseg*msgssz must not exceed a 32 bit integer value of 4,294,967,295 (2ˆ32)-1. DESCRIPTION The msgseg specifies the total number of "segments" of system-wide shared memory message storage space which is shared among all IPC message queues.
msgseg(5) msgseg(5) (Tunable Kernel Parameters) The memory requirement is the product the msgssz and msgseg tunables. Use care when setting these two tunables, as they can have a profound effect on memory utilization, due to the multiplicative effect. AUTHOR msgmni was developed by AT&T. SEE ALSO msgsnd(2), mesg(5), msgmap(5), msgmax(5), msgmnb(5), msgmni(5), msgssz(5), msgtql(5).
msgssz(5) msgssz(5) (Tunable Kernel Parameters) NAME msgssz - number of bytes in a System V IPC message segment VALUES Default 96 Failsafe 96 Allowed Values Minimum: 65 Maximum: (2ˆ32-1)/msgseg The product of msgseg*msgssz must not exceed a 32 bit integer value of 4,294,967,295 (2ˆ32)-1. DESCRIPTION The msgssz tunable specifies the size, in bytes, of a "segment" of memmory space reserved for storing IPC messages.
msgssz(5) msgssz(5) (Tunable Kernel Parameters) SEE ALSO msgsnd(2), mesg(5), msgmap(5), msgmax(5), msgmnb(5), msgmni(5), msgseg(5), msgtql(5).
msgtql(5) msgtql(5) (Tunable Kernel Parameters) NAME msgtql - maximum number of System V IPC messages in the system at any time VALUES Default 1024 Failsafe 1024 Allowed values Minimum: 1 Maximum: msgseg Recommended values The largest number of messages expected. DESCRIPTION The msgtql tunable specifies the maximum total system-wide individual messages across all message queues. Every message has a header to specify message type and location and the total number of headers is limited by msgtql.
ncdnode(5) ncdnode(5) (Tunable Kernel Parameters) NAME ncdnode - maximum number of open CDFS files (system-wide) VALUES Failsafe 150 Default 150 Allowed values The minimum value allowed is 25. The maximum value allowed is memory limited. Specify a positive integer value. DESCRIPTION ncdnode defines the number of slots in the inode table for in the CD-ROM file systems (CDFS). This number limits the number of open nodes that can be in memory for CDFS file systems at any given time.
nclist(5) nclist(5) (Tunable Kernel Parameters) NAME nclist - number of cblocks for pty and tty data transfers VALUES Default 8292 Allowed Values Minimum 132 and maximum limited by available memory. DESCRIPTION nclist specifies how many cblocks are allocated in the system. Data traffic is stored in cblocks as it passes through tty and pty devices. The default value for nclist, 8292, is based on a formula of 100 cblocks for system use in handling traffic to the console, etc.
ncsize(5) ncsize(5) (Tunable Kernel Parameters) NAME ncsize - number of Directory Name Lookup Cache (DNLC) entries VALUES Failsafe 5596 Default 8976 Allowed values The minimum value allowed is 128. The maximum value allowed is memory limited. The value is further constrained in that it must be equal to or greater than eight times the value of the number of locks for the DNLC (ncsize >= 8 * dnlc_hash_lock). Specify a positive integer value.
ndir(5) ndir(5) NAME ndir.h - format of HP-UX directory streams SYNOPSIS #include DESCRIPTION This header file defines data types used by the directory stream routines described in directory (3C). It is provided to allow older HP-UX programs to compile unmodified. This file is obsoleted starting from HPUX 10.30 and is going to be removed in future releases. The header file
nfile(5) nfile(5) (Tunable Kernel Parameters) NAME nfile - maximum number of open files (system-wide) VALUES Failsafe 16384 Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 16384, or 16K. For systems with more than 1GB of memory, the default is 65536, or 64K. Allowed values The minimum value allowed is 2048.
nfile(5) nfile(5) (Tunable Kernel Parameters) SEE ALSO kctune(1M), sam(1M), gettune(2), settune(2), maxfiles(5), maxfiles_lim(5).
nflocks(5) nflocks(5) (Tunable Kernel Parameters) NAME nflocks - maximum number of file locks VALUES Failsafe 1024 Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 1200. For systems with more than 1GB of memory, the default is 4096, or 4K. Allowed values The minimum value is 50. The maximum value is 0x1000000. Specify a positive integer value.
ninode(5) ninode(5) (Tunable Kernel Parameters) NAME ninode - maximum number of HFS file system open inodes that can be in memory VALUES Failsafe 476 Default The default value is computed at runtime and depends on the amount of physical memory on the system. For small memory systems (less than 1GB), the default is 4880. For systems with more than 1GB of memory, the default is 8192, or 8K. Allowed values The minimum value allowed is 14. The maximum value allowed is memory limited.
ninode(5) ninode(5) (Tunable Kernel Parameters) SEE ALSO kctune(1M), sam(1M), gettune(2), settune(2).
nkthread(5) nkthread(5) (Tunable Kernel Parameters) NAME nkthread - limits the number of threads allowed to run simultaneously VALUES Failsafe 8416 Default ((nproc*2)+16) or 8416 Allowed values 200 - 250,000 nkthread must be greater than nproc + 100. nkthread must be greater than max_thread_proc. This may be set higher, but more will not be used. Recommended values Unless there are heavily threaded applications on the system, the default formula is adequate if nproc is tuned correctly.
nkthread(5) nkthread(5) (Tunable Kernel Parameters) AUTHOR nkthread was developed by HP. SEE ALSO max_thread_proc(5), nproc(5).
nproc(5) nproc(5) (Tunable Kernel Parameters) NAME nproc - limits the number of processes allowed to exist simultaneously VALUES Failsafe 4200 Default 4200 Allowed values 100 - 30000 This may be set higher, but more will not be used. Setting nproc below 110 will interfere with the systems ability to execute in multi-user mode. Some configurations may have a higher minimum. nproc must be greater than nkthread + 100. nproc must be greater than maxuprc + 5.
nproc(5) nproc(5) (Tunable Kernel Parameters) Some of these other tunables used to adjust automatically with changes in nproc. These adjustments must now be made explicitly. Other tunables may require a reboot to take effect. So, dramatic increases in nproc without reboot should be made with caution. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR nproc was developed by HP.
npty(5) npty(5) (Tunable Kernel Parameters) NAME npty - maximum number of pseudo-teletypes (ptys) VALUES Default npty = 60 Allowed Values Minimum : 1 Maximum : System memory size DESCRIPTION npty is the number of pseudo-teletype (pty) drivers that a system can support. The pty driver provides support for a device-pair called a pseudo terminal. A pseudo terminal is a pair of character devices, a master device, and a slave device.
NSTREVENT(5) NSTREVENT(5) (Tunable Kernel Parameters) NAME NSTREVENT - maximum number of outstanding STREAMS bufcalls VALUES Failsafe 50 Default 50 Allowed values 0 - 2147483647 Recommended values 50 DESCRIPTION This tunable limits the maximum number of outstanding bufcalls that are allowed to exist in the system at any given time.
nstrpty(5) nstrpty(5) (Tunable Kernel Parameters) NAME nstrpty - maximum number of streams-based pseudo-teletypes (ptys) VALUES Default nstrpty = 10 Allowed Values Minimum : 1 Maximum : System memory size DESCRIPTION nstrpty is the number of streams-based pseudo-teletype (pty) drivers that a system can support. The pty driver provides support for a device-pair called a pseudo terminal. A pseudo terminal is a pair of character devices, a master device, and a slave device.
NSTRPUSH(5) NSTRPUSH(5) (Tunable Kernel Parameters) NAME NSTRPUSH - maximum number of STREAMS modules in a single stream VALUES Failsafe 16 Default 16 Allowed values 0 - 2147483647 Recommended values 16 DESCRIPTION This tunable defines the maximum number of STREAMS modules that can be pushed onto a stream. This provides some protection against run-away processes that might automatically select modules to push onto a stream.
NSTRSCHED(5) NSTRSCHED(5) (Tunable Kernel Parameters) NAME NSTRSCHED - number of STREAMS scheduler daemons to run VALUES Failsafe 0 Default 0 Allowed values 0 - 2147483647 Recommended values 0 DESCRIPTION This tunable defines the number of multiprocessor (MP) STREAMS scheduler daemons to run on systems containing more than one processor. Note that uniprocessor (UP) systems do not use an MP scheduler daemon, but both MP and UP systems always have one UP STREAMS scheduler (supsched).
nstrtel(5) nstrtel(5) (Tunable Kernel Parameters) NAME nstrtel - specifies the number of telnet device files the kernel can support for incoming telnet sessions VALUES Failsafe 60 Default 60 Allowed values Any positive integer. (Subject to available physical memory.) It is best to use the default value, and there should not be any need to lower it. However, if the simultaneous telnet connection load is very high, then the value of nstrtel could be increased. Recommended values 60 (Default value.
nstrtel(5) nstrtel(5) (Tunable Kernel Parameters) SEE ALSO insf(1M), telnetd(1M), telm(7), tels(7).
nswapdev(5) nswapdev(5) (Tunable Kernel Parameters) NAME nswapdev - maximum number of devices that can be enabled for swap VALUES Default 10 devices Allowed values Minimum: 1 device Maximum: 25 devices DESCRIPTION Swap devices are managed in a table for easier indexing in the kernel. nswapdev sets the kernel variable responsible for the upper limit on this table, and thus the upper limit to devices which can be used for swap. Who is Expected to Change This Tunable? Anyone.
nswapfs(5) nswapfs(5) (Tunable Kernel Parameters) NAME nswapfs - maximum number of file systems that can be enabled for swap VALUES Default 10 file systems Allowed values Minimum: 0 file systems Maximum: 25 files systems DESCRIPTION File system swap devices are managed in a table for easier indexing in the kernel. nswapfs sets the kernel variable responsible for the upper limit on this table, and thus the upper limit to file systems which can be used for swap.
nsysmap(5) nsysmap(5) (Tunable Kernel Parameters) NAME nsysmap, nsysmap64 - number of entries in a kernel dynamic memory allocation map VALUES Default 8400 Allowed Values Any positive value. In practice, very small values will likely cause a panic during boot (or soon after) and very large values are probably unnecessary. Changing the tunable from the default is only necessary under certain conditions.
nsysmap(5) nsysmap(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time? None. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR nsysmap and nsysmap64 were developed by HP.
orientation(5) orientation(5) NAME orientation - the orientation of a stream DESCRIPTION The orientation of a stream is a property of a FILE object that is handled as a input/output stream. It is useful when the input/output model assumes that characters are handled as wide-characters within an application and stored as multi-byte characters in files, and that all the wide-character input/output functions begin executing with the stream positioned at the boundary between two multi-byte characters.
pam_unix(5) pam_unix(5) NAME pam_unix - authentication, account, session, and password management PAM modules for UNIX SYNOPSIS /usr/lib/security/libpam_unix.1 DESCRIPTION The UNIX service module for PAM, /usr/lib/security/libpam_unix.1, provides functionality for all four PAM modules: authentication, account management, session management and password management. The libpam_unix.1 module is a shared object that can be dynamically loaded to provide the necessary functionality upon demand.
pam_unix(5) pam_unix(5) Unix Account Management Module The UNIX account management component provides a function to perform account management (pam_sm_acct_mgmt()). The function retrieves the user’s password entry from the UNIX password database and verifies that the user’s account and password have not expired. For trusted systems, this module also validates the allowed access time and access terminal based upon the security configuration.
pam_unix(5) pam_unix(5) APPLICATION USAGE On trusted systems, the pam_sm_*() interfaces implemented in the UNIX service module, libpam_unix, are not thread-safe. Also they are not thread-safe if the "database" for passwd or publickey specified in the name-service switch configuration file, /etc/nsswitch.conf, is nisplus. Otherwise, they are thread-safe. A cancellation point may occur while a thread is executing any of these interfaces. They are not cancel-safe, async-cancel-safe, nor async-signal-safe.
pam_updbe(5) pam_updbe(5) NAME pam_updbe - User policy definition service module SYNOPSIS /usr/lib/security/libpam_updbe.1 DESCRIPTION The user policy definition service module for PAM, /usr/lib/security/libpam_updbe.1, reads options defined in the user configuration file, /etc/pam_user.conf (see pam_user.conf(4)) and uses pam_set_data (see pam_set_data (3)) to store the information in the pam handle for subsequent service modules to use.
partition(5) partition(5) NAME partition - display information about the Partition Command Line Interface SYNOPSIS partition DESCRIPTION This manpage gives a listing and brief description of the commands which are used to manage a partitionable system. Command cplxmodify Description Modify an existing complex. parcreate Create a new partition. parmodify Modify an existing partition. parstatus Display partition and available resources information for a partitionable system.
pa_maxssiz(5) Itanium(R)-based System Only (Tunable Kernel Parameters) pa_maxssiz(5) NAME pa_maxssiz_32bit, pa_maxssiz_64bit - maximum size (in bytes) of the stack for a user process running under the PA-RISC emulator on Itanium-based system VALUES Default 32 bit default: 0x04FC6000 (79Mb) 64 bit default: 0x20000000 (512Mb) Allowed values 32 bit minimum: 0x04FC6000 (79Mb) 32 bit maximum: 0x1BF00000 (447Mb) 64 bit minimum: 0x20000000 (512Mb) 64 bit maximum: 0x60000000 (1.
pa_maxssiz(5) pa_maxssiz(5) Itanium(R)-based System Only (Tunable Kernel Parameters) When Should the Value of This Tunable Be Lowered? This tunable should only be lowered if the workload for the PA-RISC emulator is known on the system, more space than is needed is currently used for stack emulation, and swap space (either reserved or allocated) is at a premium on the system.
pfdat_hash_locks(5) pfdat_hash_locks(5) (Tunable Kernel Parameters) NAME pfdat_hash_locks - determines the size of the pfdat spinlock pool VALUES Default 128 Allowed values 64 to 262144 DESCRIPTION Global kernel structures containing information on a running process or memory usage are frequently accessed or modified by several threads concurrently.
pfs_exports(5) pfs_exports(5) NAME pfs_exports, pfs_xtab - directories to export to PFS clients SYNOPSIS /etc/pfs_exports /etc/pfs_xtab DESCRIPTION The /etc/pfs_exports file contains entries for directories that can be exported to PFS clients. This file is read automatically by the pfs_exportfs (1M) command. If you change this file, you must run pfs_exportfs (1M) for the changes to affect the daemon’s operation.
pfs_fstab(5) pfs_fstab(5) NAME pfs_fstab, mtab - static file system mounting table, mounted file systems table SYNOPSIS /etc/pfs_fstab /etc/mtab DESCRIPTION The /etc/pfs_fstab file contains entries for CD-ROM file systems and disc images to mount using the pfs_mount (1M) command, which is normally invoked by rc(1M) script at boot time. This file is used by various utilities such as pfs_mount, and pfs_umount.
pfs_fstab(5) pfs_fstab(5) FILES /etc/pfs_fstab /etc/mtab SEE ALSO pfs_mount(1M).
physical_io_buffers(5) physical_io_buffers(5) (Tunable Kernel Parameters) NAME physical_io_buffers - total buffers for physical I/O operations VALUES Default 0 buffers Allowed values Minimum: 384 buffers Maximum: 65535 buffers DESCRIPTION Many physical I/O operations in the kernel use a shared pool of small pieces of memory (buffers) to hold data being read or written to the I/O device.
physical_io_buffers(5) physical_io_buffers(5) (Tunable Kernel Parameters) WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR physical_io_buffers was developed by HP.
portal(5) portal(5) NAME portal - a "window to the future" for applications SYNOPSIS #include DESCRIPTION This header file is a "window to the future" for applications.
portal(5) portal(5) The SET_MASK_BIT_LOOP macro in the following example will turn on the three least significant bits of the maximum integer. int i; intmax_t mask = 0; for (i = 0; i < 3; i++) { SET_MASK_BIT_LOOP(mask, i, intmax_t); } The SIGN_BIT macro in the following example will return the position of the sign bit in a 32-bit integer. SIGN_BIT(int32_t) The SIGN_BIT_MASK macro in the following example will return a sign bit mask for a 32-bit integer.
pthread_stubs(5) pthread_stubs(5) NAME pthread_stubs - list of pthread calls for which the stubs are provided in the C library DESCRIPTION The libc shared libraries in libc cumulative patches, PHCO_22923 (11.00) and PHCO_23772 (11.11) onwards, contain stubs for the pthread functions in libpthread and libcma. The stubs allow nonthreaded applications to dynamically load thread-safe libraries successfully, so that the pthread symbols are resolved.
pthread_stubs(5) pthread_stubs(5) pthread_mutexattr_setprotocol(3T) pthread_mutexattr_setpshared(3T) pthread_mutexattr_settype(3T) pthread_once (3T) pthread_rwlock_destroy(3T) pthread_rwlock_init(3T) pthread_rwlock_rdlock(3T) pthread_rwlock_tryrdlock(3T) pthread_rwlock_trywrlock(3T) pthread_rwlock_unlock(3T) pthread_rwlock_wrlock(3T) pthread_rwlockattr_destroy(3T) pthread_rwlockattr_getpshared(3T) pthread_rwlockattr_init (3T) pthread_rwlockattr_setpshared(3T) pthread_self (3T) pthread_setcancelstate(3T) p
pthread_stubs(5) pthread_stubs(5) Example 1 An application or any library linked, that requires pthread/cma calls to resolve to the pthread stubs in libc must be built without -lpthread or -lcma on the link line. If -lc is specified before -lpthread or -lcma on the link line, pthread/cma calls resolve to pthread stubs in libc. This may lead to problems as given in the examples below: $ cat thread.c #include #include
pthread_stubs(5) pthread_stubs(5) dynamic /usr/lib/libpthread.1 dynamic /usr/lib/libc.2 shared library binding: deferred global hash table disabled ... Example 2 Specifying -lc before -lpthread in threaded applications can cause run-time problems like the following because the pthread calls get resolved to stubs in libc rather than the functions in pthread library. • Calls to pthread functions fail, due to uninitialized internal structures. • Calls to gethostbyname(3N) fail and return null.
pthread_stubs(5) pthread_stubs(5) Due to the problems mentioned above, -lc should never be specified in the build command of an executable or shared library. By default, the compiler drivers (cc, aCC, f90) automatically pass -lc to the linker at the end of the link line of the executables. To see if a shared library was built with -lc, look at the shared library list in the chatr output (see chatr (1)), or list the dependent libraries with ldd (see ldd(1)): $ cc +z -c lib1.c $ ld -b -o lib1.sl lib1.
pthread_stubs(5) pthread_stubs(5) libc.2. The dependency list of the first case is: a.out / \ lib1 lib2 libc | | libc libpthread / Therefore the load graph is constructed as: lib1.sl --> lib2.sl -->libc.2 --> libpthread.1 This is the desired behavior for non-threaded applications, but causes threaded applications (that use either libpthread or libcma) to fail. lib1.sl specifies -lc, lib2.sl specifies -lpthread and no -lpthread on a.out. $ cc -c +z +DA2.0W lib1.c lib2.c lib1.c: lib2.c: $ ld -b -o lib1.
pthread_stubs(5) pthread_stubs(5) $ cc +DA2.0W thread.c -L. -l1 -l2 $ a.out Error $ ldd a.out lib1.sl => ./lib1.sl lib2.sl => ./lib2.sl libc.2 => /usr/lib/pa20_64/libc.2 libpthread.1 => /lib/pa20_64/libpthread.1 libdl.1 => /usr/lib/pa20_64/libdl.1 $ LD_PRELOAD="/lib/pa20_64/libpthread.1" a.out Success a.out correctly lists -lpthread for a threaded application. $ ld -b -o lib1.sl lib1.o $ ld -b -o lib2.sl -lpthread lib2.o $ cc +DA2.0W thread.c -L. -l1 -l2 -lpthread $ a.out Success $ ldd a.out lib1.sl => .
quota(5) quota(5) NAME quota - disk quotas DESCRIPTION Disk quotas can be used by the system administrator to limit the number of files and file blocks owned by a user on a per-file-system basis. Separate limits can be established for both the number of files (inodes) and the number of 1-Kbyte blocks for each user. A soft (preferred) and a hard limit are established.
quota(5) quota(5) The dqblk64 data structure (defined in ), is used by the quotactl() system call (see quotactl (2)) to get or set quota information for 64-bit filesystems. This structure contains fields that are used to store a user’s current file and block count and quota limits for a particular file system. Note that VxFS 3.5 will track usage in the dqb64_curblocks field only up to 2 TB.
quota(5) quota(5) the chown() system call. The sam command (see sam(1M)) does not yet support disk quotas. When adding new users or file systems, any desired quotas must be established outside of sam. HP has added features to the original implementation to ensure correctness of the content of the quotas file when quotas are enabled by mount and disabled by umount (see mount (1M)), thus eliminating the need to run quotacheck (see quotacheck (1M)).
rcsintro(5) rcsintro(5) NAME rcsintro - description of RCS commands DESCRIPTION Revision Control System (RCS) automates the storing, retrieval, logging, identification, and merging of revisions of ASCII text files. RCS is useful for managing files that are revised frequently. Functions of RCS • Storage and retrieval of revisions of text files. RCS saves revisions in a space efficient way. Revisions can be retrieved by ranges of revision numbers, symbolic names, dates, authors, and states.
rcsintro(5) rcsintro(5) Of course, it is too late now to do the check out with locking, because you probably modified f.c already, and a second check out would overwrite your modifications. Instead, invoke: rcs -l f.c This command will lock the latest revision for you, unless somebody else has already locked it. In that case, you will have to negotiate with that person. Locking assures that you, and only you, can check in the next update, and avoids nasty problems if several people work on the same file.
rcsintro(5) rcsintro(5) path2 are (possibly different or empty) paths and workfile is a filename. • Only the RCS file is given. Then the working file is assumed to be in the current directory and its name is derived from the name of the RCS file by removing path1/ and the suffix ",v". • Only the working file is given. Then the name of the RCS file is derived from the name of the working file by removing path2/ and appending the suffix ",v".
regexp(5) regexp(5) NAME regexp - regular expression and pattern matching notation definitions DESCRIPTION A Regular Expression is a mechanism supported by many utilities for locating and manipulating patterns in text. Pattern Matching Notation is used by shells and other utilities for file name expansion. This manual entry defines two forms of regular expressions: Basic Regular Expressions and Extended Regular Expressions; and the one form of Pattern Matching Notation.
regexp(5) regexp(5) . * [ \ (period, asterisk, left bracket, and backslash) lose their special meaning within a bracket expression. The character sequences: [. [= [: (left-bracket followed by a period, equal-sign or colon) are special inside a bracket expression and are used to delimit collating symbols, equivalence class expressions and character class expressions. These symbols must be followed by a valid expression and the matching terminating .], =], or :].
regexp(5) regexp(5) For example, with the above collating order and assuming that E is a noncollating character, then both the expressions [[=A=]-E] and [d-a] are invalid. An ending range point can also be the starting range point in a subsequent range expression. Each such range expression is evaluated separately. For example, the bracket expression [a-m-o] is treated as [a-mm-o].
regexp(5) regexp(5) \(RE \) A subexpression can be defined within an RE by enclosing it between the character pairs \( and \). Such a subexpression matches whatever it would have matched without the \( and \). Subexpressions can be arbitrarily nested. An asterisk immediately following the \( loses its special meaning and is treated as itself. An asterisk immediately following the \) is treated as an invalid character.
regexp(5) regexp(5) have their special meaning are: . [ \ ( ) * + ? $ | The period, left square bracket, backslash, left parenthesis, right parenthesis, asterisk, plus sign, question mark, dollar sign, and vertical bar are special except when used in a bracket expression (see ERE Bracket Expression). ^ The circumflex is special except when used in a bracket expression in a nonleading position. delimiter Any character used to bound (i.e., delimit) an entire ERE is special for that ERE.
regexp(5) regexp(5) [ ] square brackets * + ? asterisk, plus sign, question mark ^ $ anchoring concatenation alternation | For example, the ERE abba|cde is interpreted as "match either abba or cde. It does not mean "match abb followed by a or c followed in turn by de (because concatenation has a higher order of precedence than alternation). Expression Anchoring An ERE can be limited to matching strings that begin or end a line (i.e.
regexp(5) regexp(5) Patterns Matching Multiple Characters The following rules may be used to construct patterns matching multiple characters from patterns matching a single character: * The asterisk (*) is a pattern that matches any string, including the null string. RERE The concatenation of patterns matching a single character is a valid pattern that matches the concatenation of the single characters or collating elements matched by each of the concatenated patterns.
regexp(5) regexp(5) Multiple alternative patterns in a single clause can be specified by separating individual patterns with the vertical bar character (|); strings matching any of the patterns separated this way will cause the corresponding command list to be selected. SEE ALSO ksh(1), sh(1), fnmatch(3C), glob(3C), regcomp(3C), setlocale(3C), environ(5). STANDARDS CONFORMANCE
region_hash_locks(5) region_hash_locks(5) (Tunable Kernel Parameters) NAME region_hash_locks - determines the size of the region spinlock pool VALUES Default 128 Allowed values 64 to 262144 DESCRIPTION Global kernel structures containing information on a running process or memory usage are frequently accessed or modified by several threads concurrently.
remote_nfs_swap(5) remote_nfs_swap(5) (Tunable Kernel Parameters) NAME remote_nfs_swap - enable swapping across NFS VALUES Default 0 (off) Allowed values 0 (off) or 1 (on) DESCRIPTION This tunable controls adding a NFS filesystem for use as swap. If remote_nfs_swap is set to 0 (off), only local filesystems and devices can be used for swap. If it is set to 1 (on), both local and networked file systems can be used for swap.
rtsched_numpri(5) rtsched_numpri(5) (Tunable Kernel Parameters) NAME rtsched_numpri - number of priority values to support for POSIX.1b realtime applications VALUES Failsafe 32 Default 32 Allowed Values Any value in the range of 32 to 512 is allowed. A value lower than 32 is reset to 32, whereas a value higher than 512 is reset to 512. Recommended Value 32 DESCRIPTION The rtsched_numpri tunable defines how many priority values to support for POSIX 1.b realtime applications.
scroll_lines(5) scroll_lines(5) (Tunable Kernel Parameters) NAME scroll_lines - number of scrollable lines used by the Internal Terminal Emulator VALUES Failsafe 100 Default 100 Allowed values 60 to 999 Recommended values No larger than is sufficient for a user’s purposes. DESCRIPTION This tunable specifies the total number of scroll buffer lines used by the HP-UX graphics console Internal Terminal Emulator (ITE). This value is the sum of both on-screen and off-screen lines.
scroll_lines(5) scroll_lines(5) (Tunable Kernel Parameters) AUTHOR scroll_lines was developed by HP.
scsi_maxphys(5) scsi_maxphys(5) (Tunable Kernel Parameters) NAME scsi_maxphys - maximum allowed length of an I/O on all SCSI devices VALUES Failsafe 1048576 Default 1024*1024 Allowed values 1048576 (16777215 and 33554432 for V-Class systems) Recommended values 1048576 (16777215 for V-Class systems) DESCRIPTION This tunable sets the maximum data size the SCSI subsystem will accept for an I/O.
scsi_max_qdepth(5) scsi_max_qdepth(5) (Tunable Kernel Parameters) NAME scsi_max_qdepth - maximum number of I/Os that target will queue up for execution VALUES Failsafe 1 Default 8 Allowed values 1 - 255 Recommended values 1 - 255 Most SCSI-2 and above devices accept multiple commands and have enough internal memory to support the default queue depth set by HP. You may change the default value to tune devices for higher throughput or load balancing.
scsi_max_qdepth(5) scsi_max_qdepth(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time? None. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR scsi_max_qdepth was developed by HP. SEE ALSO scsictl(1M), ioctl(2), scsi(7).
secure_sid_scripts(5) secure_sid_scripts(5) (Tunable Kernel Parameters) NAME secure_sid_scripts - controls whether setuid and setgid bits on scripts are honored VALUES Failsafe 0 Default 1 Allowed values 0-1 Recommended values 0-1 DESCRIPTION This tunable controls whether setuid and setgid bits on executable scripts have any effect. Honoring set*id on scripts make a system vulnerable to attack by malicious users.
secure_sid_scripts(5) secure_sid_scripts(5) (Tunable Kernel Parameters) exit(1); } What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS None. All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. FILES /var/adm/syslog/syslog.log AUTHOR secure_sid_scripts was developed by HP. SEE ALSO chmod(1), execve(2), kctune(1M).
sema(5) sema(5) (Tunable Kernel Parameters) NAME sema - enable or disable System V IPC semaphores at boot time DESCRIPTION The sema tunable is obsolete. The System V IPC semaphore subsystem is always enabled. Overview System V IPC is comprised of mechanisms for arbitrary processes to send and receive data messages, share virtual address space and use semaphores to synchronize execution.
semaem(5) semaem(5) (Tunable Kernel Parameters) NAME semaem - adjust-on-exit maximum value VALUES Failsafe 16384 Default 16384 Allowed values Minimum: 0 Maximum: semvmx or less than or equal to 32767. DESCRIPTION The semaem tunable specifies maximum cumulative "undo" value for any one semaphore as changed any one single process. That is, a process is allowed up to semaem outstanding increments or decrements on a semaphore for which SEM_UNDO has been specified.
semmni(5) semmni(5) (Tunable Kernel Parameters) NAME semmni - number of System V IPC system-wide semaphore identifiers VALUES Failsafe 2048 Default 2048 Allowed values Minimum: 2 Maximum: semmns. DESCRIPTION The semmni tunable specifies the maximum number of System V IPC system-wide semaphore sets (and identifiers) which can exist at any given time. A single identifier (ID) is returned for each semget() system call to create a new set of one or more (up to semmsl) semaphores.
semmns(5) semmns(5) (Tunable Kernel Parameters) NAME semmns - number of System V IPC system-wide semaphores VALUES Failsafe 4096 Default 4096 Allowed values Minimum: semmni Maximum: 335534080 DESCRIPTION The semmns tunable specifies the maximum total individual System V IPC system-wide semaphores which can be assigned by applications. Semaphores are assigned in "sets" associated with an ID. Thus semaphores can be distributed in any manner across the range of IDs with one or more per ID.
semmnu(5) semmnu(5) (Tunable Kernel Parameters) NAME semmnu - maximum number of System V IPC undo structures for processes VALUES Failsafe 256 Default 256 Allowed values Minimum: 1 Maximum: (nproc-4) DESCRIPTION The semmnu tunable specifies the maximum number of System V IPC system-wide processes that can have "undo" operations pending at any given time. If an application exhausts this limit, it will receive an [ENOSPC] error from semop().
semmsl(5) semmsl(5) (Tunable Kernel Parameters) NAME semmsl - maximum number of System V IPC semaphores per identifier VALUES Failsafe 2048 Default 2048 Allowed values Minimum: 1 Maximum: 10240 DESCRIPTION The semmsl tunable specifies the maximum number of individual System V IPC semaphores per semaphore identifier (ID). If an application attempts to exceed this limit, it will receive an [EINVAL] error from semget().
semume(5) semume(5) (Tunable Kernel Parameters) NAME semume - maximum number of System V IPC undo entries per process VALUES Failsafe 100 Default 100 Allowed values Minimum: 1 Maximum: semmns DESCRIPTION The semume tunable specifies the maximum number of System V IPC semaphores upon which a single process can have outstanding (non-zero) "undo" operations. If an application exhausts this limit, it will receive an [EINVAL] error from semop().
semvmx(5) semvmx(5) (Tunable Kernel Parameters) NAME semvmx - maximum value of any single System V IPC semaphore VALUES Failsafe 32767 Default 32767 Allowed values Minimum: 1 Maximum: 65535 DESCRIPTION The semvmx tunable specifies the maximum value any given System V IPC semaphore can have. If an application attempt to exceed this limit, it will receive an [ERANGE] error from semop() or from semctl(). For more information about System V semaphores, refer to the Overview section of the sema (5) manpage.
sendfile_max(5) sendfile_max(5) (Tunable Kernel Parameters) NAME sendfile_max - maximum number of Buffer Cache Pages used by sendfile VALUES Failsafe 0 unlimited Default 0 unlimited Allowed values 0 unlimited Or 1 to 262144 Recommended values 0 unlimited DESCRIPTION This variable is used to limit how many Buffer Cache Pages the sendfile() system call can use. This might be useful in a machine that has a large sendfile() load but is limited in memory. Who Is Expected to Change This Tunable? Anyone.
shmem(5) shmem(5) (Tunable Kernel Parameters) NAME shmem - enable or disable System V shared memory DESCRIPTION The shmem tunable is obsolete. The System V IPC shared memory subsystem is always enabled. Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to its address space.
shmmax(5) shmmax(5) (Tunable Kernel Parameters) NAME shmmax - maximum size (in bytes) for a System V shared memory segment VALUES Default 1 GB Allowed values Minimum: 2048 Maximum: 0x40000000000 DESCRIPTION Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to its address space.
shmmni(5) shmmni(5) (Tunable Kernel Parameters) NAME shmmni - number of System V shared memory segment identifiers in the system VALUES Default 400 identifiers Allowed values Minimum: 3 Maximum: 8192 DESCRIPTION Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to its address space.
shmmni(5) shmmni(5) (Tunable Kernel Parameters) AUTHOR shmmni was developed by HP. SEE ALSO shmem(5), shmmax(5), shmseg(5).
shmseg(5) shmseg(5) (Tunable Kernel Parameters) NAME shmseg - maximum number of System V shared memory segments per process VALUES Default 300 segments Allowed values Minimum: 1 Maximum: Any value less than or equal to shmmni. DESCRIPTION Shared memory is an efficient InterProcess Communications (IPC) mechanism. One process creates a shared memory segment and attaches it to its address space.
signal(5) signal(5) NAME signal: signal.h - description of signals SYNOPSIS #include DESCRIPTION The header defines the following symbolic constants, each of which expands to a distinct constant expression of the type: void (*)(int) whose value matches no declarable function. SIG_DFL Request for default signal handling. SIG_ERR Return value from signal() in case of error. SIG_HOLD Request that signal be held. SIG_IGN Request that signal be ignored.
signal(5) signal(5) SIGTRAP SIGURG SIGVTALRM SIGXCPU SIGXFSZ SIGRTMIN SIGRTMAX ii iii i ii ii i i Trace/breakpoint trap. High bandwidth data is available at a socket. Virtual timer expired. CPU time limit exceeded. File size limit exceeded. First realtime signal. Last realtime signal.
signal(5) signal(5) MINSIGSTKSZ Minimum stack size for a signal handler. SIGSTKSZ Default size in bytes for the alternate signal stack. The ucontext_t structure is defined through typedef as described in . The header defines the stack_t type as a structure that includes at least the following members: void size_t int *ss_sp ss_size ss_flags stack base or pointer stack size flags The
signal(5) signal(5) SI_ASYNCIO The signal was generated by the completion of an asynchronous I/O request. SI_MESGQ The signal was generated by the arrival of a message on an empty message queue. If the signal was not generated by one of the functions or events listed above, the si_code will be set to an implementation-defined value (see below) that is not equal to any of the values defined above.
signal(5) signal(5) different value from the ones described in this list for circumstances described in this list.
signal(5) signal(5) Signals which are generated by some action associated with a particular thread, such as an invalid pointer dereference, will be delivered to the thread which caused the generation of the signal. These signals are referred to as synchronously generated signals.
signal(5) signal(5) • Reference to implementation-dependent abnormal termination routines, such as creation of a core file, in item ii in the defaults action list is marked as an extension. Issue 4, Version 2 The following changes are incorporated for X/OPEN UNIX conformance: • The SIGTRAP, SIGBUS, SIGSYS, SIGPOLL, SIGPROF, SIGXCPU, SIGXFSZ, SIGURG, and SIGVTALRM signals are added to the list of signals that will be supported on all conforming implementations.
signal(5) signal(5) HP-UX EXTENSIONS DESCRIPTION HP-UX supports multiple signal interfaces (see sigaction (2), signal (2), sigvector (2), bsdproc (3C), and sigset (3C)) that allow a process to specify the action taken upon receipt of a signal. All supported signal interfaces require specification of a signal, as designated by the Name and Number shown below.
signal(5) signal(5) • SIG_IGN G Ignore the signal. Do not terminate or stop the receiving process. H Stop the receiving process. While a process is stopped, any additional signals sent to the process are suspended until the process is restarted (except those marked with Note F above, which are processed immediately). However, when the process is restarted, pending signals are processed.
signal(5) signal(5) process, the process is continued, even if the SIGCONT signal is blocked or ignored. If SIGCONT is blocked and not ignored, the process remains pending until it is either unblocked or a stop signal is generated. Note: When any stop signal (SIGSTOP, SIGTSTP, SIGTIN, SIGTTOU) is posted to threads created with process contention scope, using pthread_kill(), pending SIGCONT signals may not be discarded.
signal(5) signal(5) For SIGFPE, code has the following values: 12 Overflow trap; 13 Conditional trap; 14 Assist exception trap; 22 Assist emulation trap. Refer to the Series 800 processor documentation provided with your system for more detailed information about the meaning of these errors. The Instruction Address Offset Queue (program counter) is not advanced when a trap occurs on Series 800 systems.
sis(5) sis(5) NAME sis - secure internet services with Kerberos authentication and authorization DESCRIPTION Secure Internet Services (SIS) provides network authentication when used in conjunction with HP DCE security services, the HP Praesidium/Security Server, or other software products that provide a Kerberos V5 Network Authentication Services environment.
sis(5) sis(5) access non-secure remote systems. The ftp and telnet daemons have a special command line option (-A) which can be used to ensure that non-secure systems are denied access. To prevent non-secure access through the rcp, remsh or rlogin commands, the inetd.conf file on the remote system should be edited to comment out the entries for shell and login.
sis(5) sis(5) will accompany this error message. This error message will also be generated if the user attempts to access a non-secure remote system. In which case, this message will be preceded by the message: "To bypass Kerberos authentication, use the -P option". This error is reported by ftp, rlogin and telnet. ERROR! Kerberos-specific options are invalid with the -P option. The -P command line option indicates that Kerberos authentication should not be performed.
stat(5) stat(5) NAME stat.h - data returned by the stat() function SYNOPSIS #include DESCRIPTION The header defines the structure of the data returned by the functions fstat(), lstat(), and stat().
stat(5) stat(5) S_IXUSR S_IRWXG S_IRGRP S_IWGRP S_IXGRP S_IRWXO S_IROTH S_IWOTH S_IXOTH 0000100 0000070 0000040 0000020 0000010 0000007 0000004 0000002 0000001 execute/search access permission for owner group’s file access permission bits read access permission for group write access permission for group execute/search access permission for group others’ access permission bits read access permission for others write access permission for others execute/search access permission for others Obsolete names
stat(5) stat(5) STANDARDS CONFORMANCE : AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1 CHANGE HISTORY First released in Issue 1. Derived from Issue 1 of the SVID. Issue 4 The following changes are incorporated for alignment with the ISO POSIX-1 standard: • The function declarations in this header are expanded to full ISO C prototypes.
stdarg(5) stdarg(5) NAME stdarg.h - macros for handling variable argument lists SYNOPSIS #include void va_start(va_list pvar, argN); type va_arg(va_list pvar, type); void va_end(va_list pvar); DESCRIPTION The header contains a set of macros that can be used to write portable procedures that accept variable argument lists.
stdarg(5) stdarg(5) SEE ALSO exec(2), vprintf(3S), varargs(5). STANDARDS CONFORMANCE : AES, SVID3, XPG4, FIPS 151-2, POSIX.
stdsyms(5) stdsyms(5) NAME stdsyms - description of "named defines" and other specifications for name space from HP-UX header files. DESCRIPTION stdsyms is a description of "named defines" and other specifications that must be set by the application to obtain the appropriate name space from the HP-UX header files. HP-UX header files are organized in a manner that allows for only a subset of the symbols available in that header file to be visible to an application that conforms to a specific standard.
stdsyms(5) stdsyms(5) _AES_SOURCE As documented in the "OSF AES/OS" standard, the programmer is required to define the _AES_SOURCE feature test macro to obtain OSF functionality. This feature test macro can be defined, either by using compiler options (-D_AES_SOURCE) or by using #define directives in the source files before any #include directives. Although the AES does not specify any namespace pollution rules, the other standards have instituted such rules.
stdsyms(5) stdsyms(5) requirements. At the time the function prototypes were introduced in ANSI C, the functions exposed by this flag were only defined in SVID3. _CLASSIC_TYPES The _CLASSIC_TYPES macro can be defined by the programmer to obtain pre-7.0 style function return types and structure element types. This macro has been provided only as a transition aid when migrating from the pre-7.0 version of HP-UX to standards-based HP-UX.
STRCTLSZ(5) STRCTLSZ(5) (Tunable Kernel Parameters) NAME STRCTLSZ - maximum size of streams message control (bytes) VALUES Failsafe 1024 Default 1024 Allowed values 0 - 2147483647 Recommended values 1024 DESCRIPTION STRCTLSZ limits the maximum number of bytes of control data that can be inserted by putmsg() in the control portion of any streams message on the system. If the tunable is set to zero, there is no limit on how many bytes can be placed in the control segment of the message.
streampipes(5) streampipes(5) (Tunable Kernel Parameters) NAME streampipes - force all pipes to be STREAMS-based VALUES Failsafe 0 Default 0 Allowed values 0 - 2147483647 Recommended values 0 DESCRIPTION This tunable determines the type of pipe that is created by the pipe() system call. If set to the default value of zero, all pipes created by pipe() are normal HP-UX file-system pipes.
STRMSGSZ(5) STRMSGSZ(5) (Tunable Kernel Parameters) NAME STRMSGSZ - maximum size of streams message data (bytes) VALUES Failsafe 0 Default 0 Allowed values 0 - 2147483647 Recommended values 0 DESCRIPTION This tunable limits the number of bytes of message data that can be inserted by putmsg() or write() in the data portion of any streams message on the system. If the tunable is set to zero, there is no limit on how many bytes can be placed in the data segment of the message.
st_ats_enabled(5) st_ats_enabled(5) (Tunable Kernel Parameters) NAME st_ats_enabled - determines whether to reserve a tape device on open VALUES Failsafe 0 (off) Default 1 (on) Allowed values 0 (off) or any positive integer (on) Recommended values 0 (off) or 1 (on) DESCRIPTION This tunable notifies the stape driver whether it needs to reserve a tape device on open and subsequently release it on close. With this tunable on, the stape driver won’t necessarily attempt to reserve any tape device on open.
st_ats_enabled(5) st_ats_enabled(5) (Tunable Kernel Parameters) SEE ALSO scsi_tape(7).
st_fail_overruns(5) st_fail_overruns(5) (Tunable Kernel Parameters) NAME st_fail_overruns - determines whether variable block mode read requests smaller than the physical record size will fail VALUES Failsafe 0 (off) Default 0 (off) Allowed values 0 (off) or non-zero (on) Recommended values 0 (off) or non-zero (on) DESCRIPTION This tunable determines whether variable block mode read requests through the stape driver, that are smaller than the physical record size, will fail with the error [EFBIG].
st_large_recs(5) st_large_recs(5) (Tunable Kernel Parameters) NAME st_large_recs - determines maximum logical record size allowed through the stape driver VALUES Failsafe 0 (off) Default 0 (off) Allowed values 0 (off) or non-zero (on) Recommended values 0 (off) or non-zero (on) DESCRIPTION This tunable governs the maximum size of records allowed for tape device I/O through the stape driver.
st_large_recs(5) st_large_recs(5) (Tunable Kernel Parameters) SEE ALSO scsi_maxphys(5), scsi_tape(7).
suffix(5) suffix(5) NAME suffix - file-name suffix conventions DESCRIPTION The following list summarizes file name suffix conventions that can be found in an HP-UX system. It is a partial compilation of possibly useful knowledge, suggestions, and explanations, rather than a specification of standards. Suffixes are often used in preference to prefixes because they enable related files to group together alphabetically in a directory listing.
suffix(5) suffix(5) .doc Documentation file of some sort. .dvi Device-independent text formatter output. .e Extended FORTRAN language (EFL) source file; known to make. .el GNU Emacs Elisp file. .elc Compiled GNU Emacs Elisp file. .eqn Source for nroff equation macros. .err Standard error from a program. .errors .errs Errors recorded by a program. .f FORTRAN language source file; known to fc and make. .f77 FORTRAN 77 language source file. .
suffix(5) suffix(5) .ml Gosling/Unipress Emacs Mock Lisp file. .mm Source for nroff or troff using mm macros. .mon .month A script that is read monthly. .ms Source for nroff or troff using ms macros. .n nroff source. .NEW .new New version of a file. .nro nroff source. .O HP64000 listing file. .o Relocatable object file (post-compile, pre-link); known to as , cc, fc , pc , and make. .obs Obsolete version of a file. .OLD A sA .old Old version of a file. .
suffix(5) suffix(5) .SYSTM LIF Bootable by the Series 300/400 boot ROM (see Librarian chapter of Pascal 3.2 Workstation System , vol. 1). .t Text file. .tar File (archive) containing output from tar . .tbl Source for nroff table macros. .temp .tmp Temporary file. .template Prototype or template file. .test Test input or output file. .tex TeX source file. .TEXT notes text file, or a Pascal workstation "UCSD text format" file. .text .txt ASCII text file. .
swapmem_on(5) swapmem_on(5) (Tunable Kernel Parameters) NAME swapmem_on - allow physical memory size to exceed the available swap space VALUES Failsafe 1 (on) Default Failsafe 1 (on) Allowed values 0 (off) or 1 (on) DESCRIPTION In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on the system.
swchunk(5) swchunk(5) (Tunable Kernel Parameters) NAME swchunk - swap chunk size in 1 KB blocks VALUES Default 2048 blocks Allowed values Minimum: 1 blocks Maximum: 65536 blocks DESCRIPTION Swap space in the kernel is managed using ’chunks’ of physical device space. These chunks contain one or more (usually more) pages of memory, but provide another layer of indexing (similar to inodes in file systems) to keep the global swap table relatively small, as opposed to a large table indexed by swap page.
swchunk(5) swchunk(5) (Tunable Kernel Parameters) What Other Tunable Values Should Be Changed at the Same Time? A change to swchunk is independent of any other tunables. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR swchunk was developed by HP.
sysv_hash_locks(5) sysv_hash_locks(5) (Tunable Kernel Parameters) NAME sysv_hash_locks - System V IPC hashed spinlock pool size VALUES Failsafe 128 Default 128 Allowed values Minimum: 64 Maximum: 32768 or semmni whichever is smaller. Required to be a power of two. DESCRIPTION The sysv_hash_locks tunable specifies the size of the hashed spinlock (kernel data structures used for synchronization) pool (number of available spinlocks).
tcphashsz(5) tcphashsz(5) (Tunable Kernel Parameters) NAME tcphashsz - determines the size of the networking hash tables VALUES Failsafe 2048 Default 2048 Allowed values 256 to 65536 Recommended values 2048 Specify as a power of two or it will be rounded down to the nearest power of two. DESCRIPTION This variable is used to set the size of the networking hash tables. A system that is going to have a large number of connections on it all of the time may see some benefit of increasing this value.
term(5) term(5) (ENHANCED CURSES) NAME term - terminal capabilities SYNOPSIS #include DESCRIPTION The following data type is defined through typedef: TERMINAL An opaque representation of the capabilities for a single terminal from the terminfo database. The header provides a declaration for the following object: cur_term . It represents the current terminal record from the terminfo database that the application has selected by calling set_curterm(). The
thread_safety(5) thread_safety(5) NAME thread_safety - list of libc, libpthread and libgen interfaces which are: Not thread-safe, Cancellation Points, Cancel Safe, Async Signal Safe, and Async Cancel Safe DESCRIPTION Refer to this man page when writing thread-safe applications using libc, libpthread and libgen interfaces. This man page gives the list of libc, libpthread and libgen interfaces which are: Not thread-safe, Cancellation Points, Cancel Safe, Async Signal Safe, and Async Cancel Safe.
thread_safety(5) iconv_open() ioctl() lockf() lseek64() msgsnd() nftw() opendir() pclose() poll() printf() pthread_join() putc_unlocked() putmsg() puts() pututxline() putwchar() read() readv() recvmsg() rename() scandir() select() sendmsg() setbwent() setusershell() setutxent() sigtimedwait() sleep() statvfsdev() system() tmpnam() ttyslot() ungetc() updatebwdb() vfprintf() vpfmt() vwprintf() waitid() wordfree() writev() thread_safety(5) initgroups() isastream() lockf64() mkstemp() msync() nftw2() openlog
thread_safety(5) sethostent() setsockopt() thread_safety(5) setnetent() shutdown() setprotoent() socket() setservent() socketpair() Async Signal Safe All the following interfaces are Async Signal Safe: _exit() bind() cfsetospeed() close() dup2() fpathconf() getgid() getpgrp() getsockname() kill() mkdir() net_ntoa() pipe() raise() recvmsg() send() setgid() setuid() sigdelset() signal() sigsuspend() stat() tcflush() tcsetattr() umask() wait() accept() cfgetispeed() chdir() connect() execle() fstat() ge
thread_safety(5) thread_safety(5) memcpy() mkfifo() msem_lock() msync() net_ntoa() poll() pthread_cancel() putmsg() recvfrom() rindex() semop() sendmsg() setcat() setsockopt() socket() strcat() strcoll() strdup() strncat() strord() strrstr() strtod() strtold() swab() tcflush() tcgetsid() tcsetpgrp() toupper() ulimit() waitid() wcscmp() wcslen() wcsncpy() wcsspn() wcstok() wcstoul() wctype() memmove() mktemp() msgrcv() nanosleep() pathfind() pstat() pthread_setcancelstate() putpmsg() recvmsg() rmdirp() se
timeslice(5) timeslice(5) (Tunable Kernel Parameters) NAME timeslice - scheduling interval in clock ticks per second VALUES Failsafe (HZ/10) Where HZ defines the number of clock ticks per second for which the system is configured. Default (HZ/10) Where HZ is equal to 100. Allowed values Any value in the range of -1 to 2147483647 is allowed.
timeslice(5) timeslice(5) (Tunable Kernel Parameters) What Are the Side Effects of Lowering the Value? The lowering of the timeslice tunable will result in many more context switches which will increase the time spent in SYSTEM space and less time spent in USER space. Also, the applications that are compute intensive will suffer performance degradation. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS All HP-UX kernel tunable parameters are release specific.
timezone(5) timezone(5) (Tunable Kernel Parameters) NAME timezone, dst - difference between Universal (Greenwich mean) time and Local time VALUES Default timezone = 420 dst = 1 A default value of 1, indicates that the default value for the timezone tunable (420 minutes west of Greenwich, England ) is to be interpreted as a daylight savings time value. Allowed values -720 to 720.
types(5) types(5) NAME types - primitive system data types SYNOPSIS #include DESCRIPTION Remarks The example given on this page is a typical version. The type names are in general expected to be present, although exceptions (if any) may be described in DEPENDENCIES. In most cases the fundamental type which implements each typedef is implementation dependent as long as source code which uses those typedefs need not be changed.
types(5) types(5) uid_t used to specify user identifiers. gid_t user to specify group identifiers. blkcnt_t disk quota or transfer size measured in blocks. If a 32-bit application is compiled with -D_FILE_OFFSET_BITS=64 or -D_LARGEFILE64_SOURCE, blkcnt_t will become an int64_t . STANDARDS CONFORMANCE : AES, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.
unctrl(5) unctrl(5) (CURSES) NAME unctrl - definitions for unctrl DESCRIPTION The header defines the chtype type as defined in . The following is declared as a function, and may also be defined as a macro: char *unctrl(chtype c); SEE ALSO . CHANGE HISTORY First released in X/Open Curses, Issue 4.
unistd(5) unistd(5) NAME unistd: unistd.h - standard structures and symbolic constants SYNOPSIS #include DESCRIPTION The header defines the following structures and symbolic constants: Symbolic constants for the access() function: Test for Test for Test for Test for R_OK W_OK X_OK F_OK read permission. write permission. execute (search) permission. existence of file.
unistd(5) unistd(5) _POSIX_SAVED_IDS Effective user and group are saved across an exec() call (true of all HP-UX implementations). _POSIX_FSYNC Implementation supports File Synchronization (true of all HP-UX implementations). See open (2). _POSIX_SYNCHRONIZED_IO Implementation supports Synchronized IO (true of all HP-UX implementations). See open (2). _POSIX_VDISABLE Terminal special characters can be disabled using this character (see termio(7)).
unistd(5) unistd(5) SEE ALSO access(2), chown(2), confstr(3C), exit(2), fcntl(2), kill(2), lseek(2), open(2), pathconf(2), sysconf(2), limits(5), stdsyms(5), termio(7). STANDARDS CONFORMANCE : AES, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, POSIX.2, POSIX.
unlockable_mem(5) unlockable_mem(5) (Tunable Kernel Parameters) NAME unlockable_mem - amount of physical memory that may not be locked by user processes VALUES Default 0 pages Allowed values Minimum: 0 pages Maximum: Any value less than the available physical memory.
unlockable_mem(5) unlockable_mem(5) (Tunable Kernel Parameters) WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR unlockable_mem was developed by HP.
unwind(5) unwind(5) (Itanium(R)-based System Only) NAME unwind - overview of stack unwind library entry points and convenience macros SYNOPSIS #include DESCRIPTION The header defines the Application Programming Interface (API) of the stack unwind library, supplied as libunwind.so for HP-UX on Itanium-based systems. This page discusses the general concepts of stack unwinding and how the stack unwind library is intended to be used.
unwind(5) unwind(5) (Itanium(R)-based System Only) FEATURES The stack unwind library provides an API for unwinding the stack of a program that conforms to the Itanium Processor Family Software Conventions and Runtime Architecture . The stack unwind library can be used by a process to • Print its own stack trace to standard error or to an output stream, usually for diagnostic purposes. See U_STACK_TRACE(3X) and _UNW_STACK_TRACE(3X).
unwind(5) unwind(5) (Itanium(R)-based System Only) _UNW_STEP_INVALID_BR A branch register value which was marked invalid was encountered in _Unwind_Context during the step process. _UNW_STEP_BAD_BSP_ALIGNMENT The _UNW_currentContext value AR.BSP was not aligned. _UNW_STEP_INVALID_RNAT The AR.RNAT value in _Unwind_Context is marked invalid.
unwind(5) unwind(5) (Itanium(R)-based System Only) uint64_t is a signed 64-bit integer. int32_t is a signed 32-bit integer. int64_t is an unsigned 64-bit integer. The value query and initialization functions use several structures for passing values. They are as follows: Structure _UNW_KernelSavedContext has p10_abi_value and p10_context_value. two fields Structure _UNW_FR_Value has two fields of type uint64_t: second_container.
unwind(5) unwind(5) (Itanium(R)-based System Only) States A state machine is used as an aid to define the legal ordering of the tasks of a stack unwind operation and to describe the stack unwind library’s response to calls from the client. The state machine is defined by eight states and transitions between the states which are triggered by calls to the stack unwind library API functions or in some cases by system conditions such as an out of memory condition.
unwind(5) unwind(5) (Itanium(R)-based System Only) From User_Interrupted_Frame, the client may call _UNW_currentContext or _UNW_step, which transfers the _Unwind_Context into states Frame or Bad. The client may call clear, which transfers the _Unwind_Context into state Init . The client may call _UNW_destroyContext, which transfers the _Unwind_Context into state Stop . Kernel_Bottom_Frame The state indicating the bottom of a kernel call stack.
unwind(5) unwind(5) (Itanium(R)-based System Only) • The Current Frame Marker (CFM). See _UNW_setCFM (3X). • Stacked general registers in the snapshot procedure’s frame as defined by the Current Frame Marker. See previous bullet and _UNW_setCFM (3X). Stepping Once initialization of the _Unwind_Context is complete, it now represents the snapshot procedure’s processor state. The client may call _UNW_step(), which modifies _Unwind_Context to represent the predecessor ’s processor state.
unwind(5) unwind(5) (Itanium(R)-based System Only) scratch BR0 (return link) Value valid only after _UNW_step() across a user space interruption such as a signal handler. Do not attempt to figure out the predecessor’s instruction pointer from BR0. Call _UNW_step() to obtain the _Unwind_Context for the predecessor’s frame and use _UNW_getIP. preserved BR1-BR5 Value valid after successful return from _UNW_step and _UNW_currentContext.
unwind(5) unwind(5) (Itanium(R)-based System Only) _UNW_MEMORY_ALLOCATION_ERROR in the event of a low memory condition. Low Memory Conditions In most cases, a failed construction of an _Unwind_Context leaves the client with enough of an _Unwind_Context object to support a call to the function _UNW_getAlertCode(), which would return _UNW_MEMORY_ALLOCATION_ERROR in the event of a failed construction. Had the construction been successful, _UNW_getAlertCode() would have returned _UNW_OK.
values(5) values(5) NAME values - machine-dependent values SYNOPSIS #include DESCRIPTION This file contains a set of manifest constants, conditionally defined for particular processor architectures. The model assumed for integers is binary representation (one’s or two’s complement), where the sign is represented by the value of the high-order bit. BITS(type ) The number of bits in a specified type (e.g., int).
varargs(5) varargs(5) NAME varargs - handle variable argument list SYNOPSIS #include va_alist va_dcl void va_start(pvar) va_list pvar; type va_arg(pvar, type ) va_list pvar; void va_end(pvar) va_list pvar; DESCRIPTION This set of macros enables programmers to write portable procedures that accept variable argument lists.
varargs(5) varargs(5) receives the variable argument list must pass the address pointer resulting from a call to va_start() on to any subsequent calls that need to access this same variable argument list. All routines that receive this address pointer (v_print_log() in this example) need only to use va_arg() to access the original variable argument list just as if they were the original routine to be passed the variable arguments.
varargs(5) varargs(5) * a second file pointer has been passed in to print general * message information to. The rest of the format string is * a standard printf(3S) format string. */ if ((*fmt == ’%’) && (*(fmt + 1) == ’Y’)) { FILE *other_fp; fmt += 2; other_fp = (FILE *) va_arg(ap, char *); if (other_fp != (FILE *) NULL) { /* * Print general message information to additional stream. */ (void) vfprintf(other_fp, fmt, ap); (void) fflush(other_fp); } } /* * Now print it to the log file.
vps_ceiling(5) vps_ceiling(5) (Tunable Kernel Parameters) NAME vps_ceiling - maximum (in kilobytes) of system-selectable page size VALUES Default 16 KB Allowed values Minimum: 4 KB Maximum: 65536 KB DESCRIPTION The Translation Look-aside Buffer (TLB) is a microprocessor feature for virtual memory, where the most recent physical to virtual address translations are cached, in the expectation that these translations are likely to be needed again soon.
vps_ceiling(5) vps_ceiling(5) (Tunable Kernel Parameters) Therefore, it is best to only raise this tunable if you know precisely the memory usage of the system. In general, increasing the variable page size on a per application basis for known applications, such as, databases which scan large amounts of data with only one page fault, is a much better practice.
vps_chatr_ceiling(5) vps_chatr_ceiling(5) (Tunable Kernel Parameters) NAME vps_chatr_ceiling - maximum (in kilobytes) of user selectable page size VALUES Default 1048576 (KB) Allowed values Minimum: 4 (KB) Maximum: 4194304 (KB) DESCRIPTION The Translation Look-aside Buffer (TLB) is a microprocessor feature for virtual memory, where the most recent physical to virtual address translations are cached, in the expectation that these translations are likely to be needed again soon.
vps_chatr_ceiling(5) vps_chatr_ceiling(5) (Tunable Kernel Parameters) What Other Tunables Should Be Changed at the Same Time? None. WARNINGS All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. AUTHOR vps_chatr_ceiling was developed by HP. SEE ALSO chatr(1).
vps_pagesize(5) vps_pagesize(5) (Tunable Kernel Parameters) NAME vps_pagesize - minimum (in kilobytes) of system-selected page size VALUES Default 4 (KB) Allowed values Minimum: 4 (KB) Maximum: 65536 (KB) DESCRIPTION The Translation Look-aside Buffer (TLB) is a microprocessor feature for virtual memory, where the most recent physical to virtual address translations are cached, in the expectation that these translations are likely to be needed again soon.
vps_pagesize(5) vps_pagesize(5) (Tunable Kernel Parameters) When Should the Value of This Tunable Be Lowered? The tunable should be lowered if physical memory fragmentation is preventing small memory processes from running due to waiting on contiguous chunks of memory, or if the overall system usage of memory displays poor spatial locality (virtual accesses are not close to each other) producing wasted physical frames.
vxfs_bc_bufhwm(5) vxfs_bc_bufhwm(5) (Tunable Kernel Parameters) NAME vxfs_bc_bufhwm - VxFS buffer cache high water mark(determines the VxFS buffer cache size) SYNOPSIS /usr/bin/kctune -s vxfs_bc_bufhwm={maximum size of buffer cache} VALUE Specify an integer value. Minimum 6144 KB Maximum None Default 0 DESCRIPTION VxFS maintains a buffer cache in the kernel for frequently accessed file system metadata in addition to the HP-UX kernel buffer cache that caches the file data.
vxfs_ifree_timelag(5) vxfs_ifree_timelag(5) (Tunable Kernel Parameters) NAME vxfs_ifree_timelag - VxFS inode free time lag (specifies the minimum time to be spent on a freelist) SYNOPSIS /usr/bin/kctune -s vxfs_ifree_timelag={value} VALUE Specify an integer value. Minimum None Maximum None Default 0 DESCRIPTION In VxFS, the unused inodes are put on a freelist. The memory space for this unused inode is freed if it stays on the freelist for a specified amount of time.
vxfs_max_ra_kbytes(5) OBSOLETED (Tunable Kernel Parameters) vxfs_max_ra_kbytes(5) NAME vxfs_max_ra_kbytes - maximum amount of read-ahead data, in KB, that kernel may have outstanding for a single VxFS file system DESCRIPTION This tunable vxfs_max_ra_kbytes, along with other "read-ahead" tunables vxfs_ra_per_disk and vx_fancyra_enable, has been obsoleted in HP-UX 11i Version 2 and is replaced by the filesystem tunable read_ahead. For more information on the VxFS file system tunables see vxtunefs (1M).
vxfs_ra_per_disk(5) OBSOLETED (Tunable Kernel Parameters) vxfs_ra_per_disk(5) NAME vxfs_ra_per_disk - amount of VxFS file system read-ahead per disk, in KB. DESCRIPTION This tunable vxfs_ra_per_disk, along with other "read-ahead" tunables vxfs_max_ra_kbytes and vx_fancyra_enable, has been obsoleted in HP-UX 11i Version 2 and is replaced by the filesystem tunable read_ahead. For more information on VxFS file system tunables see vxtunefs (1M).
vx_maxlink(5) vx_maxlink(5) (Tunable Kernel Parameters) NAME vx_maxlink - Configure the number of links to a file SYNOPSIS /usr/bin/kctune -s vx_maxlink={maximum number of links to a file} VALUE Specify an integer value. Minimum 0 Maximum 65534 Default 32767 DESCRIPTION The vx_maxlink tunable is used to configure the number of links possible to a file on VxFS filesystem As vx_maxlink is initialized when system is booted, the changes made to vx_maxlink will take effect only from the next system reboot.
vx_ncsize(5) OBSOLETED (Tunable Kernel Parameters) vx_ncsize(5) NAME vx_ncsize - the number of bytes to be reserved for the directory path-name cache used by the VxFS file system DESCRIPTION This tunable parameter, vx_ncsize, has been obsoleted from HP-UX 11i Version 2 and onwards; there is a change in the implementation of DNLC (Directory Name Lookup Cache) in VxFS/JFS 3.5, which uses it’s own private DNLC. The kernel tunable ncsize has no impact on the size of the VxFS/JFS 3.5 DNLC.
vx_ninode(5) vx_ninode(5) (Tunable Kernel Parameters) NAME vx_ninode - Determines the internal node table size SYNOPSIS /usr/bin/kctune -s vx_ninode={size} VALUE Specify an integer value. Minimum 0 Maximum None Default 1024 DESCRIPTION The VxFS file system caches the inodes in an inode table. The kernel tunable vx_ninode determines the number of inodes in the inode table to help VxFS in caching. The vx_ninode static tunable is initialized when system is booted.
xferlog(5) xferlog(5) NAME xferlog - FTP server logfile SYNOPSIS /var/adm/syslog/xferlog DESCRIPTION The xferlog file contains logging information from the FTP server daemon, ftpd (see ftpd (1M)). This file is found in /var/adm/syslog. Each server entry is composed of a single line of the following form, with all fields being separated by spaces.
xferlog(5) xferlog(5) SEE ALSO ftpd(1M), ftpaccess(4), syslog(3C).
Section 7 Device (Special) Files
Section 7 Device (Special) Files
intro(7) intro(7) NAME intro - introduction to device special files DESCRIPTION This section describes the device special files used to access HP peripherals and device drivers. The names of the entries are generally derived from the type of device being described (disk, terminal, etc.), not the names of the device special files or device drivers themselves. Characteristics of both the hardware device and the corresponding HP-UX device driver are discussed where applicable.
arp(7P) arp(7P) NAME arp - Address Resolution Protocol DESCRIPTION ARP is a protocol used to dynamically map between DARPA Internet and hardware station addresses. It is used by all LAN drivers. A aA ARP caches Internet-to-hardware station address mappings.
arp(7P) arp(7P) WARNINGS To enable the ether encapsulation method, use the ifconfig command (see ifconfig(1M)). AUTHOR ARP was developed by the University of California, Berkeley. SEE ALSO ifconfig(1M), inet(3N), lan(7), arp(1M). An Ethernet Address Resolution Protocol, RFC826, Dave Plummer, Network Information Center, SRI.
autochanger(7) autochanger(7) NAME autochanger - SCSI interfaces for medium changer device and magneto-optical autochanger surface device DESCRIPTION An autochanger is a SCSI mass storage device, consisting of a mechanical changer device, one or more data transfer devices (such as optical disk drives), and media (such as optical disks) for data storage. The mechanical changer moves media between storage and usage locations within the autochanger.
autochanger(7) autochanger(7) Surface changer device 1a 1b 2a 2b ... 31b 32a 32b .... Surface Descriptor 0 01 02 03 04 ... 3e 3f 40 .... A All fields in the device number are specified in hexadecimal notation. Note that there is no support for hard partitions (sections) in this minor number. If desired, partitioning can be achieved via LVM softpartitioning schemes.
autochanger(7) autochanger(7) ... For developers, the ioctl functions available for accessing magneto-optical disk surfaces are described in the manual pages for SCSI disk drivers. Several ioctl functions provided specifically for magnetooptical disks will be described here briefly. Included from
autochanger(7) autochanger(7) CHGR_SSRFC_IS_PRESENT For developers. To determine if the surface module functionality (ssrfc) is currently configured in the kernel. CHGR_CLEAR_RESET For developers. autox0 driver only. To clear a powerfail recovery condition in the SCSI changer driver.
autochanger(7) autochanger(7) unsigned short source_element; /* last storage medium location */ char pri_vol_tag[36]; /* volume tag (device optional) */ char alt_vol_tag[36]; /* volume tag (device optional) */ unsigned char misc_bytes[168]; /* device specific */ }; A aA /* structure for SIOC_RESERVE and SIOC_RELEASE ioctls */ struct reservation_parms { unsigned short element; unsigned char identification; unsigned char all_elements; }; /* structure for SIOC_MOVE_MEDIUM ioctl */ struct move_medium_parms
autochanger(7) autochanger(7) repositions two different units of media. One unit of media is moved from the element specified by the source field to the element specified by the first_destination field. A second unit of media is moved from the element specified by the first_destination field to the element specified by the second_destination field. In an autochanger with multiple changer mechanisms, or a media staging area, an exchange occurs if the source and second_destination fields are the same.
autochanger(7) Some non-HP autochanger(7) media changer devices do not support the SIOC_INIT_ELEM_STAT and SIOC_ELEMENT_STATUS ioctls. Some older media changer devices do not support the SIOC_EXCHANGE_MEDIUM ioctl. For these devices, multiple SIOC_MOVE_MEDIUM ioctl operations may be used to accomplish the same results, provided a suitable temporary element address may be found. SEE ALSO insf(1M), mknod(1M), scsictl(1M), ioctl(2), scsi(7), scsi_ctl(7).
blmode(7) blmode(7) NAME blmode - terminal block mode interface DESCRIPTION This terminal interface adds functionality to the current termio (7) functionality to allow for efficient emulation of MPE terminal driver functionality. Most importantly, it adds the necessary functionality to support block mode transfers with HP terminals. The block mode interface only affects input processing and does not affect write requests. Write requests are always processed as described in termio (7).
blmode(7) A bA blmode(7) CBTRIG1C (DC1) is the initial trigger character sent to the terminal at the beginning of a read request. CBTRIG2C (DC1) is the secondary trigger character sent to the terminal after the alert character has been received. CBALERTC (DC2) is the alert character sent by the terminal in response to the first trigger character. It signifies that the terminal is ready to send the data block. The alert character can be escaped by preceding it with a backslash ( \ ).
blmode(7) blmode(7) On systems that support process group control, ioctl requests are restricted from use by background processes, unless otherwise noted for a specific request. An attempt to issue an ioctl request from a background process causes the process to block and may cause a SIGTTOU signal to be sent to the process group.
cent(7) cent(7) (Workstations Only) NAME cent - Centronics-compatible interface DESCRIPTION cent is a simple, widely used communication protocol most commonly associated with printers, plotters and scanners. It is an eight-bit parallel data interface with additional control signals from the host computer, and status signals from the peripheral. A cA The cent interface driver does no character processing; that is, it does not interpret the data being transferred between computer and peripheral.
clone(7) clone(7) NAME clone - opens a major and minor device pair on a STREAMS driver DESCRIPTION The clone driver is a "pass through" device driver that allows other drivers to select unique minor device numbers on each open(). In effect, the driver passes an open operation through to the other driver. This mechanism allows for multiple instantiations of a driver, each with a different minor number, through a single device file.
console(7) console(7) NAME console, systty, syscon - system console interface DESCRIPTION /dev/console provides a termio interface to the device configured as the system console. The init (1M) man page discusses the uses of /dev/systty and /dev/syscon. Output data normally sent to the console, either through /dev/console or generated by a kernel printf, may be redirected to another terminal or pseudo-terminal device through the TIOCCONS ioctl(). See termio (7) for details.
ddfa(7) ddfa(7) NAME ddfa - Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software DESCRIPTION The Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software allows access from HP-UX system utilities and user applications to terminal servers using standard HP-UX structures. DDFA provides an interface to remote LAN-connected terminal server ports that is similar to the interface for local directly-connected ports.
ddfa(7) ddfa(7) Configuring the Port Configuration Files A port configuration file is used to configure individual terminal server ports. A master port configuration file is /usr/examples/ddfa/pcf. In practice, it is renamed for each port that needs different configuration values and the values are altered appropriately for the device attached to the port. It is recommended that a directory be created to hold the port configuration files and the dp file.
ddfa(7) ddfa(7) HUPCL flag DDFA does not support the hanging up of modem signals on the last close of the device file. If the modem signals used on the DTC drop, the connection is closed. CLOCAL flag Not supported. c_flags IENQACK not supported. OFILL, OFDEL, NLDLY, CRDLY, TABDLY, BSDLY, FFDLY not supported by Telnet port identification software. BINARY mode flags Part of static configuration is done in DTC Manager by selecting binary mode.
ddfa(7) ddfa(7) stty exta <&1 2>/dev/null The printer interface scripts reside in the directory /etc/lp/interface. The line must be added just prior to the final exit command in each printer interface script. If this line is not added as specified, the printing reliability of printers attached to a terminal server is not guaranteed. FILES A dA /usr/examples/ddfa/dp /usr/examples/ddfa/pcf /usr/sbin/dpp /usr/sbin/ocd /usr/sbin/ocdebug /var/adm/dpp_login.bin /var/adm/utmp.
diag0(7) diag0(7) Series 800 Only NAME diag0 - diagnostic interface to HP-PB I/O subsystem DESCRIPTION diag0 is a diagnostic pseudo-driver, which provides HP support tools with access to the HP-PB I/O subsystem. This driver is used by hardware monitors and tools within the Support Tools Manager (STM), to interact with peripherals connected to the system via HP-PB. The I/O drivers also send diagnostic events to diag0 for diagnostic logging by the Support Tools Manager.
diag1(7) diag1(7) NAME diag1 - diagnostic interface to the PCI I/O subsystem DESCRIPTION diag1 is a diagnostic pseudo-driver, which provides support tools with access to the PCI I/O subsystem. This driver is used by tools within the Support Tools Manager (STM) to interact with PCI cards connected to the system. Without diag1, support tools for PCI cards will not be able to operate. WARNINGS diag1 is not supported for HP-UX 11i Version 1.5. AUTHOR diag1 was developed by HP.
diag2(7) diag2(7) NAME diag2 - interface for diagnostic logging and interface to processors DESCRIPTION diag2 is used by hardware monitors and tools within the Support Tools Manager (STM), to interact with processor hardware via Processor Dependent Code (PDC). Without diag2, support tools for processors will not be able to operate.
disk(7) disk(7) NAME disk - direct disk access DESCRIPTION This entry describes the actions of HP-UX disk drivers when referring to a disk as either a block-special or character-special (raw) device. Device File Naming Conventions Standard disk device files are named according to the following conventions: Block-mode Devices /dev/dsk/cxtydn[sm] Character-mode Devices /dev/rdsk/cxtydn[sm] where component parts of the filename are constructed as follows: A dA c Required.
disk(7) disk(7) size is a hardware-dependent value that can be queried with the DIOC_DESCRIBE ioctl call, which is described below. In addition to reading and writing data, the character-special file interface can used to obtain device specific information and to perform special operations. These operations are controlled through use of ioctl calls. Details related to these ioctls are contained in . The DIOC_DESCRIBE ioctl can be used to obtain device specific identification information.
dlpi(7) dlpi(7) NAME dlpi - data link provider interface DESCRIPTION This manual page gives a brief description on DLPI (the data link provider interface) and how to interface with the set of API’s that are provided by DLPI. HP-UX DLPI serves as a Layer 2 (Data Link Layer) of an OSI architecture. DLPI serves as an interface between LAN device drivers and DLPI users. DLPI is intended for use by experienced network users only. HP-UX DLPI has two broader sets of interface.
dlpi(7) dlpi(7) • Infrastructure for protocol, multicast and promiscuous processing. • Infrastructure for asynchronous processing of control. • Inbound frame processing. • Processing link up and down events. • Repository for all registered interfaces and associated information. • Outbound processing before hand off to physical drivers. DLPI provides its services through three header files that are exported. The header files and
floppy(7) floppy(7) NAME floppy - direct flexible or ‘‘floppy’’ disk access DESCRIPTION Flexible disk devices are removable-media disk devices that are typically used to share data with other systems. Media types are identified by physical size (such as 3.5-inch and 5.25-inch), number of data surfaces (or sides), and data density. By convention, flexible disk devices are named using the same conventions as those used for other disk devices (see disk (7)).
floppy(7) floppy(7) Media Type 3.5in DS DD 3.5in DS DD 3.5in DS DD 3.5in DS DD 3.5in DS DD 3.5in DS DD Capacity 630,784 655,360 655,360 709,632 737,280 788,480 Heads 2 2 2 2 2 2 Tracks 77 80 80 77 80 77 Sectors 16 16 8 9 9 5 Sector Size 256 256 512 512 512 1024 -f 1 21 26 2 16 3 1,228,800 1,261,568 2 2 80 77 15 8 512 1024 26 22 DOS 1.44M 1,261,568 1,419,264 1,474,560 1,567,960 1,638,400 2 2 2 2 2 77 77 80 77 80 32 18 18 10 10 256 512 512 1024 1024 1 2 16 3 23 3.
floppy(7) floppy(7) FLOPPY_HIGH_DENSITY(x ) /∗ Media has high density indication ∗/ The argument x in the above macros refers to the status or valid fields of the FLOPPY_GET_INFO ioctl. Some floppy devices or floppy device drivers may be unable to determine some status information. The valid field indicates whether or not the corresponding status information is meaningful.
floppy(7) floppy(7) [EINVAL] From an open() call: the device is not a floppy device. For other calls: Invalid request or parameter. [EIO] I/O error (e.g., media defect or device communication problem). WARNINGS Media removal and/or replacement while the device is open is not supported. A floppy disk containing a mounted file system should not be removed prior to being unmounted. Removal of floppy disks containing mounted file systems is likely to result in file system errors, and system panics.
framebuf(7) framebuf(7) NAME framebuf - information for raster frame-buffer devices SYNOPSIS #include DESCRIPTION Frame-buffer devices are raster-based displays. These devices use memory-mapped I/O to obtain much higher performance than possible with tty-based graphic terminals. Frame-buffer devices can be accessed directly using this interface, although access through the STARBASE libraries is recommended (see starbase (3G)).
framebuf(7) framebuf(7) GCMAP command is issued (see below) are the correct addresses returned so the user can access the frame-buffer regions directly using the returned addresses. GCID Provide a device identification number. The parameter is defined as int *arg ;. The information returned when using this command is a subset of the information provided by GCDESCRIBE, and is provided here for backward compatibility only. GCON, GCOFF Turn graphics on or off.
framebuf(7) framebuf(7) sigsetmask (2)) before a GCUNLOCK request is made will not have any effect on these blocked signals. The signals are not blocked until the lock is actually acquired, and might be received while still awaiting the lock. The signal SIGTSTP is also blocked whether or not it is being caught. The signals SIGTTIN and SIGTTOU are also blocked on frame-buffer devices where the ITE does not output to the device while it is locked. See DEPENDENCIES below.
framebuf(7) framebuf(7) The skipcount parameter allows the user to refresh a portion of a window image that the user has stored in memory for those cases where only a portion of the image needs to be refreshed. The window image is then a superset of the rectangle being updated, and might thus have different dimensions. The skipcount specifies the portion of the row in the larger window image that is excluded from the rectangle.
framebuf(7) framebuf(7) S9000_ID_98720 S9000_ID_98730 S9000_ID_98550 For the HP A1047A Interface Card, the fields of the crt_dma_info structure have the following restrictions: mem_addr fb_addr length skipcount 32-byte aligned 16-byte aligned non-zero multiple of 32 0 ERRORS A fA [EAGAIN] The operation would result in suspension of the calling process, but the request was either GCLOCK_NOWAIT or GCLOCK_BLOCKSIG_NOWAIT.
gang_sched(7) gang_sched(7) NAME gang_sched - Gang Scheduler DESCRIPTION The gang scheduler permits a set of MPI (Message Passing Interface) processes, or multiple threads from a single process, to be scheduled concurrently as a group. Gang scheduling is enabled and disabled by setting the MP_GANG environment variable to ON or OFF. The gang scheduling feature can significantly improve parallel application performance in loaded timeshare environments that are oversubscribed.
gang_sched(7) gang_sched(7) Gangs are scheduled for a single time-slice. The time-slice is the same for all threads in the system, whether gang-scheduled or not. When a single gang executes on a system, the gang’s threads are assigned to processors in the system and are not migrated to different processors. In an oversubscribed system with multiple gangs, all gangs are periodically moved in order to give an equalized percentage of CPU time to each of the different threads.
gang_sched(7) gang_sched(7) • If a gang-scheduled process is selected to be swapped out, the process will not be gang-scheduled when it is swapped back in. • Realtime processes are not gang-scheduled. • Gang scheduling is only supported for processes with timeshare scheduling policies. • When a gang-scheduled process contains the maximum number of threads (or the maximum number of processes, for MPI applications), threads or processes created after this point are not scheduled as part of the gang.
hil(7) hil(7) NAME hil - HP-HIL device driver SYNOPSIS #include DESCRIPTION HP-HIL, the Hewlett-Packard Human Interface Link, is the Hewlett-Packard standard for interfacing a personal computer, terminal, or workstation to its input devices. hil supports devices such as keyboards, mice, control knobs, ID modules, button boxes, digitizers, quadrature devices, bar code readers, and touchscreens.
hil(7) hil(7) system call. If the file status flag, O_NDELAY, is set and no data is available, read (2) returns 0 instead of blocking. write (2) is not supported by hil. select (2) can be used to poll for available input from HP-HIL devices. select (2) for write or for exception conditions always returns a false indication in the file descriptor bit masks. ioctl (2) is used to perform special operations on HP-HIL devices.
hil(7) HILED hil(7) Extended Describe The Extended Describe request returns the Extended Describe Record in the character array to which arg points. The Extended Describe Record may contain up to fifteen bytes of additional device information. The first byte is the Extended Describe Header, which indicates whether a device supports the Report Status, Report Name, Read Register, or Write Register requests. If the device implements the Read Register request, the maximum readable register is specified.
hil(7) hil(7) [EFAULT] A bad address was detected while attempting to use an argument to a system call. [EINTR] A signal interrupted an open (2), read (2), or ioctl (2) system call. [EINVAL] An invalid parameter was detected by ioctl (2). [ENXIO] No device is present at the specified address; see WARNINGS, below. [EIO] A hardware or software error occurred while executing an ioctl (2) system call. [ENODEV] write (2) is not implemented for HP-HIL devices.
hilkbd(7) hilkbd(7) NAME hilkbd - HP-HIL mapped keyboard driver DESCRIPTION HP-HIL, the Hewlett-Packard Human Interface Link, is the Hewlett-Packard standard for interfacing a personal computer, terminal, or workstation to its input devices. hilkbd supplies input from all mapped keyboards on a specified HP-HIL link. hilkbd returns mapped keycodes, not ASCII characters. ‘‘Raw’’ keycodes are the individual key downstrokes and upstrokes, and are different for each type of keyboard.
hilkbd(7) KBD_STATUS hilkbd(7) Read the keyboard status register. This request returns a one-byte value containing bit flags specifying the state of the shift and control keys in the char variable to which arg points: KBD_STAT_LEFTSHIFT KBD_STAT_RIGHTSHIFT KBD_STAT_SHIFT KBD_STAT_CTRL The left shift key is up The right shift key is up Both shift keys are up The control key is up Other bits are undefined. KBD_REPEAT_RATE Set the keyboard auto-repeat rate.
inet(7F) inet(7F) NAME inet - Internet protocol family SYNOPSIS #include #include DESCRIPTION The internet protocol family is a collection of protocols layered on top of the Internet Protocol (IP) network layer, which utilizes the internet address format. The internet family supports the SOCK_STREAM and SOCK_DGRAM socket types. Addressing Internet addresses are four byte entities. The include file defines this address as the structure struct in_addr.
iomap(7) iomap(7) NAME iomap - physical I/O address mapping SYNOPSIS #include DESCRIPTION The iomap mechanism allows the mapping (thus direct access) of physical I/O addresses into the user process address space. For PA-RISC machines, the physical I/O address space begins at 0xf0000000 and extends to 0xffffffff. The special (device) files for iomap devices are character special files using the dynamic major number allocation scheme.
iomap(7) iomap(7) [ENODEV] Read and write calls are unsupported. [ENXIO] No such device at the address specified by the minor number. [ENOSPC] Required resources for mapping could not be allocated. [ENOTTY] Inappropriate ioctl request for this device type; fildes is not a file descriptor for an iomap device file. EXAMPLES Consider the following code fragment: #include ... int fildes; void *addr; ...
IP(7P) IP(7P) NAME IP - Internet Protocol SYNOPSIS #include #include s = socket(AF_INET, SOCK_DGRAM, 0); DESCRIPTION IP is the network-layer protocol used by the Internet protocol family. It encapsulates TCP and UDP messages into datagrams to be transmitted by the network interface. Normally, applications do not need to interface directly to IP.
IP(7P) IP(7P) IP_DROP_MEMBERSHIP allows the system to leave a multicast group. For example: struct ip_mreq mreq; mreq.imr_multiaddr.s_addr = net_addr("224.1.2.3"); mreq.imr_interface.s_addr = INADDR_ANY; setsockopt(s, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)); The system remains a member of the multicast group until the last socket that joined the group is closed or has dropped membership in the group.
IP(7P) IP(7P) [EOPNOTSUPP] The socket type is not SOCK_DGRAM. [ETOOMANYREFS] An attempt to join more than IP_MAX_MEMBERSHIPS multicast groups on a socket. AUTHOR The socket interfaces to IP were developed by the University of California, Berkeley. Multicast extensions were developed by the Stanford University. SEE ALSO bind(2), getsockopt(2), recv(2), send(2), socket(2), inet(7F).
IPv6(7P) IPv6(7P) NAME IPv6, ipv6, ip6 - Internet Protocol Version 6 SYNOPSIS #include #include s = socket(AF_INET6, SOCK_DGRAM, 0); s = socket(AF_INET6, SOCK_STREAM, 0); DESCRIPTION IPv6 is the next generation network-layer protocol designed to be the successor to the current Internet Protocol version 4 (IPv4). It provides the packet delivery service for TCP, UDP and ICMPv6.
IPv6(7P) IPv6(7P) new option value specified is used as the hop limit for all subsequent unicast packets sent via that socket. Valid values are in the range 0-255 (both inclusive) and the default value is 64. For example, int hoplimit = 50; setsockopt(s, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &hoplimit, sizeof(hoplimit)); This option can be used with getsockopt() (see getsockopt (2)) to determine the hop limit value the system will use for subsequent unicast packets sent via that socket.
IPv6(7P) IPv6(7P) in6_pktinfo structure and it is defined in as: struct in6_pktinfo { struct in6_addr ipi6_addr; uint32_t ipi6_ifindex; }; By default this option is disabled. IPV6_RECVHOPLIMIT (boolean) When this option is enabled, inbound packet’s hoplimit is returned as ancillary data by recvmsg(). For example, int on = 1; setsockopt(s, IPPROTO_IPV6, IPV6_RECVHOPLIMIT, &on, sizeof(on)); By default this option is disabled.
IPv6(7P) IPv6(7P) ERRORS One of the following errors may be returned when a socket operation fails. [EADDRINUSE] The specified multicast group has been joined already. [EADDRNOTAVAIL] The specified IPv6 address is not a local interface address or there is no route for the specified multicast address or the specified multicast group has not been joined.
ipmi(7) ipmi(7) NAME ipmi - intelligent platform management interface (IPMI) driver SYNOPSIS #include DESCRIPTION The /dev/ipmi driver allows user processes to send IPMI messages to the BMC (Baseboard Management Controller) System Message Interface. The following data structures are provided in the header file for sending IPMI requests to the BMC. ImbRequest The ImbRequest structure is used to specify the fields in the IPMI request.
ipmi(7) ipmi(7) typedef struct ipmi_data { caddr_t InBuffer; DWORD InBufferLength; caddr_t OutBuffer; DWORD OutBufferLength; DWORD * BytesReturned; caddr_t Overlapped; int status; } ipmi_data_t; IOCTL_IMB_SEND_MESSAGE_32 Allows a 32-bit user process to send a message to the BMC. The arg parameter points to an ipmi_data_32_t structure (defined in the
ipmi(7) ipmi(7) [EIO] An internal error has occurred. EXAMPLES The following segment of code sends the IPMI message Get SEL Info, NetFn Storage, CMD 0x40. This is section 25.2 of the IPMI v1.5 Specification. struct selinfo { BYTE sel_version; BYTE num_entry_ls; BYTE num_entry_ms; BYTE free_space_ls; BYTE free_space_ms; BYTE add_timestamp[4]; BYTE erase_timestamp[4]; BYTE op_support; }; ...
kmem(7) kmem(7) NAME kmem - perform I/O on kernel memory based on symbol name. SYNOPSIS #include int ioctl(int kmemfd , int command , void *rks ); DESCRIPTION When used with a valid file descriptor for /dev/kmem (kmemfd), ioctl can be used to manipulate kernel memory. The specifics of this manipulation depend on the command given as follows: MIOC_READKSYM Read mirk_buflen bytes of kernel memory starting at the address for mirk_symname into mirk_buf .
kmem(7) kmem(7) [ENAMETOOLONG] modname is greater than MODMAXNAMELEN characters long, or symname is greater that MAXSYMNMLEN characters long. SEE ALSO getksym(2), ioctl(2), ioctl(5).
lan(7) lan(7) NAME lan - network I/O card access information DESCRIPTION This manual entry gives a brief description on how to access the LAN device driver at Layer 2 (Data Link Layer) of the OSI architecture. The LAN device driver controls the various LAN interface cards (e.g, Ethernet/IEEE 802.3, FDDI, Token Ring) at Layer 1 (Physical Layer). The Data Link Provider Interface (DLPI) is the supported method for accessing the LAN device driver at Layer 2.
ldterm(7) ldterm(7) NAME ldterm - standard STREAMS terminal line discipline module SYNOPSIS #include #include #include #include #include #include #include int ioctl( fd, I_PUSH, "ldterm"); DESCRIPTION ldterm is a STREAMS module that supplies the line discipline for streams-based terminal or pseudoterminal device drivers.
ldterm(7) ldterm(7) It generates echo characters and places them in the output buffer to be sent downstream to the write queue. While processing incoming data, it scans for START and STOP characters and sends M_START, M_STOP messages downstream to the write queue, if needed. If the total number of buffered input characters is more than the high-water mark and IXOFF is set, the read put routine sends an M_STOPI message downstream.
ldterm(7) ldterm(7) Write-side Behavior ldterm processes the following STREAMS messages on its output stream. Messages not listed here are simply forwarded downstream. M_FLUSH The write put routine flushes the write queue and discards any buffered output data. Then, it forwards the message downstream. M_DATA The write service routine processes the data according to the POSIX 1003.1 specification output flags.
ldterm(7) ldterm(7) TCGETA This command get the old System V termio information. The ldterm module converts the message to a POSIX termios M_IOCTL message, then forwards the message with the TCGETS command. The original I/O control command and M_IOCTL message are stored to be used on M_IOCACK. When it receives the matching M_IOCACK message, the ldterm module processes it as for a TCGETS command, then converts the POSIX termios information into the System V termio information and replies.
ldterm(7) ldterm(7) TIOCSETD The ldterm module does nothing but reply to this command. In a BSD system, the command is used to set the current line discipline type. It does not have much meaning in a STREAMS environment, because line discipline modules are changed by popping the current module from the stream and pushing a different one onto the stream. TIOCGETD In a BSD system, this command is used to get the current line discipline type. The command does not have much meaning in a STREAMS environment.
ldterm(7) ldterm(7) to an tchars structure via where the information is returned. TIOCSLTC This command sets the ltchars information defined in . The ldterm module converts the message to a POSIX termios M_IOCTL message. Then, it forwards the POSIX termios M_IOCTL message with a corresponding POSIX termios command (i.e. TCSETS). The original I/O control command and M_IOCTL message are stored for use on M_IOCACK.
lp(7) lp(7) (Series 800 Only) NAME lp - line printer SYNOPSIS #include Remarks: This manual entry applies only to a certain group of printers. For Series 800 systems, it applies to printers controlled by the device driver lpr2. It does not apply to any printers on Series 700 systems. DESCRIPTION This section describes capabilities provided by many line printers supported by various versions of the HP-UX operating system.
lp(7) lp(7) (Series 800 Only) Set the current printer status information from the structure to which arg points. LPRSET The lprio structure used in the LPRGET and LPRSET requests is defined in
lvm(7) lvm(7) NAME lvm - Logical Volume Manager (LVM) DESCRIPTION The Logical Volume Manager (LVM) is a subsystem for managing disk space. The HP LVM subsystem offers value-added features, such as mirroring (with the optional HP MirrorDisk/UX software), high availability (with the optional HP ServiceGuard software), and striping, that enhance availability and performance.
lvm(7) lvm(7) EXAMPLES The basic steps to take to begin using LVM are as follows: • Identify the disks to be used for LVM. • Create an LVM data structure on each identified disk (see pvcreate (1M)). • Collect all the physical volumes to form a new volume group (see vgcreate (1M)). • Create logical volumes from the space in the volume group (see lvcreate (1M)). • Use each logical volume as if it were a disk section (create a file system, or use for raw access).
mem(7) mem(7) NAME mem - main memory DESCRIPTION mem is a special file that is an image of the main memory of the computer. It may be used, for example, to examine and patch the system. Byte addresses in mem are interpreted as physical memory addresses. References to non-existent locations cause errors to be returned. File kmem is the same as mem except that kernel virtual memory rather than physical memory is accessed.
modem(7) modem(7) NAME modem - asynchronous serial modem line control SYNOPSIS #include DESCRIPTION This section describes the two modes of modem line control and the three types of terminal port access. It also discusses the effect of the bits of the termio structure that affect modem line control. The modem related ioctl (2) system calls are discussed at the end of the document.
modem(7) modem(7) The call-in type of access is used when the connection is expected to be established by an incoming call. This is the type that would be used by getty (1M) to accept logins over a modem. When an open is issued to such a file, the driver may wait for an incoming call and will then raise the CONTROL based on the current mode (see below) of the port. When the port is closed, the driver may or may not lower the CONTROL depending on the HUPCL bit.
modem(7) modem(7) When a port is in simple mode, the driver will normally control the modem lines. However, the user is allowed to change the setting of the CONTROL (see Modem ioctls below). Terminal port access interlock An interlock mechanism is provided between the three access types of terminal files.
modem(7) modem(7) unsigned }; short m_timers[NMTIMER]; Each bit of the mflag long corresponds to one of the modem lines as follows: MRTS MCTS MDSR MDCD MDTR MRI MDRS Request to Send Clear to Send Data Set Ready Data Carrier Detect Data Terminal Ready Ring Indicator Data Rate Select outbound inbound inbound inbound outbound inbound outbound The timer values are defined in the array m_timers.
modem(7) TIOCM_CAR TIOCM_DTR TIOCM_RNG modem(7) Data Carrier Detect Data Terminal Ready Ring Indicator inbound outbound inbound Additionally, TIOCM_CD is equivalent to TIOCM_CAR, and TIOCM_RI is equivalent to TIOCM_RNG. The modem line ioctl system calls have the form: int ioctl(int fildes, int command, int *arg); The commands using this form are: TIOCMGET Get the current state of both inbound and outbound modem lines and store in the int referenced by arg.
mt(7) mt(7) NAME mt - magnetic tape interface and controls for stape and tape2 DESCRIPTION This entry describes the behavior of HP magnetic tape interfaces and controls, including reel-to-reel, DDS, QIC, 8mm, and 3480 tape drives. The files /dev/rmt/* refer to specific raw tape drives, and the behavior of each given unit is specified in the major and minor numbers of the device special file. Naming Conventions There are two naming conventions for device special files.
mt(7) mt(7) DLT Selects one of the known DLT formats; can be used to specify DLT42500_24, DLT42500_56, DLT62500_64, DLT81633_64, or DLT85937_52, as required. QIC Selects one of the known QIC formats; can be used to specify QIC11, QIC24, QIC120, QIC150, QIC525, QIC1000, QIC1350, QIC2100, QIC2GB, or QIC5GB, as required. D8MM Selects one of the known 8MM formats; can be used to specify D8MM8200 or D8MM8500, as required.
mt(7) mt(7) During a read, the record size is passed back as the number of bytes read, up to the buffer size specified. Since the minimum read length on a tape device is a complete record (to the next record mark), the number of bytes ignored (for records longer than the buffer size specified) is available in the mt_resid field of the mtget structure via the MTIOCGET call of ioctl (2). Current restrictions require tape device application programs to use 2-byte alignment for buffer locations and I/O sizes.
mt(7) mt(7) #define MTRES 14 /* Reserve Device */ #define MTREL 15 /* Release Device */ #define MTERASE 16 /* Erase media */ /* structure for MTIOCGET - mag tape get status command */ struct mtget { long long mt_type; mt_resid; /* type of magtape device */ /* residual count */ /* The following two registers are device dependent */ long long mt_dsreg1; mt_dsreg2; /* status register (msb) */ /* status register (lsb) */ /* The following are device-independent status words */ long long int32_t int32_t
mt(7) mt(7) GMT_COMPRESS(x ) Returns TRUE if data compression is enabled. GMT_DENSITY(x ) Returns the currently configured 8-bit density value. Supported values are defined in . GMT_QIC_FORMAT(x ) GMT_8mm_FORMAT(x ) A mA Return the same information as does GMT_DENSITY(x ). GMT_DENSITY(x ) is preferred because GMT_QIC_FORMAT and GMT_8mm_FORMAT may be obsoleted at some future date. GMT_D_800(x ) Returns TRUE if the density encoded in mt_gstat is 800 bpi.
mt(7) mt(7) GMT_D_QIC_525(x ) Returns TRUE if the density encoded in mt_gstat is QIC-525 format. GMT_D_QIC_1000(x ) Returns TRUE if the density encoded in mt_gstat is QIC1000 format. GMT_D_QIC_1350(x ) Returns TRUE if the density encoded in mt_gstat is QIC1350 format. GMT_D_QIC_2100(x ) Returns TRUE if the density encoded in mt_gstat is QIC2100 format. GMT_D_QIC_2GB(x ) Returns TRUE if the density encoded in mt_gstat is QIC2GB format.
mt(7) mt(7) mtop.mt_op = MTWEOF; mtop.mt_count = 2; ioctl(fd, MTIOCTOP, &mtop); If fd is a valid file descriptor for an open DDS drive, the following example spaces forward to just past the next setmark: #include #include struct mtop mtop; mtop.mt_op = MTFSS; mtop.mt_count = 1; ioctl(fd, MTIOCTOP, &mtop); Given that fd is a valid file descriptor for an opened tape device, and that it has just returned 0 from a read (2) request.
mt(7) mt(7) maintenance of the property table. Device files using a extended configuration options located outside the /dev/rmt directory may not provide consistent behavior across system reboots. Use the rmsf (1M) command to clean up unused device files. Otherwise, the property table may overflow and cause the mksf(1M) command to fail. Density codes listed in have device-dependent behaviors. See the hardware manual for your tape device to find which densities are valid.
mt(7) mt(7) SEE ALSO dd(1), mt(1), ioctl(2), insf(1M), lssf(1M), mksf(1M), rmsf(1M), Configuring HP-UX for Peripherals A mA Section 7−−86 Hewlett-Packard Company −9− HP-UX 11i Version 2: August 2003
ndp(7P) ndp(7P) NAME NDP - Neighbor Discovery Protocol DESCRIPTION NDP is a protocol used by hosts and routers to: 1. Find the link-layer address of the neighbors known to be attached to the same link. 2. Find the neighboring routers that are willing to forward packets on their behalf. 3. Actively keep track of which neighbors are reachable and which are not. 4. Search for alternate routers when the path to a router fails. To accomplish the above mentioned tasks, NDP, defines the following processes: 1.
ndp(7P) • ndp(7P) Processing router advertisements. This rule discusses what actions should be taken on receipt of router advertisements. • Timing out prefixes and default routers. Whenever routers send router advertisements they include the lifetime of the router as well as the prefixes that they advertise. NDP specifies what actions the host should take when these lifetimes expire.
ndp(7P) ndp(7P) b. If a host with the specified IPv6 address is present in the network, it will reply this solicitation with a Neighbor Advertisement Message. c. On receiving the Neighbor Advertisement the node will search for an entry in the neighbor cache for the sender’s IPv6 address. A new entry is created in the neighbor cache and the reachability flag is set to REACHABLE. Once the Address resolution is completed, neighbor unreachability detection will be performed.
nfs(7) nfs(7) NAME nfs, NFS - network file system DESCRIPTION The Network File System (NFS) allows a client node to perform transparent file access over the network. By using NFS, a client node operates on files residing on a variety of servers and server architectures, and across a variety of operating systems. File access calls on the client (such as read requests) are converted to NFS protocol requests and sent to the server system over the network.
null(7) null(7) NAME null - null file DESCRIPTION Data written on a null special file is discarded. Reads from a null special file always return 0 bytes. EXAMPLES To create a zero-length file, use either of the following: cat /dev/null > file cp /dev/null file FILES /dev/null STANDARDS CONFORMANCE null: AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, POSIX.
pckt(7) pckt(7) NAME pckt - Packet Mode module for STREAMS pty (pseudo-terminal) SYNOPSIS #include int ioctl(fd_slave, I_PUSH, "pckt"); DESCRIPTION The Packet Mode feature for STREAMS pty devices allows the user process on the master side of the pty device to be informed of state changes in the pty. To enable Packet Mode in the STREAMS pty device, the user process must push the pckt module onto the master side of the pty with a call to the STREAMS I_PUSH ioctl (2) system call.
poll(7) poll(7) NAME poll - monitor I/O conditions on multiple file descriptors SYNOPSIS #include #include
poll(7) poll(7) struct pollfd pfd[2]; int err; pfd[0].fd = fd1; pfd[0].events = POLLIN; pfd[1].fd = fd2; pfd[1].events = (POLLIN | POLLRDBAND); err = write(evpfd, pfd, sizeof(pfd)); Polling File Descriptors Polling an event port’s interest set is initiated by calling ioctl() specifying the DP_POLL request . The ioctl arg parameter is a pointer to a dvpoll structure, defined in .
poll(7) poll(7) If ioctl() returns -1, errno is set to the error condition. ERRORS The following errors are returned by the event port driver. If open() fails, errno is set to one of the following values. [EACCES] [EAGAIN] The minor number of the device file name passed to open() is not 0. Allocation of internal data structures failed due to a temporary condition. Calling open() again might succeed. [EMFILE] The maximum number of file descriptors allowed for the process is already open.
poll(7) poll(7) After the last non-blocking write succeeds, the following should be used to deregister for POLLOUT, but continue to be registered for input notifications. Note that POLLREMOVE must be used in order to remove the POLLOUT registration. struct pollfd regpfd[2]; int err; regpfd[0].fd = sd; regpfd[0].events = POLLREMOVE; regpfd[1].fd = sd; regpfd[1].
poll(7) poll(7) SEE ALSO ioctl(2), mknod(2), open(2), pipe(2), poll(2), select(2), send(2), socket(2), socketpair(2), write(2), t_open(3).
ps2(7) ps2(7) NAME ps2, ps2kbd, ps2mouse - PS/2 keyboard/mouse device driver and files SYNOPSIS #include DESCRIPTION The ps2 driver allows the use of IBM Personal System/2 (PS/2) compatible keyboards and mouse devices on Hewlett-Packard workstations equipped with PS/2 interface hardware. On systems with a single interface, PS/2 device file names use the following format: /dev/ps2_n where n represents the interface port number, ranging from 0 to 15.
ps2(7) ps2(7) If both file status flags O_NDELAY and O_NONBLOCK are clear and no data is available, the read() call blocks until data becomes available or a signal is received. If the file status flag O_NDELAY is set and no data is available, the read() call returns zero instead of blocking. If the file status flag O_NONBLOCK is set and no data is available, the read() call returns -1 with errno set to [EAGAIN] (see errno (2)). The write() system call is not supported by ps2.
ps2(7) ps2(7) PS2_ENABLE Enable a PS/2 device Transmissions from the device are enabled. This request does not use arg. Identify a PS/2 device. PS2_IDENT A value identifying the type of device is returned in the 4-byte buffer addressed by arg. The keyboard returns two bytes (arg[0]=0xAB and arg[1]=0x83). The mouse returns one byte (arg[0]=0x00). PS2_SETDEFAULT Set the device to its default (power-up) state. The device is returned to its default internal state. This request does not use arg.
ps2(7) PS2_KEY_MAKE ps2(7) Set make-only behavior for an individual key. The key code from scancode set 3 for the individual key is passed as the first byte in the character buffer addressed by arg. This request can be made when the keyboard is using any scancode set; however, it affects only the operation of scancode set 3. Because keyboards might be left in a disabled state after this request, the PS2_ENABLE request should be performed after PS2_KEY_MAKE.
ps2(7) ps2(7) ioctl() request. The arg parameter is not used. PS2_REPORT Obtain a prompt mode mouse report. This request polls the mouse, obtaining a three-byte report returned in the character buffer addressed by the arg parameter.
ps2(7) ps2(7) RES_1 RES_2 RES_3 RES_4 PS2_2TO1_SCALING 1 count/mm 1 count/mm 2 count/mm 3 count/mm 4 count/mm 6 count/mm 8 count/mm 12 count/mm Set mouse scaling at 2 to 1. The X and Y coordinate values returned in stream-mode reports are doubled, except for absolute values less than six, which are converted to new values in a nonlinear fashion.
ps2(7) ps2(7) printf("Indicators off\n"); /* use scancode set 3 */ kbdbuf[0] = SCANCODE_3; if( ioctl( fildes, PS2_SCANCODE, &kbdbuf) < 0){ perror("ioctl PS2_SCANCODE failed"); exit(1); } /* identify our scancode set */ kbdbuf[0] = GET_SCANCODE; if( ioctl( fildes, PS2_SCANCODE, &kbdbuf) < 0){ perror("ioctl PS2_SCANCODE failed"); exit(1); } printf("Keyboard reports it is using scancode set %d\n", (unsigned int) kbdbuf[0]); /* now, loop forever while printing keycodes */ while( 1){ read( fildes, &inchar, 1);
ps2(7) ps2(7) if (read(fildes, &buf[0], perror("Read of report return 1; } if (read(fildes, &buf[1], perror("Read of report return 1; } if (read(fildes, &buf[3], perror("Read of report return 1; } printf("mouse: 0x%02x, %d 1) != 1){ byte 1 failed"); 1) != 1){ byte 2 failed"); 1) != 1){ byte 3 failed"); %d\n", buf[0], buf[1], buf[2]); } AUTHOR ps2 was developed by the Hewlett-Packard Company. PS/2 and Personal System/2 are registered trademarks of International Business Machines, Incorporated, in the U.
ptem(7) ptem(7) NAME ptem - STREAMS pty (pesudo-terminal) Emulation module SYNOPSIS #include int ioctl(fd_slave, I_PUSH, "ptem"); DESCRIPTION ptem is a STREAMS module that emulates a terminal when used in conjunction with ldterm (STREAMS line discipline) and pts (STREAMS slave pty driver). The ptem module normally sits above pts and below ldterm.
ptem(7) ptem(7) upstream with the jwinsize structure. If the values are zero, ptem sends an M_IOCNAK message upstream. • When an M_IOCTL message of type TIOCGWINSZ is received on its write queue and if the values in the winsize structure in ptem are not zero, ptem sends an M_IOCACK message upstream with the winsize structure. If the values are zero, ptem sends an M_IOCNAK message upstream.
ptm(7) ptm(7) NAME ptm - STREAMS master pty (pseudo-terminal) driver SYNOPSIS #include #include #include int open("/dev/ptmx", O_RDWR); DESCRIPTION A pseudo-terminal (pty) consists of a tightly-coupled pair of character devices, called the master device and slave device.
ptm(7) ISPTM ptm(7) Determines whether the file descriptor is that of an open master device. On success, it returns the major and minor number (type dev_t) of the master device which can be used to determine the name of the corresponding slave device. On failure, it returns −1 with errno set to [EINVAL]. ISPTM on HP-UX can return valid device number with negative value. For example, with major number of the STREAMS pty master being 0x9c, ICPTM will return 0x9C000000 which is a negative number.
pts(7) pts(7) NAME pts - STREAMS slave pty (pseudo-terminal) driver SYNOPSIS #include #include #include int open("/dev/pts/N", O_RDWR); DESCRIPTION A pseudo-terminal (pty) consists of a tightly-coupled pair of character devices, called the master device and slave device.
pts(7) pts(7) slave = ptsname(fd_master); fd_slave = open(slave, O_RDWR); ioctl(fd_slave, I_PUSH, "ptem"); ioctl(fd_slave, I_PUSH, "ldterm"); AUTHOR pts was developed by HP and OSF. FILES /dev/ptmx /dev/pts/N Streams pty master clone device Streams pty slave devices (0 <= N < NSTRPTY), where NSTRPTY is a kernel tunable parameter which can be changed via SAM (see sam(1M)).
pty(7) pty(7) NAME pty - pseudo terminal driver DESCRIPTION The pty driver provides support for a device-pair termed a pseudo terminal. A pseudo terminal is a pair of character devices, a master device and a slave device. The slave device provides to application processes an interface identical to that described in termio (7). Unlike all other devices that provide the interface described in termio (7), the slave device does not have a hardware device behind it.
pty(7) pty(7) default, termio processing is enabled. termio processing refers to processing of input and output described by termio (7) (such as tab expansion), as well as the processing of the ioctl() requests described by termio (7). When disabled, all input and output data is passed through the pty without modification. Issuing a TIOCTTY ioctl() request flushes all data buffered in the pseudo terminal and releases any processes blocked waiting for data.
pty(7) pty(7) the slave side. In normal usage, writing data is like typing the data as a line on a terminal; writing zero bytes is equivalent to typing an end-of-file character (that is, the EOF character as defined in termio (7)). The data read by the slave side is identical to the data written on the master side. Data written on the slave side and read on the master side with TIOCREMOTE enabled is still subject to the normal termio (7) processing.
pty(7) pty(7) handshake is done automatically. Trapping occurs in two forms that are identified by the ioctl() requests that enable or disable them — TIOCTRAP and TIOCMONITOR. These two forms are distinguished by the types of requests they affect and by the capabilities they provide. Trapping open() and close() requests is enabled or disabled by TIOCTRAP. Trapping ioctl() requests not defined by termio (7) are enabled or disabled by TIOCTRAP.
pty(7) pty(7) errno_error can be used to return an error for trapped slave pty open() requests. See the discussion of the TIOCSMODES ioctl() for further information on open error mode. return_value The success value (initialized to zero) returned by ioctl() on the slave side when errno_error is not set. When the ioctl() argument received on the slave side is not a pointer, its value is stored as four bytes retrievable with an ioctl() request to the master side equal to argget.
pty(7) pty(7) trapping is enabled if the int addressed by arg is nonzero and disabled if the int addressed by arg is zero. By default, TIOCMONITOR trapping is disabled. TIOCMONITOR works in series with TIOCTTY; that is, the TIOCMONITOR trapping must be enabled and TIOCTTY must be enabled for termio ioctl() requests to be trapped by TIOCMONITOR. TIOCMONITOR trapping can be enabled or disabled regardless of the state of TIOCTTY.
pty(7) pty(7) whose open() or ioctl() request is trapped. Signals are postponed if they would otherwise cause the process to jump to an installed signal handler. Signals are not postponed if they would otherwise cause the process to abort or if they are being ignored. When the server process completes the handshake by means of the TIOCREQSET ioctl() request, the process returns to the calling program and any pending signals are then acted upon.
pty(7) pty(7) WARNINGS The slave side cannot indicate an end-of-file condition to the master side. When using TIOCREMOTE, a single write() request to the master side of greater than 256 bytes may result in multiple smaller records being read from the slave side instead of only one record. AUTHOR pty was developed by the University of California, Berkeley.
random(7) random(7) NAME random, urandom, rng - strong random number generator SYNOPSIS #include DESCRIPTION The character special files /dev/random and /dev/urandom provide an interface to the kernelresident random number generator, rng. A read() from /dev/random is potentially blocking, as compared to a read from /dev/urandom which is always nonblocking. Data from /dev/urandom can potentially have lower entropy than data from /dev/random.
random(7) random(7) Specific Information About /dev/urandom To address the limited random data collection rate problem, the /dev/urandom device is strictly nonblocking. The /dev/urandom holding buffer is regularly updated with random data, yet a high number of reads can decrease the entropy in its holding buffer. Under this conditions, the entropy of the data from /dev/urandom will be slightly lower that the one from /dev/random, yet /dev/urandom can still be considered a good source of random numbers.
routing(7) routing(7) NAME routing - system support for local network packet routing DESCRIPTION The network facilities for HP-UX provide general packet routing support. Routing table maintenance is handled by application processes. A routing table consists of a set of data structures used by the network facilities to select the appropriate remote host or gateway when transmitting packets.
routing(7) routing(7) _______________________________________________________________ # netstat -rnv Routing tables Dest/Netmask Gateway Flags Refs Use Interface Pmtu 15.13.136.66/255.255.255.255 127.0.0.1 UH 1 39 lo0 4608 127.0.0.1/255.255.255.255 127.0.0.1 UH 0 68 lo0 4608 147.253.56.195/255.255.255.255 127.0.0.1 UH 0 0 lo0 4608 147.253.144.66/255.255.255.255 127.0.0.1 UH 0 0 lo0 4608 default/0.0.0.0 15.13.136.11 UG 3 40 lan0 1500 15.13.136.0/255.255.248.0 15.13.136.66 U 1 153 lan0 1500 147.253.56.
routing(7) routing(7) Count =0 >0 =0 >0 =0 >0 Destination Type network network host host default default Flags U UG UH UGH U UG Route Type Route to a network directly from the local host Route to a network through a remote host gateway Route to a remote host directly from the local host Route to a remote host through a remote host gateway Wildcard route directly from the local host Wildcard route through a remote host gateway Subnets The network facilities support variable-length subnetting.
routing(7) routing(7) If subnets are not in use, the default mask used is 255.255.255.0. If subnets are used and the 8-bit host field is partitioned into 3 bits of subnet and 5 bits of host as in the above example, then the subnet mask would be 255.255.255.192. If a host has multiple interfaces, then it can belong to different subnets. Unlike past releases, the subnets can have different sizes even if they may have the same network address.
routing(7) routing(7) FILES /etc/hosts /etc/networks SEE ALSO netstat(1), ifconfig(1M), route(1M).
sad(7) sad(7) NAME sad - STREAMS Administrative Driver SYNOPSIS #include #include #include #include int ioctl(int fildes , int command, ... /* arg */); DESCRIPTION The sad driver provides an interface to the autopush facility using the ioctl() function. As an interface, the sad driver enables administrative tasks to be performed on STREAMS modules and drivers.
sad(7) sad(7) SAD_GAP Lets you use the sad driver to obtain autopush configuration information for a device by setting the sap_major and sap_minor fields of the strapush structure (see the SAD_SAP command) to the major and minor device numbers of the device being queried. arg should point to a struct of type strapush. Upon successful completion, the strapush structure contains all of the information used to configure the device. Values of 0 (zero) will appear in any unused entry in the module list.
sad(7) sad(7) command does not exist. [EACCES] Only superuser is allowed to execute the SAD_SAP ioctl. [EFAULT] The arg parameter points outside the allocated address space. [EINVAL] The major device number (sad_major) is invalid. [ENODEV] The device is not configured for autopush. [ENOSTR] The major device does not represent a STREAMS driver. [EFAULT] The arg parameter points outside the allocated address space. [EINVAL] The list of module names is invalid.
scsi(7) scsi(7) NAME scsi - Small Computer System Interface device drivers DESCRIPTION The Small Computer System Interface (SCSI) is an American National Standard for interconnecting computers and peripheral devices. HP-UX supports the SCSI device protocol on parallel SCSI interfaces (see ANSI Std X3.131-199X, ‘‘SCSI-2’’) and Fibre Channel interfaces (see ANSI Std X3.269-199X, "Fibre Channel Protocol for SCSI"). The SCSI standard includes specifications for a variety of device types.
scsi(7) scsi(7) unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned char char char unsigned unsigned unsigned int char char int int int int int int int int char char char rdf:4; added_len; resv2[2]; reladr:1; wbus32:1; wbus16:1; sync:1; linked:1; resv3:1; cmdque:1; sftre:1; vendor_id[8]; product_id[16]; rev_num[4]; vendor_spec[20]; resv4[40]; vendor_parm_bytes[32]; }; /* union for SIOC_INQUIRY ioctl */ union inquiry_data { struct inquiry inq1; /* SCSI-1 i
scsi(7) scsi(7) unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned char char char char char char char char copysearch[4]; sense_code; resv; fru; field; field_ptr[2]; dev_error[4]; misc_bytes[106]; }; /* structure for SCSI-2 sense data */ struct sense_2_aligned { unsigned int info_valid:1; unsigned int error_code:7; unsigned char seg_num; unsigned int filemark:1; unsigned int eom:1; unsigned int ili:1; unsigned int resv:1; unsigned int key:4; unsigned char info[4]; unsigned char add
scsi(7) scsi(7) device control (see scsi_ctl (7)). Drivers that support only devices which have no meaningful size may not support the SIOC_CAPACITY 32 ioctl. Total device size in bytes may exceed 2 −1 for some devices. DEPENDENCIES sdisk/schgr/sflop/stape The SIOC_EXCLUSIVE ioctl may be used to obtain and release exclusive access. Exclusive access, which prevents simultaneous access by other applications, is required for some operations and may be desirable in other circumstances.
scsi_ctl(7) scsi_ctl(7) NAME scsi_ctl - SCSI pass-through driver DESCRIPTION SCSI devices are controlled by a device-specific driver, when one exists. Device-specific drivers, such as those for SCSI direct access (disk) and sequential access (tape) devices, coordinate device and driver states to accomplish correct logical device behavior. The scsi_ctl pass-through driver enables use of SCSI devices and commands not normally supported by these device-specific drivers.
scsi_ctl(7) scsi_ctl(7) At power-up and after being reset, all parallel SCSI devices and hosts communicate using eight-bit data transfers. A SCSI target and host pair may agree to use sixteen-bit (wide) data transfers to increase I/O performance. To make use of wide data transfers, a SCSI target and host must negotiate to determine a mutually acceptable data transfer width parameter.
scsi_ctl(7) scsi_ctl(7) xfer_rate, max_width, max_reqack_offset, max_xfer_rate fields only apply to parallel SCSI. Bus communication parameters may be managed by use of the SIOC_GET_BUS_PARMS, SIOC_SET_BUS_LIMITS, and SIOC_GET_BUS_LIMITS ioctls to any associated LUN. The SIOC_GET_BUS_PARMS ioctl indicates the current bus communication parameter values.
scsi_ctl(7) scsi_ctl(7) unsigned int max_xfer_rate; unsigned int reserved[4]; /* bytes/sec */ /* reserved for future use */ }; struct sioc_bus_limits { unsigned int flags; unsigned int max_width; unsigned int max_reqack_offset; unsigned int max_xfer_rate; unsigned int reserved[4]; }; /* reserved for future use */ /* bytes/sec */ /* reserved for future use */ SCSI Commands and Operations The SIOC_IO ioctl allows an arbitrary SCSI command to be sent to a device.
scsi_ctl(7) scsi_ctl(7) S_BUSY Device indicated it is unable to accept the command because it is busy doing other operations. S_INTERMEDIATE Device successfully completed this command, which is one in a series of linked commands (not supported, see WARNINGS). S_I_CONDITION_MET Device indicated both S_INTERMEDIATE and S_CONDITION_MET (not supported, see WARNINGS). S_RESV_CONFLICT Device indicated the command conflicted with an existing reservation.
scsi_ctl(7) scsi_ctl(7) unsigned unsigned unsigned unsigned unsigned char unsigned unsigned char unsigned char data_length; max_msecs; data_xfer; cdb_status; sense[256]; sense_status; sense_xfer; reserved[64]; }; EXAMPLES Assume that fildes is a valid file descriptor for a SCSI device. The first example attempts a SCSI INQUIRY command: #include struct sctl_io sctl_io; #define MAX_LEN 255 unsigned char inquiry_data[MAX_LEN]; memset(sctl_io, 0, sizeof(sctl_io)); sctl_io.
scsi_ctl(7) scsi_ctl(7) sctl_io.sense_status == S_GOOD && sctl_io.sense_xfer > 2 && (sctl_io.sense[2] & 0x0F) == 2)) /* can use sense_data */ { /* device is not ready */ } else { /* unknown state */ } WARNINGS Incorrect use of scsi_ctl operations (even those attempting access to non-existent devices) can cause data loss, system panics, and device damage. The SIOC_EXCLUSIVE ioctl should be used to gain exclusive access to a device prior to attempting SIOC_IO commands.
scsi_disk(7) scsi_disk(7) NAME scsi_disk - SCSI direct access device driver (sdisk) DESCRIPTION This section describes the interface for access of SCSI disk, CD-ROM, and optical disk devices through the character special device driver. SCSI direct access devices store a sequence of data blocks. Each direct access device has a specific device size consisting of a number of data blocks and a logical block size. All data blocks have the same logical block size.
scsi_disk(7) scsi_disk(7) { int ret; disk_describe_type descr_type; if ((ret = ioctl (dfd, DIOC_DESCRIBE, &descr_type)) != 0) { exit(1); } printf ("\nSuccessful ioctl DIOC_DESCRIBE \n"); printf (" model number: %s\n", descr_type.model_num); printf (" interface: %d <20=scsi>\n", descr_type.
scsi_disk(7) scsi_disk(7) value disables write verification. The value 1 enables write verification. Although write verification is primarily intended for optical media, some systems may support write verification on normal disk devices. The SIOC_VERIFY ioctl verifies that a media area contains valid data (that is, data that has been correctly written). Verified media will not cause I/O errors when reading is attempted. The media area to be verified is specified via the start_lba and block_cnt fields.
scsi_tape(7) scsi_tape(7) (Series 700 Only) NAME scsi_tape - SCSI sequential access (tape) device driver DESCRIPTION SCSI sequential-access (tape) devices store a sequence of data blocks. Data can be read and written using either fixed or variable sized block mode. If supported by the device, variable sized block mode is normally used (even when all blocks are the same size). Fixed sized block mode is generally only used for tape devices which do not support variable sized blocks.
scsi_tape(7) scsi_tape(7) (Series 700 Only) #define #define #define #define #define SIOC_GET_BLOCK_SIZE SIOC_SET_BLOCK_SIZE SIOC_GET_BLOCK_LIMITS SIOC_GET_POSITION SIOC_SET_POSITION _IOR(’S’, _IOW(’S’, _IOW(’S’, _IOR(’S’, _IOW(’S’, 30, 31, 32, 33, 34, int) int) struct scsi_block_limits) int) int) /* structure for SIOC_GET_BLOCK_LIMITS ioctl */ struct scsi_block_limits { unsigned min_blk_size; unsigned max_blk_size; }; WARNINGS SCSI bus and device resets cause some devices to reposition media to begi
sioc_io(7) sioc_io(7) NAME sioc_io - SCSI pass-through interface DESCRIPTION SCSI devices are controlled by a device-specific driver, when one exists. Device-specific drivers, such as those for SCSI direct access (disk) and sequential access (tape) devices, coordinate device and driver states to accomplish correct logical device behavior. The sioc_io pass-through interface enables the use of SCSI devices and commands not normally supported by these device-specific drivers.
sioc_io(7) sioc_io(7) SCTL_SELECT_TIMEOUT The target device does not answer to selection by the host SCSI interface (the device does not exist or does not respond). SCTL_INCOMPLETE The device answered selection but the command is not completed (the device took too long or a communication failure occurred). S_GOOD Device successfully completed the command. S_CHECK_CONDITION Device indicated sense data is available.
sioc_io(7) sioc_io(7) sctl_io.flags = 0; /* no data transfer expected */ sctl_io.cdb[0] = 0x00; /* can use CMDtest_unit_ready */ sctl_io.cdb[1] = 0x00; sctl_io.cdb[2] = 0x00; sctl_io.cdb[3] = 0x00; sctl_io.cdb[4] = 0x00; sctl_io.cdb[5] = 0x00; sctl_io.cdb_length = 6; /* 6 byte command */ sctl_io.data = NULL; /* no data buffer is provided */ sctl_io.data_length = 0; /* do not transfer data */ sctl_io.
sioc_io(7) sioc_io(7) access of inquiry data during driver open calls. Since communication parameters can be affected by device-specific driver capabilities, device-specific driver use might result in communication parameter changes. FILES /usr/include/sys/scsi.h /usr/include/sys/scsi_ctl.h SEE ALSO ioctl(2), scsi(7), scsi_ctl(7).
slp_syntax(7) slp_syntax(7) NAME slp_syntax - SLP Service Type Syntax DESCRIPTION The SLP API expects service type information to be passed while querying for SLP service information and also while registering and deregistering services. The SLP API accepts service type information in URL format also. The service type string contains the following information. Name of the service type. Naming Authority responsible for the service name. The service type string is of the form: service :abstract-type.
slp_syntax(7) slp_syntax(7) service:chat.superchat://chat.superchat.com;auth=ldap SLP requires you to use Service URLs. API functions will return SLP_PARSE_ERROR if you do not. Service URLs are required because the SLP API designers do not allow the service-type to be passed in as a parameter to the SLPDeReg() call. Without the service-type, SLPDeReg() does not allow the caller to distinguish between services of varying types that were registered with the same standard URL.
socket(7) socket(7) NAME socket - interprocess communications DESCRIPTION Sockets are communication endpoints that allow processes to communicate either locally or remotely. They are accessed by means of a set of system calls (see socket (2)). The following ioctl() requests are defined in (see ioctl (2)): FIOSNBIO If the int with the address arg is non-zero, the socket is put into non-blocking mode. Otherwise, the socket is put into blocking mode. Blocking mode is the default.
socket(7) socket(7) DEPENDENCIES AF_CCITT Only Only the FIOSNBIO, FIONREAD, SIOCGPGRP, and SIOCSPGRP ioctl() requests are defined for af_ccitt sockets. AUTHOR socket was developed by the University of California, Berkeley. SEE ALSO fcntl(2), getsockopt(2), ioctl(2), socket(2).
streamio(7) streamio(7) NAME streamio - STREAMS ioctl commands SYNOPSIS #include #include int ioctl(int fildes , int command, ... /* arg */); DESCRIPTION STREAMS ioctl commands are a subset of the ioctl() system calls which perform a variety of control functions on streams. fildes is an open file descriptor that refers to a stream. command determines the control function to be performed as described below. arg represents additional information that is needed by this command.
streamio(7) streamio(7) the databuf strbuf structure must be set to the number of bytes of data information to be sent with the message or zero if no data part is to be sent. flags specifies the type of message to be created. An ordinary (non-priority) message is created if flags is set to 0, a high priority message is created if flags is set to RS_HIPRI. For normal messages, I_FDINSERT will block if the stream write queue is full due to internal flow control conditions.
streamio(7) streamio(7) value on the system. The default is fifteen seconds. I_GETSIG Returns the events for which the calling process has registered to receive a SIGPOLL signal. Events are returned as in arg bitmask as defined for the I_SETSIG command. I_GRDOPT Returns the current read mode setting in an int pointed to by the argument arg. Read modes are described in read (2).
streamio(7) streamio(7) The I_PEEK returns a 1 if a message was retrieved, and returns a value of 0 (zero) if no message was found; it does not wait for a message. Upon successful completion, ctlbuf specifies control information in the control buffer, databuf specifies data information in the data buffer, and options contains RS_HIPRI or 0 (zero).
streamio(7) streamio(7) I_SETCLTIME Lets the user process set the time that the stream head delays when the stream is closing and the write queues contain data. The arg parameter contains a pointer to the number of milliseconds to delay, rounded up to the nearest legal value on the system. The default time is 15 seconds. Before STREAMS modules and drivers are closed, the stream head delays for the specified amount of time. This allows the data on the write queues to drain.
streamio(7) streamio(7) Message-nondiscard mode. RMSGN Setting both RMSGD and RMSGN is an error. RMSGD and RMSGN override NORM. In addition, treatment of control messages by the stream head may be changed by setting the following flags in arg: I_STR RPROTNORM Fail read with EBADMSG if a control message is at the front of the stream head read queue. This is the default behavior. RPROTDAT Deliver the control portion of a message as data when a user issues read.
streamio(7) streamio(7) ERRORS A STREAMS ioctl command fails without performing the function and with errno set to [EINVAL] if: • The stream referred to by fildes is linked below a multiplexing driver. • The command parameter is not a valid value for the stream. In addition, if any of the following conditions occur, the STREAMS ioctl commands return the corresponding value: I_ATMARK [EINVAL] arg has an illegal value. I_CANPUT [EINVAL] arg has an illegal value.
streamio(7) streamio(7) [EINVAL] The bi_pr parameter value exceeds the maximum band, or the bi_option parameter is not FLUSHR, FLUSHW, or FLUSHRW. I_GETBAND [ENODATA] No message exists on the stream head read queue. I_GETSIG [EINVAL] User process is not registered to receive the SIGPOLL signal. [EFAULT] arg points outside the allocated address space. I_GRDOPT [EFAULT] arg is pointing outside the allocated address space.
streamio(7) streamio(7) [EINVAL] The file referred to by arg is not a stream or is already linked under a multiplexing driver. [EINVAL] The link operation would cause a "cycle" in the resulting multiplexing configuration. In other words, the driver referred to by arg is linked into the configuration at multiple places. I_POP [EINVAL] There are not modules in the stream. [ENXIO] Error value returned by the module being popped. [ENXIO] A hangup was received on fildes .
streamio(7) streamio(7) [EAGAIN] A data structure to store the signal request could not be allocated. I_SRDOPT [EINVAL] arg contains an illegal value. I_STR [EINVAL] The ic_len field is less than 0 (zero) bytes or larger than the maximum allowable size of the data part of a message (ic_dp). [EINVAL] The ic_timeout field is less than −1. [EFAULT] arg points, or the buffer area specified by ic_dp or ic_len is, outside the allocated address space.
strlog(7) strlog(7) NAME strlog - STREAMS log driver DESCRIPTION The STREAMS log driver allows user-level processes and STREAMS drivers and modules to perform error logging and event tracing. These tasks are done via a user interface and a kernel interface. Further, the STREAMS log driver delivers error logging and event tracing messages to the Network Tracing and Logging Facility (NetTL) (see nettl (1M), netfmt (1M), and nettlconf (1M)).
strlog(7) strlog(7) User Interface User processes access the log driver with an open() call to /dev/strlog. Each open to the device will obtain a separate stream. After a process opens /dev/strlog, it indicates whether it is an error logger or trace logger.
strlog(7) strlog(7) if (flags & SL_WARN) if (flags & SL_NOTE) otherwise ====> ====> ====> WARNING INFORMATIVE ERROR all messages ====> INFORMATIVE else As a default, only DISASTER and ERROR messages are logged. This setting can be altered by the nettl command or the nettlconf command (see nettl (1M) and nettlconf (1M)). The STREAMS subsystem ID used by NetTL is STREAMS. The messages logged by NetTL facility can be formatted to a readable form by the netfmt command (see netfmt (1M)).
strlog(7) strlog(7) control.len = control.maxlen = sizeof(log); control.buf = (char *)&lc; data.len = data.maxlen = strlen(warning); data.buf = warning; lc.level = 2; lc.flags = SL_FATAL|SL_CONSOLE; putmsg(logfd, &control, &data, 0); The following examples illustrate how to use the NetTL facility for the STREAMS. See nettl (1M), netfmt (1M), nettlconf (1M) for the general NetTL usage. The STREAMS subsystem ID used by NetTL is STREAMS. The netfmt accepts a filter configuration file as a command argument.
sttyv6(7) sttyv6(7) NAME stty - terminal interface for Version 6/PWB compatibility REMARKS These facilities are included to aid in conversion of old programs, and should not be used in new code. Use the interface described in termio (7). Note that these conversions do not work for programs ported from UNIX Time-Sharing System, Seventh Edition (Version 7), because some V7 flags are defined differently.
sttyv6(7) HUPCL XTABS XTABS TBDELAY TBDELAY LCASE LCASE ECHO ECHO NOAL NOAL CRMOD CRMOD RAW RAW ODDP VTDELAY VTDELAY BSDELAY BSDELAY sttyv6(7) (if clear) clears the termio HUPCL flag; (if set) sets the termio TAB3 flag; (if clear) clears the termio TAB3 flag; (if set) sets the termio TAB1 flag; (if clear) clears the termio TAB1 flag; (if set) sets the termio IUCLC, OLCUC, and XCASE flags; (if clear) clears the termio IUCLC, OLCUC, and XCASE flags; (if set) sets the termio ECHO flag; (if clear) clears t
sttyv6(7) FFDLY BSDLY BSDLY sttyv6(7) (if clear) clears the sgttyb VTDELAY flag; (if set) sets the sgttyb BSDELAY flag; (if clear) clears the sgttyb BSDELAY flag. When using TIOCGETP, the termio CBAUD field is mapped into the ispeed and ospeed entries of the sgttyb structure. Also, the termio erase and kill characters are mapped into the erase and kill sgttyb entries.
TCP(7P) TCP(7P) NAME TCP - Internet Transmission Control Protocol SYNOPSIS #include #include #include s = socket(AF_INET, SOCK_STREAM, 0); s = socket(AF_INET6, SOCK_STREAM, 0); DESCRIPTION The TCP protocol provides reliable, flow-controlled, two-way transmission of data. It is a byte-stream protocol used to support the SOCK_STREAM socket type. TCP constructs virtual circuits between peer entities.
TCP(7P) TCP(7P) longer than the second threshold, TCP terminates the connection. The default value for this option is the current value of the ndd tunable tcp_ip_abort_cinterval. See ndd(1M) online help for details on the tcp_ip_abort_cinterval default value. If TCP_NODELAY is set, the system sends small amounts of output immediately rather than gathering them into a single packet after an acknowledgement is received.
TCP(7P) TCP(7P) SEE ALSO getsockopt(2), socket(2), send(2), recv(2), t_open(3), t_optmgmt(3), socket(7), inet(7F), ndd(1M).
tels(7) tels(7) NAME tels, telm - STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respectively SYNOPSIS #include #include int open("/dev/pts/tN", O_RDWR); DESCRIPTION A Telnet pseudo-terminal consists of a tightly-coupled pair of character devices, called the master device and slave device.
termio(7) termio(7) NAME termio, termios - general terminal interface DESCRIPTION All HP-UX asynchronous communications ports use the same general interface, regardless of what hardware is involved. Network connections such as rlogin (see rlogin (1) use the pseudo-terminal interface (see pty (7). This discussion centers around the common features of this interface. Opening a Terminal File When a terminal file is opened, it normally causes the process to wait until a connection is established.
termio(7) termio(7) blocking the SIGTTIN signal, or the process (on systems that implement vfork separately from fork ) has made a call to vfork (2) but has not yet made a call to exec (2), or the process group of the reading process is orphaned, read() returns −1 with errno set to EIO and no signal is sent. In all other cases where the read is denied, the process group of the reading process will be sent a SIGTTIN signal.
termio(7) termio(7) When the MAX_CANON limit is reached, all characters in the current undelimited line are discarded without notice. Erase and kill processing occur when any of three special characters, the ERASE, WERASE, or KILL characters (see Special Characters ), is received. This processing affects data in the input queue that has not yet been delimited by a NL, EOF, EOL, or EOL2 character. This undelimited data makes up the current line.
termio(7) termio(7) 2. Also note that in case A ( MIN > 0, TIME > 0 ), TIME represents an inter-character timer while in case C ( MIN = 0, TIME > 0 ), TIME represents a read timer. These two points highlight the dual purpose of the MIN/TIME feature. Cases A and B (where MIN > 0 ) exist to handle burst mode activity (such as file transfer programs) where a program would like to process at least MIN characters at a time.
termio(7) termio(7) waiting, (that is, the EOF occurred at the beginning of a line) a character count of zero is returned from read(), representing an end-of-file indication. If ICANON is enabled, the EOF character is discarded when processed. If ICANON is not enabled, the EOF character is treated as a normal data character. NL (ASCII LF) special character on input and is recognized if ICANON flag is enabled. It is the line delimiter (\n).
termio(7) termio(7) The special characters are assigned their default character values when the terminal port is opened. The default values used are those specified by the System V Interface Definition, Third Edition (SVID3), except for the WERASE (Ctrl-W) and LNEXT (Ctrl-V) characters which are set to _POSIX_VDISABLE to maintain binary compatibility with previous releases of HP-UX.
termio(7) KILL EOF EOL EOL2 MIN TIME SUSP START STOP WERASE LNEXT DSUSP termio(7) VKILL VEOF VEOL VEOL2 VMIN VTIME VSUSP VSTART VSTOP VWERASE VLNEXT VDSUSP @ Control-D NUL disabled NUL Control-D disabled Control-Q Control-S disabled disabled disabled termio Structure The termio structure has been superseded by the termios structure and is provided for backward compatibility with prior applications (see termio Caveats ). The structure is defined in the header file
termio(7) termio(7) If PARMRK is set, and IGNPAR is clear, a character with a framing or parity error (other than break) is read as the three-character sequence: \377, \0, X, where X is the data of the character received in error. To avoid ambiguity in this case, if ISTRIP is clear, a valid character of \377 is read as \377, \377. If both PARMRK and IGNPAR are clear, a framing or parity error (other than break) is read as the character \0. If INPCK is set, input parity checking is enabled.
termio(7) termio(7) water mark. When ICANON is set and the input stream contains more characters between line delimiters than the high water mark allows, there is no guarantee that IXOFF can prevent buffer overflow and data loss, because the STOP character may not be sent in time, if at all. If IMAXBEL is set, the ASCII BEL character is echoed if the input queue overflows. Further input is not stored, but any input present in the input queue is not discarded.
termio(7) termio(7) If a form-feed or vertical-tab delay is specified, it lasts for about 2 seconds. New-line delay lasts about 0.10 seconds. If ONLRET is set, carriage-return delays are used instead of the new-line delays. If OFILL is set, two fill characters are transmitted. Carriage-return delay type 1 depends on the current column position; type 2 is about 0.10 seconds; type 3 about 0.15 seconds. If OFILL is set, delay type 1 transmits two fill characters; type 2, four fill characters.
termio(7) termio(7) If CLOCAL is set, a connection does not depend on the state of the modem status lines. If CLOCAL is clear, the modem status lines are monitored. Under normal circumstances, a call to read() waits for a modem connection to complete. However, if either the O_NDELAY or the O_NONBLOCK flags are set or CLOCAL is set, the open() returns immediately without waiting for the connection.
termio(7) termio(7) When ICANON is set, canonical processing is enabled. This enables the erase and kill edit functions, and the assembly of input characters into lines delimited by NL, EOF, EOL and EOL2 as described in Canonical Mode Input Processing. Furthermore, the following echo functions are possible. If ECHO and ECHOE are set, the ERASE and WERASE characters are echoed as the three-character ASCII sequence BS SP BS, which clears the last character or word from the CRT screen.
termio(7) termio(7) VKILL KILL character MIN value QUIT character START character STOP character SUSP character DSUSP character TIME value LNEXT character VMIN VQUIT VSTART VSTOP VSUSP VDSUSP VTIME VLNEXT VQUIT VSTART VSTOP VSUSP VDSUSP VLNEXT termios Structure-Related Functions The following functions are provided when using the termios structure.
termio(7) termio(7) wait until output has drained flush input or output queue or both suspend or resume input or output get foreground process group id set foreground process group id get session id tcdrain() tcflush() tcflow() tcgetpgrp() tcsetpgrp() tcgetsid() System Asynchronous I/O IOCTL Commands The following ioctl() system calls provide for system asynchronous I/O and have the form: ioctl (fildes, command, arg) int *arg; Commands using this form are: FIOSSAIOSTAT If the integer referenced by ar
termio(7) TCFLSH termio(7) If arg is 0, flush the input queue; if 1, flush the output queue; if 2, flush both the input and output queues. If any other value is given for arg, the call returns −1 with errno set to [EINVAL]. The tcflush() function performs the same functions (see tcflush(3C)). Sending a BREAK is accomplished by holding the data transmit line at a SPACE or logical zero condition for at least 0.25 seconds.
termio(7) termio(7) To prohibit FIOSNBIO-style non-blocking I/O from interfering with the O_NONBLOCK and O_NDELAY flags (see open (2) and fcntl (2)), the functionality of O_NONBLOCK and O_NDELAY always supersedes the functionality of FIOSNBIO-style non-blocking I/O. This means that if either O_NONBLOCK or O_NDELAY is set, the driver performs read requests in accordance with the definition of O_NDELAY or O_NONBLOCK.
termio(7) termio(7) feature is easily tcgetpgrp (3C)). implemented using the function tcgetpgrp() (see If the ioctl() call fails, it returns −1 and sets errno to one of the following values: [EBADF] fildes is not a valid file descriptor. [ENOTTY] The file associated with fildes is not the controlling terminal, or the calling process does not have a controlling terminal.
termio(7) termio(7) Terminal Size IOCTL Commands The following ioctl() system calls are used to get and set terminal size information for the terminal referenced by fildes . These ioctl() system calls use the winsize structure to get and set the terminal size information. The winsize structure, defined in
termio(7) termio(7) The general terminal interface uses a system resource known as a cblock to store data being transmitted or received through a communications port. These cblocks are continuously used and freed for reuse as data pass through the system. If too few cblocks are configured in the system, the cblock pool may be temporarily or permanently exhausted, and data loss, system hangs, or reduced system performance can result.
termio(7) termio(7) Receive FIFO Trigger Level c c Level H = 2 0 1 0 1 1 4 8 14 1 0 0 1 1 0 0 1 0 1 1 4 8 12 One hexadecimal digit (4 bits) which controls diagnostic access and hardware flow control. Bit h 3 h 2 h 1 h Value Diagnostic telephony access Reserved Reserved Enables RTS/CTS hardware flow control 0 M = 3 0 0 1 1 Transmit Limit c c Limit One hexadecimal digit (4 bits) to determine the port access type.
termio(7) termio(7) Bit h 3 h 2 h 1 h Value Card diagnostic Port diagnostic Reserved Enables RTS/CTS hardware flow control 0 M = One hexadecimal digit (4 bits) for the port access type. Values for each bit are as follows: Bit m 3 m 2 m m 1 0 Value TI/ALP 0 = Simple protocol (U.S. ), 1 = CCITT protocol (Europe) 00 = Direct 01 = Dial-out modem 10 = Dial-in modem 11 = Invalid AUTHOR termios was developed HP and the IEEE Computer Society.
termiox(7) termiox(7) (HP-PB Only) NAME termiox - extended general terminal interface SYNOPSIS #include ioctl (int fildes , int request , struct termiox * arg) DESCRIPTION The extended general terminal interface supplements the termio (7) general terminal interface by adding support for asynchronous hardware flow control and local implementations of additional asynchronous features. Some systems may not support all of these capabilities because of hardware or software limitations.
termiox(7) termiox(7) (HP-PB Only) termiox Structure Related IOCTL Command The ioctl() system calls that reference the termiox structure have the form: ioctl (fildes, command, arg) struct termiox *arg; Commands using this form are: TCGETX The argument is a pointer to a termiox structure. The current terminal parameters are fetched and stored into that structure. TCSETX The argument is a pointer to a termiox structure. The current terminal parameters are set from the values stored in that structure.
timod(7) timod(7) NAME timod - STREAMS module for converting ioctl() calls into Transport Interface messages DESCRIPTION The timod module is a STREAMS module that converts ioctl() calls from a transport user supporting the Transport Interface (TI) into messages that a transport protocol provider supporting TI can consume. This allows the user to initiate certain TI functions as atomic operations. This release of HP-UX no longer automatically pushes timod whenever a t_open (3) is performed.
timod(7) timod(7) SEE ALSO ioctl(2), t_open(3), streamio(7), tirdwr(7).
tirdwr(7) tirdwr(7) NAME tirdwr - STREAMS module for reads and writes by Transport Interface users DESCRIPTION The tirdwr module is a STREAMS module that provides a transport user supporting the Transport Interface (TI) with an alternate interface to a transport protocol provider supporting TI. This alternate interface allows the transport user to communicate with the transport protocol provider using the read() and write() functions.
tty(7) tty(7) NAME tty - controlling terminal interface DESCRIPTION The file /dev/tty is, in each process, a synonym for the control terminal associated with the process group of that process, if any. It is useful for programs or shell sequences that need to be sure of writing messages on the terminal no matter how output has been redirected.
UDP(7P) UDP(7P) NAME UDP - Internet User Datagram Protocol SYNOPSIS #include #include #include s = socket(AF_INET, SOCK_DGRAM, 0); s = socket(AF_INET6, SOCK_DGRAM, 0); DESCRIPTION UDP is a simple, unreliable datagram protocol used to support the SOCK_DGRAM socket type for the internet protocol family. UDP sockets are connectionless, and are normally used with the sendto() and recvfrom() calls (see send (2) and recv (2).
UNIX(7P) UNIX(7P) NAME UNIX - local communication domain protocol SYNOPSIS #include #include DESCRIPTION The local communication domain protocol, commonly referred to in the industry as the Unix domain protocol, utilizes the path name address format and the AF_UNIX address family. This protocol can be used as an alternative to the Internet protocol family (TCP/IP or UDP/IP) for communication between processes executing on the same node.
vxfsio(7) vxfsio(7) NAME vxfsio - VxFS file system control functions SYNOPSIS #include #include int ioctl(int fildes, int cmd, ... /∗ arg ∗/); DESCRIPTION The vxfs ioctl (2) enhancements provide for extended control over open files. The argument fildes is an open file descriptor. The data type and value of arg are specific to the type of command specified by cmd. Unless specified, arg is treated as an int type.
vxfsio(7) vxfsio(7) size_t dev_t vi_align_offset; vi_block_device; /* adj for alignment calculations */ /* bdev number for this cdev */ An application that tries to do efficient direct I/O or discovered direct I/O should issue read requests that are equal to the product of vi_read_nstream multiplied by vi_read_preferred_io. Generally any multiple or factor of vi_read_nstream multiplied by vi_read_preferred_io should be a good size for performance.
vxfsio(7) vxfsio(7) VX_FSO_DELAYLOG Indicates that some system calls may return before the intent log is written. (See the delaylog mount option of mount_vxfs (1M)). VX_FSO_NODATAINLOG Indicates that intent logging of user data for synchronous writes is disabled. (See the nodatainlog mount option of mount_vxfs (1M)). VX_FSO_NOLOG Indicates that intent logging of structural changes to the file system is disabled. (See the nolog mount option of mount_vxfs (1M)).
vxfsio(7) vxfsio(7) If an I/O request fails to meet alignment criteria, the I/O request is performed as a data synchronous I/O operation. VX_DSYNC Indicates that data synchronous I/O mode is desired. In data synchronous I/O mode, a write operation returns to the caller after the data has been transferred to external media, but the inode is not updated synchronously if only the times in the inode need to be updated.
vxfsio(7) vxfsio(7) The reservation amount is independent of file size since reservation is used to preallocate space for a file. The a_flags element is used to indicate the type of reservation required. The choices are: VX_ALIGN Align all new extents on an ext_size boundary relative to the starting block of an allocation unit. If VX_CONTIGUOUS is also set, the single extent allocated during this invocation is not subject to the alignment restriction.
vxfsio(7) vxfsio(7) EXAMPLES The following example shows how application code can use VX_GETFSOPT to find out if a JFS file system was mounted with the -o delaylog option: int arg = 0; int fd; ioctl(fd, VX_GETFSOPT, &arg); if (arg & VX_FSO_DELAYLOG) { printf("FS mounted with delaylog option!\n"); } DIAGNOSTICS Operation failures can return any of the following values in errno: EACCESS The calling process does not have write access to the file specified by fildes.
xopen_networking(7) xopen_networking(7) NAME xopen_networking - X/Open Networking Interfaces DESCRIPTION X/Open has defined XTI, Sockets, and IP Address Resolution interfaces in X/Open CAE Specification, Networking Services, Issue 4 (UNIX 95) and X/Open CAE Specification, Networking Services, Issue 5 (UNIX 98). For a detailed description of these interfaces, please refer to the above specifications or to the book Go Solo , which is published by Prentice Hall.
zero(7) zero(7) NAME zero - zero file DESCRIPTION /dev/zero is a zero special file. Reads from a zero special file always return characters whose value is ’0’ (\0 characters). Data written on a zero special file is discarded or ignored. Seeks on a zero special file will always succeed. Private mmap() of a zero special file is allowed (see mmap(2)). Shared mmap() is not allowed. EXAMPLES In the following example, the buffer ‘buf’ is filled with ‘len’ \0 characters. fildes = open("/dev/zero",...
(Notes) A (Notes) zA Section 7−−212 Hewlett-Packard Company −1− HP-UX 11i Version 2: August 2003
Section 9 General Information
Section 9 General Information
intro(9) intro(9) NAME intro - introduction to HP-UX general information section DESCRIPTION This section contains general information about HP-UX, including an introduction to HP-UX and the operating system and a glossary of common HP-UX terms. SEE ALSO glossary(9), introduction(9). Web access to HP-UX documentation at http://docs.hp.com.
glossary(9) glossary(9) NAME glossary - description of common HP-UX terms DESCRIPTION HP-UX and other UNIX-like systems use a specialized vocabulary in which certain words and terms have very specific meanings. This glossary is intended as an aid in promoting exactness in use of these specialized terms whose meanings sometimes differ from those that might be encountered in other environments. References to other HP-UX documentation are included as appropriate.
glossary(9) glossary(9) In a text editor (such as vi, ex, ed, or sed), an address locates the line in a file on which a given instruction is intended. For adb, the address specifies at what assembly-language instruction to execute a given command. In disk utilities such as fsdb, address might refer to a raw or block special file, the inode number, volume header, or other file attribute.
glossary(9) glossary(9) computer’s hardware, find all devices accessible through the computer, and then load either a specified operating system or the first operating system found according to a specific search algorithm. A bA bus address A number which makes up part of the address HP-UX uses to locate a particular device. The bus address is determined by a switch setting on a peripheral device which allows the computer to distinguish between two devices connected to the same interface.
glossary(9) glossary(9) Command Set 1980 See CS/80. composite graphic symbol A graphic symbol consisting of a combination of two or more other graphic symbols in a single character position, such as a diacritical mark and a basic letter. control character A character other than a graphic character that affects the recording, processing, transmission, or interpretation of text. In the ASCII character set, control characters are those in the range 0 through 31, and 127.
glossary(9) glossary(9) defunct process See zombie process. A dA delta A term used in the Source Code Control System (SCCS) to describe a unit of one or more textual changes to an SCCS file. Each time an SCCS file is edited, changes made to the file are stored separately as a delta. The get (1) command is then used to specify which deltas are to be applied to or excluded from the SCCS file, thus yielding a particular version of the file.
glossary(9) glossary(9) process appear to be the file’s owner, enabling the process to access files which must be accessed in order for the program to execute successfully. (Many HP-UX commands which are owned by root, such as mkdir and mail, have their set-user-ID bit set so other users can execute these commands.) If the file’s set-user-ID bit is not set, the process’s effective user ID is inherited from that process’s parent. See real user ID and set-user-ID bit.
glossary(9) glossary(9) Read, write, and execute/search permissions on a file are granted to a process if any of the following conditions are met: • The process’s effective user ID is superuser. • The process’s effective user ID matches the user ID of the owner of the file and the appropriate access bit of the owner portion (0700) of the file mode is set.
glossary(9) file pointer glossary(9) A data element obtained through any of the fopen (3S) standard I/O library routines that ‘‘points to’’ (refers to) a file opened for reading and/or writing, and which keeps track of where the next I/O operation will take place in the file (in the form of a byte offset relative to the beginning of the file). After obtaining the file pointer, it must thereafter be used to refer to the open file when using any of the standard I/O library routines.
glossary(9) glossary(9) your group in the file’s mode, you can access the file. When the identity of a group is associated with a process, a group ID value is referred to as a real group ID, an effective group ID, a supplementary group ID, or a saved group ID. See also privileged group and set-group-ID bit. group access list A set of supplementary group IDs used in determining resource accessibility. Access checks are performed as described in file access permissions.
glossary(9) intrinsic glossary(9) See system call. I/O redirection A mechanism provided by the HP-UX shell for changing the source of data for standard input and/or the destination of data for standard output and standard error. See sh(1). ITE See Internal Terminal Emulator. job control Job control allows users to selectively stop (suspend) execution of processes and continue (resume) their execution at a later time.
glossary(9) glossary(9) Logical Interchange Format (LIF) A standard format for mass storage implemented on many Hewlett-Packard computers to aid in media transportability. See lif (4) for more detail. login The process of gaining access to HP-UX. This consists of successful execution of the login sequence defined by login (1), which varies depending on the system configuration. It requests a login name and possibly one or more passwords.
glossary(9) glossary(9) operation is indicated for each operation. Whether a particular process has these permissions for an object is determined by the object’s permission mode bits as follows: 00400 00200 00060 00006 Read by user Write by user Read, Write by group Read, Write by others Read and Write permissions on a msqid are granted to a process if one or more of the following are true: • The process’s effective user ID is superuser. • The process’s effective user ID matches msg_perm.
glossary(9) glossary(9) /etc/inittab. Do not confuse the multiuser system with the multiuser state. A multiuser system is a system which can have more than one user actively communicating with the system when it is in the multiuser state. The multiuser state removes the single-user restriction imposed by the single-user state (see single-user state, inittab (4)).
glossary(9) glossary(9) parent process Whenever a new process is created by a currently-existing process (via fork (2)), the currently existing process is said to be the parent process of the newly created process. Every process has exactly one parent process (except the init process, see init), but each process can create several new processes with the fork (2) system call. The parent process ID of any process is the process ID of its creator.
glossary(9) glossary(9) pipe An interprocess I/O channel used to pass data between two processes. It is commonly used by the shell to transfer data from the standard output of one process to the standard input of another. On a command line, a pipe is signaled by a vertical bar (|). Output from the command to the left of the vertical bar is channeled directly into the standard input of the command on the right.
glossary(9) glossary(9) control and address space exist until it terminates. It then enters an inactive state where certain resources may be returned to the system, although some resources, such as the process ID are still in use. When another process executes a wait(), wait3(), or waitpid() function (see wait (2)) for an inactive process, the remaining resources are returned to the system. The last resource to be returned to the system is the process ID. At this time, the lifetime of the process ends.
glossary(9) glossary(9) relative path name A path name that does not begin with a slash (/). It indicates that a file’s location is given relative to your current working directory, and that the search begins there (instead of at the root directory). For example, dir1/file2 searches for the directory dir1 in your current working directory; then dir1 is searched for the file file2. root directory (1) The highest level directory of the hierarchical file system, from which all other files branch.
glossary(9) glossary(9) the shell variable PS2 appropriately in your .profile file. (The C shell has no secondary prompt.) select code On Series 700 systems, part of an address used for devices. Multiple peripherals connected to the same interface card share the same select code. On Series 700 systems, select code consists of the bus and slot numbers for a device, both of which are determined by the particular I/O slot in which the I/O card resides.
glossary(9) glossary(9) • The process’s effective user ID does not match sem_perm.[c]uid and the appropriate bit of the ‘‘group’’ portion (060) of sem_perm.mode is set. • The process’s effective user ID does not match sem_perm.[c]uid and the process’s effective group ID does not match sem_perm.[c]gid and neither of sem_perm.[c]gid is in the process’s group access list and the appropriate bit of the ‘‘other’’ portion (06) of sem_perm.mode is set. Otherwise, the corresponding permissions are denied.
glossary(9) glossary(9) shm_segsz specifies the size of the shared memory segment. shm_cpid is the process id of the process that created the shared memory identifier. shm_lpid is the process id of the last process that performed a shmop (2) operation. shm_nattch is the number of processes that currently have this segment attached.
glossary(9) glossary(9) solidus See slash. source code The fundamental high-level information (program) written in the syntax of a specified computer language. Object (machine-language) code is derived from source code. When dealing with an HP-UX shell command language, source code is input to the command language interpreter. The term shell script is synonymous with this meaning. When dealing with the C Language, source code is input to the cc(1) command.
glossary(9) glossary(9) Subset 1980 See CS/80. superblock A block on each file system’s mass storage medium which describes the file system. The contents of the superblock vary between implementations. Refer to the system administrator manuals supplied with your system for details. superuser The HP-UX system administrator. This user has access to all files, and can perform privileged operations. superuser has a real user ID and effective user ID of 0, and, by convention, the user name of root.
glossary(9) glossary(9) becomes a process group leader via the setpgrp (2) system call, its terminal affiliation is broken. See process group, process group leader, terminal group, and setpgrp (2). terminal device See terminal. text file A file that contains characters organized into one or more lines. The lines cannot contain NUL characters, and none can exceed LINE_MAX bytes in length including the terminating newline character.
introduction(9) introduction(9) NAME introduction - introduction to the HP-UX operating system and the HP-UX Reference INTRODUCTION HP-UX is the Hewlett-Packard Company’s implementation of an operating system that is compatible with various industry standards. It is based on the UNIX System V Release 4 operating system and includes important features from the Fourth Berkeley Software Distribution.
introduction(9) introduction(9) Section 1: User Commands Programs that are usually invoked directly by users or from command language procedures (scripts). Section 1M: System Administration Commands Commands used for system installation and maintenance, including boot processes, crash recovery, system integrity testing, and other needs. Most commands in this section require the superuser privilege. A A Section 2: System Calls Entries into the HP-UX kernel, including the C-language interface.
introduction(9) introduction(9) it is unwise to have files names that begin with -, +, or =. DESCRIPTION Discusses the function and behavior of each entry. EXTERNAL INFLUENCES Information under this heading pertains to programming for various spoken languages. Typical entries indicate support for single- or multibyte characters, the effect of language-related environment variables on system behavior, and other related information.
introduction(9) introduction(9) XPG3 X/Open Portability Guide Issue 3 (X/Open, Ltd.) XPG4 X/Open Portability Guide Issue 4 (X/Open, Ltd.) XPG4.2 X/Open Portability Guide Issue 4 (X/Open, Ltd.) Version 2 GETTING STARTED WITH HP-UX This is a very brief overview of how to use the HP-UX system: how to log in and log out, how to communicate through your machine, and how to run a program. A A HP-UX uses control characters to perform certain functions.
introduction(9) intr quit ^? (DEL; Delete, Rub, Rubout) ^\ (FS) start stop ˆQ (DC1; X-ON) ^S (DC3; X-OFF) introduction(9) ^C (ETX) The eof character terminates "file" input from the terminal, as read by programs and scripts. By extension, eof can also terminate the shell (see the Logging Out subsection above). The kill character deletes all characters typed before it on a terminal input line. The erase character erases the last character typed.
introduction(9) introduction(9) or working directory, and any file name you type is assumed to be in that directory by default. Because you are the owner of this directory, you have full permission to read, write, alter, or destroy its contents. The permissions you have for other directories and files will have been granted or denied to you by their respective owners, or by the system administrator. To change the current working directory use cd(1).
introduction(9) introduction(9) ACKNOWLEDGEMENTS UNIX is a registered trademark of The Open Group. SEE ALSO cat(1), cc_bundled(1), cd(1), chsh(1), cp(1), csh(1), ed(1), ex(1), ksh(1), ld(1), login(1), lp(1), ls(1), mail(1), mailx(1), man(1), mkdir(1), more(1), mv(1), passwd(1), pr(1), rm(1), rmdir(1), sed(1), sh(1), sh-posix(1), stty(1), tabs(1), vi(1), write(1), a.out(4), profile(4), glossary(9). Web access to HP-UX documentation at http://docs.hp.com.
(Notes) (Notes) A A Section 9−−32 Hewlett-Packard Company −1− HP-UX 11i Version 2: August 2003
Index All Volumes
Index All Volumes
Index All Volumes Description Entry Name(Section) ( - execute commands in separate shell ............................................................................................. sh-posix(1) (( - evaluate arithmetic expression ................................................................................................... sh-posix(1) (generic), extend a file system size ................................................................................................. extendfs(1M) . ..................
Index All Volumes Description Entry Name(Section) access control list (ACL) information, set ............................................................................................... setacl(2) access control list (ACL) structure, convert to string form ................................................................ acltostr(3C) access control list (ACL) structure, convert string to ........................................................................
Index All Volumes Description Entry Name(Section) accounting summary files, create periodic ......................................................................................... acctsh(1M) accounting when available disk space reaches threshold, suspend and resume ......................... acctsuspend(5) accounting: acctcms - command summary from per-process accounting records .......................... acctcms(1M) accounting: acctcon1 - convert login/logoff records to per-session accounting records ....
Index All Volumes Description Entry Name(Section) acosf() - arccosine function (float) ...................................................................................................... acos(3M) acosh() - arc hyperbolic cosine function ............................................................................................ acosh(3M) acoshf() - arc hyperbolic cosine function (float) ...............................................................................
Index All Volumes Description Entry Name(Section) addsev() - define additional severities ............................................................................................ addsev(3C) addstr() - add a string of multi-byte characters without rendition to a window and advance cursor ....................................................................................................................... addnstr(3X) addwstr() - add a wide-character string to a window and advance the cursor .............
Index All Volumes Description Entry Name(Section) alias database ............................................................................................................................................. elm(1) alias file, create sendmail .............................................................................................................. sendmail(1M) alias - substitute command and/or file name ...................................................................................
Index All Volumes Description Entry Name(Section) annuityw() - present value factor for annuity (extended) ............................................................. annuity(3M) anonymous memory region, initialize semaphore in mapped file or ............................................... msem_init(2) anonymous region, remove semaphore in mapped file or ........................................................ msem_remove(2) another system over LAN, log in on ..............................................
Index All Volumes Description Entry Name(Section) array of complex characters and renditions, input from a window ............................................ in_wchnstr(3X) array of single-byte characters and renditions, input from a window ............................................. inchnstr(3X) array of wide characters and function key codes, get from a terminal ......................................... getn_wstr(3X) array, sort a directory pointer ......................................................
Index All Volumes Description Entry Name(Section) atan2df() - degree-valued arctangent-and-quadrant function (float) ............................................. atan2d(3M) atan2dl() - degree-valued arctangent-and-quadrant function (long double) ................................. atan2d(3M) atan2dq() - degree-valued arctangent-and-quadrant function (quad) ............................................ atan2d(3M) atan2dw() - degree-valued arctangent-and-quadrant function (extended) ............................
Index All Volumes Description Entry Name(Section) audio control panel ............................................................................................................................ see audio(5) audio editor, ...................................................................................................................................... see audio(5) audio file and data formats ...............................................................................................................
Index All Volumes Description Entry Name(Section) authsys_default() - library routines for client side remote procedure call authenticationrpc_clnt_auth(3N) authunix_create() - obsolete library routines for RPC ............................................................... rpc_soc(3N) authunix_create_default() - obsolete library routines for RPC .............................................. rpc_soc(3N) auth_destroy() - library routines for client side remote procedure call authentication ...
Index All Volumes Description Entry Name(Section) big diff ....................................................................................................................................................... bdiff(1) bill fee to user based on system usage ................................................................................................ acctsh(1M) binary directories, install object files in ...............................................................................................
Index All Volumes Description Entry Name(Section) bootconf - boot device configuration table ...................................................................................... bootconf(4) BOOTP server, send BOOTREQUEST to .................................................................................. bootpquery(1M) bootpd - Internet Boot Protocol server .............................................................................................
Index All Volumes Description Entry Name(Section) bytes in a file, count ..................................................................................................................................... wc(1) bytes on a single System V IPC message queue, maximum number of .............................................. msgmnb(5) bytes, get number of bytes in a character ..........................................................................................
Index All Volumes Description Entry Name(Section) calling process, suspend ...................................................................................................................... napms(3X) calloc() - allocate memory for array ............................................................................................... malloc(3C) callrpc() - obsolete library routines for RPC ................................................................................
Index All Volumes Description Entry Name(Section) catanhw() - complex arc hyperbolic tangent function (extended) ................................................... catanh(3M) catanl() - complex arctangent function (long double) ...................................................................... catan(3M) catanq() - complex arctangent function (quad) ................................................................................. catan(3M) catanw() - complex arctangent function (extended) ..............
Index All Volumes Description Entry Name(Section) cexpq() - complex exponential function (quad) ................................................................................... cexp(3M) cexpw() - complex exponential function (extended) ............................................................................. cexp(3M) cfgetispeed() - get tty input baud rate ........................................................................................ cfspeed(3C) cfgetospeed() - get tty output baud rate ....
Index All Volumes Description Entry Name(Section) change, access, and/or modification times of a file, update ..................................................................... touch(1) changer device driver, SCSI media ............................................................................................. autochanger(7) changes NIS information ...............................................................................................................
Index All Volumes Description Entry Name(Section) characters, translate to upper-case, lower-case, or 7-bit ASCII ............................................................. conv(3C) characters, wide, input a string of, from a window .......................................................................... innwstr(3X) CHARADV() - get character and advance pointer to next character ............................................ nl_tools_16(3X) CHARAT() - get value of 8- or 16-bit character .................
Index All Volumes Description Entry Name(Section) cimagw() - complex imaginary-part function (extended) .................................................................. cimag(3M) circuit, X.25 switched virtual, clear ..................................................................................................... clrsvc(1M) cis() - cosine plus i times sine ................................................................................................................
Index All Volumes Description Entry Name(Section) clnt_geterr() - library routines for client side calls ........................................................ rpc_clnt_calls(3N) clnt_pcreateerror() - library routines for dealing with CLIENT handles ................. rpc_clnt_create(3N) clnt_perrno() - library routines for client side calls ........................................................ rpc_clnt_calls(3N) clnt_perror() - library routines for client side calls ....................................
Index All Volumes Description Entry Name(Section) col - filter reverse line-feeds and backspaces from text .............................................................................. col(1) collating element ................................................................................................................................ glossary(9) collation ..............................................................................................................................................
Index All Volumes Description Entry Name(Section) communication facilities, interprocess, report status .............................................................................. pipcs(1) communication identifier, create interprocess ......................................................................................... ftok(3C) communication, create an endpoint for .................................................................................................
Index All Volumes Description Entry Name(Section) complex characters and renditions, input an array of, from a window ...................................... in_wchnstr(3X) complex - complex functions and macros .......................................................................................... complex(5) Complex Configuration Data, unlock .......................................................................................... parunlock(1M) complex conjugate functions ...............................
Index All Volumes Description Entry Name(Section) configuration file for tcpd ................................................................................................................ tcpd.conf(4) configuration file for the name-service switch .......................................................................... nsswitch.conf(4) configuration file for the SNMP agent .......................................................................................... snmpd.
Index All Volumes Description Entry Name(Section) connection, send data (X/OPEN TLI-XTI) ............................................................................................... t_snd(3) connections on a socket, listen for ........................................................................................................... listen(2) connectivity, verify LAN with link-level loopback ..........................................................................
Index All Volumes Description Entry Name(Section) control input character delay mode ............................................................................................... halfdelay(3X) control kernel logging ................................................................................................................................. kl(1M) control network tracing and logging ......................................................................................................
Index All Volumes Description Entry Name(Section) convert per-session records to total accounting records ................................................................... acctcon(1M) convert single-byte to wide-character .................................................................................................. btowc(3C) convert spelling reference list words to 9-digit hash codes for spell ...................................................... spell(1) convert string data order ...................
Index All Volumes Description Entry Name(Section) copysignl() - copysign function (long double) ............................................................................ copysign(3M) copysignq() - copysign function (quad) ...................................................................................... copysign(3M) copysignw() - copysign function (extended) ............................................................................... copysign(3M) copywin() - copy a region of window ...............
Index All Volumes Description Entry Name(Section) crash dump, open for reading ............................................................................................................. cr_open(3) crash dump, read from ........................................................................................................................ cr_read(3) crash dump, uncompress a file in ...........................................................................................
Index All Volumes Description Entry Name(Section) create special and FIFO files ............................................................................................................. mknod(1M) create the cat files for the manual .................................................................................................... catman(1M) create user crontab file ........................................................................................................................
Index All Volumes Description Entry Name(Section) ctan() - complex tangent function ....................................................................................................... ctan(3M) ctanf() - complex tangent function (float) ........................................................................................... ctan(3M) ctanh() - complex hyperbolic tangent function .................................................................................
Index All Volumes Description Entry Name(Section) c_colwidth() , C_COLWIDTH() - test for valid first byte in 16-bit character ........................... nl_tools_16(3X) daemon debug utility used by DDFA software, outbound connection ............................................. ocdebug(1M) daemon for modifying Network Information Service passwd database .................................... yppasswdd(1M) daemon .................................................................................................
Index All Volumes Description Entry Name(Section) data unit, send to transport user (X/OPEN TLI-XTI) .................................................................... t_sndudata(3) data, expand or compress ................................................................................................................. compress(1) data, get character or word from a stream file ........................................................................................ getc(3S) data, lock in memory ...........
Index All Volumes Description Entry Name(Section) dbminit() - open a single database (old single-data-base version) ...................................................... dbm(3X) dbm_clearerr() - reset error condition on named database ............................................................. ndbm(3X) dbm_close() - close an open database ............................................................................................... ndbm(3X) dbm_delete() - delete a database key and associated contents ..
Index All Volumes Description Entry Name(Section) default search path ............................................................................................................................ glossary(9) default stacksize, change ........................................................................... pthread_default_stacksize_np(3T) default - system default database file for a trusted system ...............................................................
Index All Volumes Description Entry Name(Section) delta from an SCCS file, remove a .......................................................................................................... rmdel(1) delta ................................................................................................................................................... glossary(9) delta - make a delta (change) to an SCCS file .......................................................................................
Index All Volumes Description Entry Name(Section) ............................................................................................................................. gss_compare_name(3) determine who is logged in on local network machines ......................................................................... rusers(1) determined locality domain IDs .................................................................... pthread_processor_bind_np(3T) determined processor IDs ........................
Index All Volumes Description Entry Name(Section) diag0 - diagnostic interface to I/O subsystem ........................................................................................ diag0(7) diag1 - diagnostic interface to I/O subsystem ........................................................................................ diag1(7) diag2 - diagnostic interface ....................................................................................................................
Index All Volumes Description Entry Name(Section) directory, get entries in a file-system-independent format ........................................................ getdirentries(2) directory, get pathname of current working ........................................................................................ getwd(3C) directory, make an EFI .................................................................................................................
Index All Volumes Description Entry Name(Section) disk accounting data of VxFS file system , disk usage by user ID .................................................... diskusg(1M) disk accounting data, disk usage by user ID .................................................................................... diskusg(1M) disk accounting, perform ....................................................................................................................
Index All Volumes Description Entry Name(Section) display (print) formatted arguments ...................................................................................................... printf(1) display address resolution ....................................................................................................................... arp(1M) display and update information about top processes on system ..................................................................
Index All Volumes Description Entry Name(Section) dlpi_ext.h - HP specific extensions for DLPI ................................................................................. dlpi_ext(4) dlsym() - get address of symbol in shared object ............................................................................... dlsym(3C) DMA pool, the amount of memory to reserve for the 32-bit ................................................
Index All Volumes Description Entry Name(Section) double-precision number, convert wide character string to ............................................................... wcstod(3C) doupdate() , refresh() , wnoutrefresh(), wrefresh() - refresh windows and lines .......... doupdate(3X) download new firmware to disks and controllers ........................................................................... amdload(1M) downshifting .............................................................................
Index All Volumes Description Entry Name(Section) dupwin() - duplicate a window ........................................................................................................ dupwin(3x) dynamic dependencies of executable files, list ............................................................................................. ldd(1) Dynamic DNS update utility ............................................................................................................
Index All Volumes Description Entry Name(Section) ELF - executable and linking format object files ....................................................................................... elf(3E) ELF files, set fill byte for ..................................................................................................................... elf_fill(3E) ELF library error handling .............................................................................................................
Index All Volumes Description Entry Name(Section) emulate /usr/share/lib/termcap access routines ............................................................................... termcap(3X) emulate PA-RISC applications on Itanium-based system ........................................................................ aries(5) Emulation module, STREAMS pty ...........................................................................................................
Index All Volumes Description Entry Name(Section) endservent() - end service entry ............................................................................................. getservent(3N) endservent_r() - end service entry (thread-safe) ................................................................... getservent(3N) endspent() - close currently open secure password file ...............................................................
Index All Volumes Description Entry Name(Section) equivalently mapped reserve pool, determines the minimum size (in pages) of the ...................... eqmemsize(5) erase and reinitialize mass storage media (use -r option) ............................................................... mediainit(1) erase character .......................................................................................................................... erasewchar(3X) erase character, single-byte ............................
Index All Volumes Description Entry Name(Section) examine and change signal action .................................................................................................... sigaction(2) examine and change signal action ........................................................................................................ sigwait(2) examine and change the signal mask of the calling thread ............................................. pthread_sigmask(3T) examine pending signals ...................
Index All Volumes Description Entry Name(Section) exp10() - base-10 exponential function ............................................................................................. exp10(3M) exp10f() - base-10 exponential function (float) ................................................................................. exp10(3M) exp10l() - base-10 exponential function (long double) .....................................................................
Index All Volumes Description Entry Name(Section) extract error messages from C source into a file ..................................................................................... mkstr(1) extract mantissa and exponent from floating-point number ................................................................ frexp(3M) extract non-repeated lines from a file ....................................................................................................... uniq(1) extract portions of path names ....
Index All Volumes Description Entry Name(Section) fegettrapenable() - get exception trap enables .......................................................... fegettrapenable(3M) feholdexcept() - save floating-point environment ............................................................. feholdexcept(3M) feof() - check for end-of-file error on stream .................................................................................... ferror(3S) feof_unlocked() - stream status inquiries .......................
Index All Volumes Description Entry Name(Section) file descriptor: detach a name from a STREAMS-based file descriptor ............................................. fdetach(3C) file descriptor: detach a STREAMS-based file descriptor ................................................................. fdetach(1M) file descriptor: duplicate an open file descriptor ........................................................................................
Index All Volumes Description Entry Name(Section) file on remote node, get file handle for ..................................................................................................... getfh(2) file or anonymous memory region, initialize semaphore in mapped ............................................... msem_init(2) file or anonymous region, remove semaphore in mapped ........................................................ msem_remove(2) file other class ...........................................
Index All Volumes Description Entry Name(Section) file system, construct an HFS ......................................................................................................... mkfs_hfs(1M) file system, construct new .................................................................................................................... newfs(1M) file system, construct VxFS ...........................................................................................................
Index All Volumes Description Entry Name(Section) file, change owner or group ................................................................................................................... chown(1) file, change system configuration ......................................................................................................... ch_rc(1M) file, configuration, for pluggable authentication module .................................................................. pam.
Index All Volumes Description Entry Name(Section) file: access wtmp() or utmp() file ........................................................................................................ getut(3C) file: change file mode access permissions .............................................................................................. chmod(1) file: change owner and group .................................................................................................................
Index All Volumes Description Entry Name(Section) files, move file to new location ..................................................................................................................... mv(1) files, move multiple files to another directory .............................................................................................. mv(1) files, non-POSIX standard API interfaces to support large .................................................................
Index All Volumes Description Entry Name(Section) files: list access rights to file(s) ......................................................................................................... getaccess(1) files: make a delta (change) to an SCCS file ............................................................................................. delta(1) files: make unprintable and non-ASCII characters in a file visible or invisible ...........................................
Index All Volumes Description Entry Name(Section) findstr - find strings for inclusion in message catalogs ..................................................................... findstr(1) finger, change information in password file ........................................................................................... chfn(1) finger - user information lookup program ...........................................................................................
Index All Volumes Description Entry Name(Section) floorq() - floor function (quad) .......................................................................................................... floor(3M) floorw() - floor function (extended) .................................................................................................... floor(3M) floppy - flexible or ‘‘floppy’’ disk device driver .....................................................................................
Index All Volumes Description Entry Name(Section) Format description, DOS Interchange ...................................................................................................... dosif(4) format - format an HP SCSI disk array LUN .................................................................................... format(1M) format mathematical text for nroff ........................................................................................................... neqn(1) format of a CDFS cdnode .
Index All Volumes Description Entry Name(Section) fread_unlocked() - buffered binary input/output to a stream file .................................................... fread(3S) frecover - selectively recover files from backup media ................................................................ frecover(1M) free a per-process timer ................................................................................................................... rmtimer(3C) free disk blocks on a VxFS file system .........
Index All Volumes Description Entry Name(Section) fstatvfs64() - non-POSIX standard API interfaces to support large files ...................................... creat64(2) fstatvfsdev() , statvfsdev() - get file system statistics ...................................................... statvfsdev(3C) fstatvfsdev64() - file system API to support large files ........................................................... fgetpos64(3S) fstyp - determine file system type ..............................................
Index All Volumes Description Entry Name(Section) functions, for line update status ................................................................................................. redrawwin(3X) functions, for pad management ........................................................................................................ newpad(3X) functions, misc NIS+ ..................................................................................................................
Index All Volumes Description Entry Name(Section) generate uniformly distributed pseudo-random numbers ............................................................... drand48(3C) generator, simple random-number ........................................................................................................ rand(3C) generator, strong random number ...................................................................................................... random(7) generic file system debugger .............
Index All Volumes Description Entry Name(Section) get login name .................................................................................................................................... logname(1) get mounted file system statistics ............................................................................................................. ustat(2) get mutex spin and yield frequency attributes ........................................
Index All Volumes Description Entry Name(Section) get: entries from name list ...................................................................................................................... nlist(3E) get: entry from group() file ........................................................................................................... getgrent(3C) get: file size limits and break value, get or set .......................................................................................
Index All Volumes Description Entry Name(Section) gethostent() - get network host entry .................................................................................... gethostent(3N) gethostent_r() - get network host entry (thread-safe) .......................................................... gethostent(3N) gethostid() - get an identifier for the current host ...................................................................... gethostid(2) gethostname() − get name of current host ..................
Index All Volumes Description Entry Name(Section) getpwent() - get next password file entry ................................................................................... getpwent(3C) getpwnam() - get password file entry matching login name name() ........................................... getpwent(3C) getpwuid() - get password file entry matching uid() ................................................................ getpwent(3C) getresgid() - get group ID .............................................
Index All Volumes Description Entry Name(Section) getutxid() - get pointer to entry matching id() in a utmpx() file ................................................ getutx(3C) getutxline() - get pointer to entry matching line() in a utmpx() file ....................................... getutx(3C) getw() - get data word (integer) from a stream file ............................................................................... getc(3S) getwc() - get a wide character from a stream file ........................
Index All Volumes Description Entry Name(Section) group ID, set process group ID ............................................................................................................ setpgrp(2) group ID: get real or effective group ID .................................................................................................. getuid(2) group ID: set group ID ............................................................................................................................
Index All Volumes Description Entry Name(Section) gss_import_sec_context() - transfer a security context to another process on a single machine ..................................................................................................................... gss_import_sec_context(3) gss_indicate_mechs() - allow application to determine which underlying security mechanisms are available ........................................................................................................
Index All Volumes Description Entry Name(Section) has_colors() - color manipulation functions .............................................................. can_change_color(3X) has_ic() - query functions for terminal insert and delay capability ................................................ has_ic(3X) has_il() - query functions for terminal insert and delay capability ................................................ has_ic(3X) havedisk() - get performance data from remote kernel .........................
Index All Volumes Description Entry Name(Section) host entry, get, set, or end network ............................................................................................. gethostent(3N) host is Network Information System server or map master, list which ............................................. ypwhich(1) host name ...........................................................................................................................................
Index All Volumes Description Entry Name(Section) HPPACSUBD() - HP 3000-mode packed-decimal library ...................................................................... hppac(3X) hpux - HP-UX bootstrap and installation utility .................................................................................. hpux(1M) HPUX scheduling policy ........................................................................................................................
Index All Volumes Description Entry Name(Section) id - print user and group IDs and names ..................................................................................................... id(1) ID to file path, map device ..................................................................................................................... devnm(3) ID, create session and set process group ................................................................................................
Index All Volumes Description Entry Name(Section) impi driver ................................................................................................................................................ ipmi(7) implementation-specific constants .......................................................................................................... limits(5) implementations, HP-UX, magic numbers for .........................................................................................
Index All Volumes Description Entry Name(Section) information about LVM logical volumes, display ........................................................................... lvdisplay(1M) information about physical volumes in LVM volume group, display ............................................ pvdisplay(1M) information about resource utilization, get .....................................................................................
Index All Volumes Description Entry Name(Section) innstr() - input a multi-byte character string from a window ......................................................... innstr(3X) innwstr() - input a string of wide characters from a window ....................................................... innwstr(3X) inode generation numbers, install random ....................................................................................... fsirand(1M) inode .........................................................
Index All Volumes Description Entry Name(Section) installation and bootstrap utility, HP-UX ............................................................................................ hpux(1M) instr() - input a multi-byte character string from a window ........................................................... innstr(3X) ins_nwstr() - insert a wide-character string into a window ......................................................
Index All Volumes Description Entry Name(Section) Internet user name directory service ...................................................................................................... whois(1) Internet, send mail over the .......................................................................................................... sendmail(1M) interpret ASA carriage control characters ..................................................................................................
Index All Volumes Description Entry Name(Section) IP Multicast - Internet Protocol ............................................................................................................ IP(7P) IP Multicast - Internet Protocol, version 6 .......................................................................................... IP6(7P) IP multicast routing daemon ..........................................................................................................
Index All Volumes Description Entry Name(Section) is_linetouched() - window refresh control functions ..................................................... is_linetouched(3X) is_wintouched() - window refresh control functions ....................................................... is_linetouched(3X) Itanium-based system disks, create partitions for ................................................................................ idisk(1M) Itanium-based system, emulate PA-RISC applications on ................
Index All Volumes Description Entry Name(Section) kernel panic occurs, defines which classes of kernel memory pages are dumped when a .......... alwaysdump(5) kernel panic, dumps memory pages, compressed or uncompressed ............................... dump_compress_on(5) kernel registry services daemon ............................................................................................................ krsd(1M) kernel registry services data, flush to disk .............................................
Index All Volumes Description Entry Name(Section) kills the sendmail daemon .................................................................................................................. killsm(1M) killsm - kills the sendmail daemon .................................................................................................. killsm(1M) killwchar() - current line kill character ................................................................................
Index All Volumes Description Entry Name(Section) lc − list directory contents ............................................................................................................................. ls(1) lckpwdf() - control access to /etc/passwd and /etc/shadow file ...................................................... lckpwdf(3C) ld - link editor ...............................................................................................................................................
Index All Volumes Description Entry Name(Section) library routines for client side remote procedure call authentication ................................... rpc_clnt_auth(3N) library routines for creation and manipulation of CLIENT handles .................................. rpc_clnt_create(3N) library routines for dealing with creation and manipulation of CLIENT handles ............. rpc_clnt_create(3N) library routines for external data representation ........................................................
Index All Volumes Description Entry Name(Section) line printer ........................................................................................................................................... see printer line printer spooling system ........................................................................................................................ see LP line printer spooling system ...............................................................................................................
Index All Volumes Description Entry Name(Section) list contents of directory ................................................................................................................................. ls(1) list contents of DOS directories ................................................................................................................. dosls(1) list current processes ........................................................................................................................
Index All Volumes Description Entry Name(Section) local file system mount statistics ............................................................................................................ rmtab(4) local file system, restore incrementally ......................................................................................... vxrestore(1M) local host, authorizing access from remote hosts and users .......................................................... hosts.
Index All Volumes Description Entry Name(Section) log files, remove outdated STREAMS error log files ....................................................................... strclean(1M) log gamma functions ........................................................................................................................ lgamma(3M) log in on another system over LAN ................................................................................................................ vt(1) log in to system ....
Index All Volumes Description Entry Name(Section) logical volumes, split mirrored LVM logical volume into two ............................................................. lvsplit(1M) login data, display ............................................................................................................................... logins(1M) login date, show last for each user ..................................................................................................... acctsh(1M) login directory ....
Index All Volumes Description Entry Name(Section) LP requests, cancel from spooling queue on remote system ............................................................. rcancel(1M) LP requests: daemon for LP requests from remote systems ....................................................... rlpdaemon(1M) LP requests: print status information .....................................................................................................
Index All Volumes Description Entry Name(Section) LVM logical volumes, merge two into one logical volume ................................................................ lvmerge(1M) LVM logical volumes, prepare root file system for migration from partitions to ....................... lvmmigrate(1M) LVM logical volumes, synchronize stale mirrors in ............................................................................ lvsync(1M) LVM physical volume group information file ...............................
Index All Volumes Description Entry Name(Section) madvise() - advise system of process’s expected paging behavior .................................................... madvise(2) magic - magic numbers for HP-UX implementations .............................................................................. magic(4) magic number .....................................................................................................................................
Index All Volumes Description Entry Name(Section) make - maintain, update, and regenerate groups of programs ................................................................ make(1) make posters in large letters ................................................................................................................ banner(1) make unprintable and non-ASCII characters in a file visible or invisible ................................................... vis(1) makecontext() - manipulate user contexts ....
Index All Volumes Description Entry Name(Section) map master, list which host is Network Information System server or ............................................. ypwhich(1) map object into virtual memory ............................................................................................................. mmap(2) map of ASCII character set ....................................................................................................................... ascii(5) map security file, NIS .........
Index All Volumes Description Entry Name(Section) math: Euclidean distance (hypotenuse) functions ............................................................................... hypot(3M) math: exponential functions .................................................................................................................... exp(3M) math: exponential minus 1 functions .................................................................................................
Index All Volumes Description Entry Name(Section) maxdsiz - maximum size (in bytes) of the data segment for any user process .................................. maxdsiz(5) maxdsiz_64bit - maximum size (in bytes) of the data segment for any user process ...................... maxdsiz(5) maxfiles - initial (soft) maximum number of file descriptors per process ....................................... maxfiles(5) maxfiles_lim - hard maximum number of file descriptors per process ..................................
Index All Volumes Description Entry Name(Section) media changer manipulation utility ......................................................................................................... mc(1M) mediainit - initialize hard disk, flexible disk, or cartridge tape media ........................................ mediainit(1) mem, kmem - main memory and kernel memory image file ....................................................................... mem(7) memalign() - allocate aligned memory ..................
Index All Volumes Description Entry Name(Section) message catalog file, create for modification ....................................................................................... findmsg(1) message catalog file, extract messages from ...................................................................................... findmsg(1) message catalog file, generate a formatted ............................................................................................
Index All Volumes Description Entry Name(Section) mkboot - install, or update boot programs from a disk device ......................................................... mkboot(1M) mkdir - make a directory ....................................................................................................................... mkdir(1) mkdir() − make a directory file ............................................................................................................
Index All Volumes Description Entry Name(Section) modify environment for command execution .............................................................................................. env(1) modify memory mapping access protections ..................................................................................... mprotect(2) modify protected password database ............................................................................................ modprpw(1M) modify selected characters .............
Index All Volumes Description Entry Name(Section) move files between systems .......................................................................................................................... ftp(1) move LP spooling requests to a specified destination ....................................................................... lpsched(1M) move magnetic tape forward or backward by files or records ......................................................................
Index All Volumes Description Entry Name(Section) munmap() - unmap a mapped region ................................................................................................ munmap(2) mutex attribute object, initialize or destroy .......................................................... pthread_mutexattr_init(3T) mutex handoff mode, disable mutex-specific or process-wide .................. pthread_mutexattr_getspin_np(3T) mutex spin and yield frequency attributes, get and set ........................
Index All Volumes Description Entry Name(Section) advance cursor ....................................................................................................................... addnstr(3X) mvwaddnwstr() - add a wide-character string to a window and advance the cursor .................. addnwstr(3X) mvwaddstr() - add a string of multi-byte characters without rendition to a window and advance cursor .......................................................................................................
Index All Volumes Description Entry Name(Section) name service: new version ......................................................................................................................... nis+(1) name space from HP-UX header files ................................................................................................. stdsyms(5) name space: attach a STREAMS file descriptor ................................................................................. fattach(3C) name, change login ....
Index All Volumes Description Entry Name(Section) nc_perror() - get network configuration data base entry .................................................... getnetconfig(3N) nc_sperror() - get network configuration data base entry .................................................. getnetconfig(3N) ndd - network tuning .............................................................................................................................. ndd(1M) ndir.h - format of HP-UX directory streams ............
Index All Volumes Description Entry Name(Section) network lock daemon ........................................................................................................................... lockd(1M) network name database .................................................................................................................... networks(4) network packet routing, system support for local ................................................................................
Index All Volumes Description Entry Name(Section) nexttoward() - next representable floating-point value ............................................................ nextafter(3M) nexttowardf() - next representable floating-point value (float) ................................................ nextafter(3M) nexttowardl() - next representable floating-point value (long double) ..................................... nextafter(3M) nexttowardq() - next representable floating-point value (quad) ....................
Index All Volumes Description Entry Name(Section) NIS+ log administration functions .................................................................................................. nis_ping(3N) NIS+ namespace functions .......................................................................................................... nis_names(3N) NIS+ namespace: return the state using a conditional expression .......................................................
Index All Volumes Description Entry Name(Section) nistbladm - administer NIS+ tables ............................................................................................ nistbladm(1) nistest - return the state of the NIS+ namespace using a conditional expression ............................. nistest(1) nisupdkeys - update the public keys in a NIS+ directory object ............................................. nisupdkeys(1M) nis_add() - NIS+ namespace functions .......................................
Index All Volumes Description Entry Name(Section) nl() - enable/disable newline translation .................................................................................................. nl(3X) nlist - nlist structure format .................................................................................................................. nlist(4) nlist() - get entries from name list .....................................................................................................
Index All Volumes Description Entry Name(Section) NSTRSCHED - number of STREAMS scheduler daemons to run ...................................................... nstrsched(5) nstrtel - specifies the number of telnet device files the kernel can support for incoming telnet sessions ........................................................................................................................... nstrtel(5) nsupdate - Dynamic DNS update utility ............................................................
Index All Volumes Description Entry Name(Section) object code file, print symbol table (name list) for ....................................................................................... nm(1) object code files in a library, find optimum sequence for ....................................................................... lorder(1) object file access library .............................................................................................................................
Index All Volumes Description Entry Name(Section) operating system name, display ............................................................................................................ uname(1) operating system name, get ................................................................................................................... uname(2) operating system, introduction ...................................................................................................
Index All Volumes Description Entry Name(Section) overlapped windows, copy ................................................................................................................. overlay(3X) overlay() - copy overlapped windows ............................................................................................ overlay(3X) overview of various system shells .................................................................................................................
Index All Volumes Description Entry Name(Section) ........................................................................................................................ pam_sm_open_session(3) PAM, service provider implementation for pam_setcred() .............................................. pam_sm_setcred(3) PAM, user configuration files for pluggable authentication modules ...................................... pam_user.conf(4) pam.conf - configuration file for pluggable authentication module .........
Index All Volumes Description Entry Name(Section) partition, create a new partition .................................................................................................. parcreate(1M) partition, modify an existing partition ........................................................................................ parmodify(1M) partition, remove an existing partition ......................................................................................
Index All Volumes Description Entry Name(Section) path prefix .......................................................................................................................................... glossary(9) path, map device ID to file ..................................................................................................................... devnm(3) path-name of current working directory, get .....................................................................................
Index All Volumes Description Entry Name(Section) permissions mask for file creation, set and get ..................................................................................... umask(2) permissions mode mask for file-creation, set access .............................................................................. umask(1) permissions, change file mode access ....................................................................................................
Index All Volumes Description Entry Name(Section) plock() - lock process, text, data, stack, or shared library in memory ................................................. plock(2) plotdvr - plotter driver for lp ............................................................................................................. lpfilter(1) plotter ...................................................................................................................................................
Index All Volumes Description Entry Name(Section) POSIX realtime extensions ............................................................................................................. aio_return(2) POSIX realtime extensions .......................................................................................................... aio_suspend(2) POSIX realtime extensions ...............................................................................................................
Index All Volumes Description Entry Name(Section) prealloc() - preallocate fast disk storage ....................................................................................... prealloc(2) prealloc64() - non-POSIX standard API interfaces to support large files ...................................... creat64(2) preallocate fast disk storage ............................................................................................................... prealloc(2) preallocate space for a disk storage file .
Index All Volumes Description Entry Name(Section) print process accounting files .......................................................................................................... acctcom(1M) print request server, PC-NFS ............................................................................................................ pcnfsd(1M) print requests on an LP printer .....................................................................................................................
Index All Volumes Description Entry Name(Section) process accounting, enable or disable ........................................................................................................ acct(2) process and child process times, get ........................................................................................................ times(2) process any pending cancellation requests ...................................................................
Index All Volumes Description Entry Name(Section) process, spawn new (use fork() instead) ............................................................................................... vfork(2) process, suspend or resume auditing on current ............................................................................ audswitch(2) process, suspend the calling process ................................................................................................... napms(3X) process, suspend until signal ...
Index All Volumes Description Entry Name(Section) program loaded module .......................................................................................................... dlgetmodinfo(3C) program loaded module ................................................................................................................ dlmodinfo(3C) program message, get an NLS ............................................................................................................
Index All Volumes Description Entry Name(Section) pset_ctl() - processor set control .................................................................................................... pset_ctl(2) pset_destroy() - destroy processor set .................................................................................. pset_destroy(2) pset_getattr() - manage processor set attributes ..................................................................
Index All Volumes Description Entry Name(Section) pthread_attr_getscope() - get the contentionscope attribute ............. pthread_attr_getdetachstate(3T) pthread_attr_getstackaddr() - get the stackaddr attribute .............. pthread_attr_getdetachstate(3T) pthread_attr_getstacksize() - get the stacksize attribute ................ pthread_attr_getdetachstate(3T) pthread_attr_init() - initialize a thread attribute object ........................................
Index All Volumes Description Entry Name(Section) ..................................................................................................... pthread_mutexattr_getprotocol(3T) pthread_mutexattr_setprotocol() - set the protocol attribute .... pthread_mutexattr_getprotocol(3T) pthread_mutexattr_setpshared() - set the process-shared attribute pthread_mutexattr_getpshared(3T) pthread_mutexattr_setspin_np() - set mutex spin attribute ........
Index All Volumes Description Entry Name(Section) pts - STREAMS slave pty (pseudo-terminal) driver ................................................................................... pts(7) ptsname() - get the name of a slave pty ........................................................................................ ptsname(3C) ptsname_r() - get the name of a slave pty .................................................................................... ptsname(3C) ptx - generate permuted index ............
Index All Volumes Description Entry Name(Section) pvcreate - create physical volume for use in LVM volume group ................................................ pvcreate(1M) pvdisplay - display information about physical volumes in LVM volume group ....................... pvdisplay(1M) pvmove - move allocated physical extents from one LVM physical volume to other physical volumes pvmove(1M) pvremove - remove an LVM physical volume .............................................................................
Index All Volumes Description Entry Name(Section) quotaon - turn file system quotas on ............................................................................................. quotaon(1M) quotas, edit user .............................................................................................................................. edquota(1M) quotas, file system, turn on and off .................................................................................................
Index All Volumes Description Entry Name(Section) read from stream file or character string with formatted input conversion .......................................... scanf(3S) read - input and parse a line ..................................................................................................................... ksh(1) read - input and parse a line .............................................................................................................
Index All Volumes Description Entry Name(Section) realtime, POSIX extensions ............................................................................................................... lio_listio(2) realtime, POSIX extensions .................................................................................................................... mlock(2) realtime, POSIX extensions ...............................................................................................................
Index All Volumes Description Entry Name(Section) region_hash_locks - determines the size of the region spinlock pool ......................... region_hash_locks(5) register a function to be called at program termination ......................................................................... atexit(3) register fork handler ............................................................................................................
Index All Volumes Description Entry Name(Section) remote mounts, show all ........................................................................................................... showmount(1M) remote node, get file handle for file on ..................................................................................................... getfh(2) remote quota server .........................................................................................................................
Index All Volumes Description Entry Name(Section) remquow() - remainder function with quotient (extended) ............................................................ remquo(3M) remsh - execute from a remote shell ...................................................................................................... remsh(1) remshd - remote shell server ........................................................................................................... remshd(1M) rename directory .....................
Index All Volumes Description Entry Name(Section) reset_shell_mode() - restore terminal modes to ‘‘shell’’ state ....................................... def_prog_mode(3X) resize or reorganize a VxFS file system ...................................................................................... fsadm_vxfs(1M) resolution protocol, address ...................................................................................................................... arp(7P) resolution time, get high .................
Index All Volumes Description Entry Name(Section) return integer absolute value ................................................................................................................... abs(3C) return maximum for scheduling policy ................................................................................................ rtsched(2) return minimum for scheduling policy ................................................................................................
Index All Volumes Description Entry Name(Section) rmdirp() - remove directories in a path .......................................................................................... mkdirp(3G) rmnl - remove extra new-line characters from file ................................................................................... rmnl(1) rmsf - remove a special (device) file ......................................................................................................
Index All Volumes Description Entry Name(Section) routines, Internet address manipulation ................................................................................................ inet(3N) routines, library routines for RPC bind service ............................................................................... rpcbind(3N) routines, network station address string conversion ......................................................................
Index All Volumes Description Entry Name(Section) rpc_svc_create() - library routines for the creation of server handles .......................... rpc_svc_create(3N) rpc_svc_err() - library routines for server side remote procedure call errors ..................... rpc_svc_err(3N) rpc_svc_reg() - library routines for registering servers ....................................................... rpc_svc_reg(3N) rpc_xdr() - XDR library routines for remote procedure calls ........................................
Index All Volumes Description Entry Name(Section) save/restore stack environment for non-local goto .............................................................................. setjmp(3C) save/restore terminal mode ................................................................................................................ resetty(3X) savecrash - save a crash dump of the operating system ........................................................... savecrash(1M) saved group ID ...........................
Index All Volumes Description Entry Name(Section) sccsfile - format of SCCS file ................................................................................................................. sccsfile(4) sccshelp - help for SCCS commands ............................................................................................... sccshelp(1) schedule uucp transport files .........................................................................................................
Index All Volumes Description Entry Name(Section) SCSI pass-through device driver ........................................................................................................... sioc_io(7) SCSI sequential access device driver ................................................................................................. scsi_tape(7) SCSI subsystem, enable/disable the use of a device’s write cache in the ................................ default_disk_ir(5) scsictl - control a SCSI device .......
Index All Volumes Description Entry Name(Section) security, audio ................................................................................................................................... see audio(5) sed - streaming text editor ......................................................................................................................... sed(1) seek; move read/write file pointer ............................................................................................................
Index All Volumes Description Entry Name(Section) sem_post() − unlock a POSIX semaphore ...................................................................................... sem_post(2) sem_trywait() − lock a POSIX semaphore without blocking ........................................................ sem_wait(2) sem_unlink() − unlink a named semaphore ............................................................................. sem_unlink(2) sem_wait() − lock a POSIX semaphore ................................
Index All Volumes Description Entry Name(Section) server, Basic Serial and HP AdvanceLink ..................................................................................... pcserver(1M) server, domain name, send signals to ......................................................................................... sig_named(1M) server, file transfer protocol ...................................................................................................................
Index All Volumes Description Entry Name(Section) session, authentication, account, and password management PAM modules for UNIX .................. pam_unix(5) session, create and set process group ID ................................................................................................ setsid(2) session, record typescript of terminal output during .............................................................................. script(1) session, start terminal ......................................
Index All Volumes Description Entry Name(Section) set service entry .......................................................................................................................... getservent(3N) set - set/define flags and arguments .......................................................................................................... csh(1) set - set/define options and arguments ......................................................................................................
Index All Volumes Description Entry Name(Section) setgrent() - rewind pointer to first entry in group() file .......................................................... getgrent(3C) setgroups() − set group access list .............................................................................................. setgroups(2) sethostent() - set network host entry ....................................................................................
Index All Volumes Description Entry Name(Section) setutent() - reset input stream to beginning of utmp() file ............................................................. getut(3C) setutent_r() - reset input stream to beginning of utmp() file ......................................................... getut(3C) setutsent() - access/update routines for user-accounting database maintained by utmpd(1M) ..............................................................................................................
Index All Volumes Description Entry Name(Section) shell program ..................................................................................................................................... glossary(9) shell script .......................................................................................................................................... glossary(9) shell script to set up user’s environment at login ..................................................................................
Index All Volumes Description Entry Name(Section) sigblock() − block signals .............................................................................................................. sigblock(2) sigdelset() - initialize, manipulate, and test signal sets .......................................................... sigsetops(3C) sigemptyset() - initialize, manipulate, and test signal sets ......................................................
Index All Volumes Description Entry Name(Section) sigpause() − atomically release blocked signals and wait for interrupt ..................................... sigpause(3C) sigpending() - examine pending signals ................................................................................... sigpending(2) sigprocmask() - examine and change blocked signals ............................................................ sigprocmask(2) sigqueue() - queue a signal to a process ...................................
Index All Volumes Description Entry Name(Section) single-byte to wide-character, convert ................................................................................................. btowc(3C) single-user mode ...................................................................................................................................... init(1M) single-user mode, place system in ................................................................................................
Index All Volumes Description Entry Name(Section) slk_set() - soft label functions ................................................................................................. slk_attroff(3X) slk_touch() - soft label functions ............................................................................................. slk_attroff(3X) slk_wset() - soft label functions ...............................................................................................
Index All Volumes Description Entry Name(Section) soelim - eliminate .so’s from nroff input ........................................................................................... soelim(1) soft (symbolic) file link ........................................................................................................................ symlink(4) soft label functions .......................................................................................................................
Index All Volumes Description Entry Name(Section) special files; list all device drivers available in the system .................................................................. lsdev(1M) special functions of HP 2640- and HP 2621-series terminals, handle ............................................................ hp(1) special initialization script, /sbin/set_parms ............................................................................. hostname(1) special processes .................................
Index All Volumes Description Entry Name(Section) stack environment, save/restore for non-local goto ............................................................................. setjmp(3C) stack for any PA-RISC user process, maximum size (in bytes) of the ........................................... pa_maxssiz(5) stack for any user process, maximum size (in bytes) of the ................................................................ maxssiz(5) stack space for signals, define, delete, or get amount of ....
Index All Volumes Description Entry Name(Section) statistics, get file system ............................................................................................................... statvfsdev(3C) statistics, get mounted file system ............................................................................................................ ustat(2) statistics, local file system mount ...........................................................................................................
Index All Volumes Description Entry Name(Section) strchr() , strrchr() - get pointer to character in string ................................................................ string(3C) strclean - remove outdated STREAMS error log files .................................................................. strclean(1M) strcmp() , strncmp() - compare two strings .................................................................................... string(3C) strcoll() - process string of text tokens ................
Index All Volumes Description Entry Name(Section) STREAMS module, terminal line discipline .......................................................................................... ldterm(7) STREAMS modules in a single stream, maximum number .............................................................. nstrpush(5) STREAMS modules, manage system database of automatically pushed STREAMS modules ...... autopush(1M) STREAMS pass through device driver to open a major and minor device pair on a STREAMS driver .
Index All Volumes Description Entry Name(Section) string, get a multi-byte character string from the terminal ................................................................. getstr(3X) string, parse suboptions from a ..................................................................................................... getsubopt(3C) string-to-NaN conversion functions ........................................................................................................
Index All Volumes Description Entry Name(Section) subroutines and libraries, introduction to ................................................................................................ intro(3) subroutines, database (new multiple database version) ....................................................................... ndbm(3X) subroutines, database (old version - see also ndbm(3X)) ....................................................................... dbm(3X) subroutines, NIS+ ........................
Index All Volumes Description Entry Name(Section) svc_exit() - library routines for RPC servers ..................................................................... rpc_svc_calls(3N) svc_fds() - obsolete library routines for RPC ................................................................................ rpc_soc(3N) svc_fdset() - library routines for RPC servers ...................................................................
Index All Volumes Description Entry Name(Section) symbolic link ...................................................................................................................................... glossary(9) symbolic link status, get ............................................................................................................................ lstat(2) symbolic link to a file, make a ............................................................................................................
Index All Volumes Description Entry Name(Section) system console interface special file ..................................................................................................... console(7) system database of automatically pushed STREAMS modules, manage ...................................... autopush(1M) system default database entry, manipulate ................................................................................... getprdfent(3) system default database file, trusted system ..........
Index All Volumes Description Entry Name(Section) system, boot ........................................................................................................................................... reboot(2) system, call another UNIX; terminal emulator ............................................................................................. cu(1) system, construct an HFS file .........................................................................................................
Index All Volumes Description Entry Name(Section) tan() - tangent function ......................................................................................................................... tan(3M) tand() - tangent function of a degree argument .................................................................................. tand(3M) tandf() - tangent function of a degree argument (float) .....................................................................
Index All Volumes Description Entry Name(Section) TELNET protocol, user interface to the ................................................................................................. telnet(1) telnet - user interface to the TELNET protocol ................................................................................... telnet(1) telnetd - TELNET protocol server .................................................................................................
Index All Volumes Description Entry Name(Section) terminal, deny or permit write(1) messages from other users to ............................................................. mesg(1) terminal, find name of ..................................................................................................................... ttyname(3C) terminal, generate file name of controlling .......................................................................................
Index All Volumes Description Entry Name(Section) text allocation space of object files, print section sizes and ........................................................................ size(1) text editor, line-oriented ............................................................................................................................... ex(1) text editor, screen-oriented ............................................................................................................................
Index All Volumes Description Entry Name(Section) Async Signal Safe, Async Cancel Safe ........................................................................... thread_safety(5) three-way differential file comparison ....................................................................................................... diff3(1) three-way file merge ..............................................................................................................................
Index All Volumes Description Entry Name(Section) timex - time a command; report process accounting data and system activity ...................................... timex(1) timezone - difference between Universal (Greenwich mean) and local time .................................. timezone(5) timezone() - difference between UCT and local timezone .................................................................. ctime(3C) timod - STREAMS module for converting ioctl() calls into Transport Interface messages ..
Index All Volumes Description Entry Name(Section) tracing and logging configuration file, Network ........................................................................ nettlgen.conf(4) tracing facility for multithreaded processes ........................................................................................... ttrace(2) tracing, control network ........................................................................................................................
Index All Volumes Description Entry Name(Section) trigonometric complex arccosine functions .......................................................................................... cacos(3M) trigonometric complex arcsine functions .............................................................................................. casin(3M) trigonometric complex arctangent functions ........................................................................................
Index All Volumes Description Entry Name(Section) tset - terminal-dependent initialization ................................................................................................... tset(1) tsm, add or remove a printer for use with ............................................................................... tsm.lpadmin(1M) tsm - Terminal Session Manager ................................................................................................................ tsm(1) tsm.
Index All Volumes Description Entry Name(Section) t_accept() - accept a connect request issued by a transport user (X/OPEN TLI-XTI) ................... t_accept(3) t_alloc() - allocate library structure for transport function argument structures (X/OPEN TLI-XTI)t_alloc(3) t_bind() - bind address to transport endpoint (X/OPEN TLI-XTI) ..................................................... t_bind(3) t_close() - close transport endpoint (X/OPEN TLI-XTI) ..........................................................
Index All Volumes Description Entry Name(Section) umountall - unmount multiple file systems ................................................................................. mountall(1M) unalias - discard specified alias ................................................................................................................ csh(1) unalias - discard specified alias ...............................................................................................................
Index All Volumes Description Entry Name(Section) unlock a semaphore .................................................................................................................. msem_unlock(2) unlock a STREAMS pty master/slave pair ..................................................................................... unlockpt(3C) unlock access to /etc/passwd and /etc/shadow files ........................................................................... lckpwdf(3C) unlock Complex Configuration Data ..
Index All Volumes Description Entry Name(Section) uppercase, translate wide characters to .............................................................................................. wconv(3C) UPS monitor configuration file .......................................................................................................... ups_conf(4) UPS, monitor daemon .................................................................................................................. ups_mond(1M) upshifting ........
Index All Volumes Description Entry Name(Section) user process, maximum size (in bytes) of the RSE stack for any ................................................... maxrsessiz(5) user process, maximum size (in bytes) of the stack for any ................................................................ maxssiz(5) user process, maximum size (in bytes) of the text segment for any ..................................................... maxtsiz(5) user processes per user, limits the maximum number of .............
Index All Volumes Description Entry Name(Section) utmpname_r() - change name of utmp() file being examined ............................................................ getut(3C) utmps - user-accounting database ......................................................................................................... utmps(4) utmpx - user accounting information file .............................................................................................. utmpx(4) utmpx() or wtmp() file, access ..........
Index All Volumes Description Entry Name(Section) validation procedures, perform PAM account ....................................................................... pam_acct_mgmt(3) valloc() - allocate space on boundary aligned to sysconf value ...................................................... malloc(3C) value changes per System V IPC semop() call, maximum cumulative ................................................ semaem(5) value of a per-process timer, get ............................................
Index All Volumes Description Entry Name(Section) vgcfgbackup - create LVM volume group configuration backup file ..................................... vgcfgbackup(1M) vgcfgrestore - restore volume group configuration ............................................................. vgcfgrestore(1M) vgchange - set LVM volume group availability ........................................................................... vgchange(1M) vgchgid - modify the Volume Group ID (VGID) on a given set of physical devices ..
Index All Volumes Description Entry Name(Section) volume in LVM volume group, create logical .................................................................................. lvcreate(1M) volume mirrors in LVM volume groups, synchronize stale logical .................................................... vgsync(1M) volume number ...................................................................................................................................
Index All Volumes Description Entry Name(Section) vxfs_ifree_timelag - VxFS inode free time lag (specify the minimum time to be spent on a freelist) ................................................................................................ vxfs_ifree_timelag(5) vxfs_max_ra_kbytes - maximum amount of read-ahead data, in KB, that kernel may have outstanding for a single VxFS file system ...........................................
Index All Volumes Description Entry Name(Section) wconv() - translate wide characters .................................................................................................. wconv(3C) wcrtomb() - convert a wide-character code to a character ............................................................ wcrtomb(3C) wcscat() , wcsncat() - append wide string 2 to wide string 1 ....................................................
Index All Volumes Description Entry Name(Section) wide character on a stream file, put a ................................................................................................. putwc(3C) wide character string and rendition, get from a cchar_t .............................................................. getcchar(3X) wide character string and rendition, set cchar_t .......................................................................... setcchar(3X) wide character string operations .............
Index All Volumes Description Entry Name(Section) window, insert a single-byte character and rendition into .................................................................... insch(3X) window, insert a wide-character string into .................................................................................. ins_nwstr(3X) window, insert lines into .................................................................................................................. insertln(3X) window, move .................
Index All Volumes Description Entry Name(Section) write calls, enbales, to return before write operation is complete (Boolean) ...................................... fs_async(5) write end-of-file marks on magnetic tape ..................................................................................................... mt(1) write - interactively write (talk) to another user ................................................................................... write(1) write LIF volume header on file .........
Index All Volumes Description Entry Name(Section) X/OPEN Transport Interface - XTI, retrieve disconnect information ................................................. t_rcvdis(3) X/OPEN Transport Interface - XTI, send data or expedited data over a connection ............................... t_snd(3) X/OPEN Transport Interface - XTI, send data unit to transport user ........................................... t_sndudata(3) X/OPEN Transport Interface - XTI, send user-initiated disconnect request ...............
Index All Volumes Description Entry Name(Section) xdr_char() - library routines for external data representation ............................................... xdr_simple(3N) xdr_complex() - library routine for external data representation ....................................... xdr_complex(3N) xdr_control() - library routines for external data representation ......................................... xdr_admin(3N) xdr_create() - library routines for external data representation stream creation ............
Index All Volumes Description Entry Name(Section) XTI function, initiate orderly release at transport endpoint .............................................................. t_sndrel(3) XTI function, listen for connect request ............................................................................................... t_listen(3) XTI function, look at current event on transport endpoint ....................................................................
Index All Volumes Description Entry Name(Section) [[ - evaluate boolean expression ........................................................................................................ sh-posix(1) _authdes_getucred() - library routines for secure remote procedure calls .......................... secure_rpc(3N) _ldecvt() , _ldfcvt() , _ldgcvt() - convert long double to string .................................................. ldcvt(3C) _longjmp() - restore stack environment after non-local goto ..........
Index All Volumes Description Entry Name(Section) __uc_get_cr() - ucontext_t (user context) access ........................................................................ uc_access(3) __uc_get_ed() - ucontext_t (user context) access ........................................................................ uc_access(3) __uc_get_frs() - ucontext_t (user context) access ...................................................................... uc_access(3) __uc_get_grs() - ucontext_t (user context) access ........
Notes Index−−202 Hewlett-Packard Company HP-UX 11i Version 2: August 2003