HP-UX Reference Section 7: Device (Special) Files Section 9: General Information Index HP-UX 11i Version 2 December 2007 Update Volume 10 of 10 Manufacturing Part Number : B2355-92075 E1207 Printed in USA © Copyright 1983-2007 Hewlett-Packard Development Company LP.
Legal Notices The information in this document is subject to change without notice. Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. U.S. Government License Confidential computer software.
Copyright 1996 Morning Star Technologies, Inc. Copyright 1996 Progressive Systems, Inc. Trademark Notices Intel and Itanium are registered trademarks of Intel Corporation in the US and other countries and are used under license. Java is a US trademark of Sun Microsystems, Inc. Microsoft and MS-DOS are U.S. registered trademarks of Microsoft Corporation. OSF/Motif is a trademark of The Open Group in the US and other countries. UNIX is a registered trademark of The Open Group.
Preface HP-UX is the Hewlett-Packard Company’s implementation of a UNIX operating system that is compatible with various industry standards. It is based on the System V Release 4 operating system and includes important features from the Fourth Berkeley Software Distribution. The ten volumes of this manual contain the system reference documentation, made up of individual entries called manpages, named for the man command (see man (1)) that displays them on the system.
Typographical Conventions audit (5) An HP-UX manpage reference. For example, audit is the name and 5 is the section in the HP-UX Reference. On the web and on the Instant Information CD or DVD, it may be a hyperlink to the 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 or DVD, it may be a hyperlink to the book itself.
Command Syntax Literal A word or character that you enter literally. Replaceable A word or phrase that you replace with an appropriate value. -chars One or more grouped command options, such as -ikx. The chars are usually a string of literal characters that each represent a specific option. For example, the entry -ikx is equivalent to the individual options -i, -k, and -x. The plus character (+) is sometimes used as an option prefix. -word A single command option, such as -help.
Function Synopsis and Syntax HP-UX functions are described in a definition format rather than a usage format. The definition format includes type information that is omitted when the function call is actually included in a program. The function syntax elements are the same as for commands, except for the options; see “Command Syntax” on page 7. Function General Definition The general definition form is: type func ( type param [ , type param ]...
Publishing History Revisions of the HP-UX Reference are published with each initial version release and at significant update milestones for each release. The contents are current as of the publication dates. Since manpages are often updated in software patches, you can find the latest version of a manpage on an appropriately patched system, using the man command. The list below is in reverse order of the date of publication.
B9106-90007-13 HP-UX 11i Version 1.5; June 2001 Release; seven volumes HTML; http://docs.hp.com and Instant Information. B2355-90689-97 HP-UX 11i Version 1; December 2000 Release; nine volumes PDF and HTML; http://docs.hp.com, Instant Information and print. B2355-90680-84 HP-UX 11.0; October 1997 Release; five volumes HTML; http://docs.hp.com. B2355-90166 HP-UX 11.0; October 1997 Release; five volumes PDF; http://docs.hp.com. B2355-90128-31 HP-UX 10.
Volume Ten Table of Contents Section 7 Section 9 Index
Volume Ten Table of Contents Section 7 Section 9 Index
Table of Contents Volume Ten Section 7: Device (Special) Files Entry Name(Section): name Description intro(7): intro ............................................................................................. introduction to device special files arp(7P): arp ........................................................................................................... address resolution protocol autochanger(7): autochanger .................................................................
Table of Contents Volume Ten Entry Name(Section): name Description strlog(7) ............................................................................................................................. STREAMS log driver stty: terminal interface for Version 6/PWB compatibility ............................................................. see sttyv6(7) sttyv6(7): stty ..................................................................
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 (such as, disk, terminal), 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 a DESCRIPTION ARP is a protocol used to dynamically map between DARPA Internet and hardware station addresses. It is used by all LAN drivers. 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. a 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 a 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 magneto-optical disks will be described here briefly. Included from
autochanger(7) autochanger(7) CHGR_CLEAR_RESET For developers. autox0 driver only. To clear a powerfail recovery condition in the SCSI changer driver. The CHGR_CLEAR_RESET ioctl function will be necessary for developers using the SCSI changer driver (autox0) to move media within the medium changer, but not using the surface module for transparent access to magneto-optical disks.
autochanger(7) autochanger(7) char alt_vol_tag[36]; /* volume tag (device optional) */ unsigned char misc_bytes[168]; /* device specific */ }; /* structure for SIOC_RESERVE and SIOC_RELEASE ioctls */ struct reservation_parms { unsigned short element; unsigned char identification; unsigned char all_elements; }; a /* structure for SIOC_MOVE_MEDIUM ioctl */ struct move_medium_parms { unsigned short transport; unsigned short source; unsigned short destination; unsigned char invert; }; /* structure for SIOC_
autochanger(7) autochanger(7) 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. DEPENDENCIES To obtain access to disk surfaces within HP magneto-optical libraries, the ssrfc module must be specified in the system configuration file.
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. a 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) 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) (PA-RISC 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. 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) manpage 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 c_flags Not supported. 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 /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) Series 800 Only diag0(7) 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. d 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 d Character-mode Devices /dev/dsk/c xtydn[sm] /dev/rdsk/c xtydn[sm] where component parts of the filename are constructed as follows: c Required.
disk(7) disk(7) 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 (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 */ 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) [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) 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) 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) field of the crt_frame_buffer_t data structure by the GCDESCRIBE call: 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 f ERRORS [EAGAIN] 32-byte aligned 16-byte aligned non-zero multiple of 32 0 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) also been selected, allowing other processes to run first). 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.
gang_sched(7) gang_sched(7) • Gang scheduling is completely shut down when Process Resource Manager (PRM) is enabled. • 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.
hil(7) hil(7) (PA-RISC Systems Only) 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) (PA-RISC Systems Only) of data in each packet, in which case the count and the packet can both be read in the same system call. If the file status flag, O_NDELAY, is set and no data is available, read() returns 0 instead of blocking. write() is not supported by hil . select() can be used to poll for available input from HP-HIL devices. select() for write or for exception conditions always returns a false indication in the file descriptor bit masks.
hil(7) hil(7) (PA-RISC Systems Only) HILED 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.
hil(7) hil(7) (PA-RISC Systems Only) [EFAULT] A bad address was detected while attempting to use an argument to a system call. [EINTR] A signal interrupted an open() , read() , or ioctl() system call. [EINVAL] An invalid parameter was detected by ioctl() . [ENXIO] No device is present at the specified address; see the WARNINGS section. [EIO] A hardware or software error occurred while executing an ioctl() system call. [ENODEV] write() is not implemented for HP-HIL devices.
hilkbd(7) hilkbd(7) (PA-RISC Systems Only) 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) hilkbd(7) (PA-RISC Systems Only) Read the keyboard status register. KBD_STATUS 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 The left shift key is up KBD_STAT_RIGHTSHIFT KBD_STAT_SHIFT KBD_STAT_CTRL 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) (TO BE OBSOLETED) 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) (TO BE OBSOLETED) [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) 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.
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) [EINVAL] modname [ENXIO] [EBADF] MIOC_UNLOCKSYM and the hold count is already 0. kmemfd open on wrong minor device (i.e., not /dev/kmem ). kmemfd open for reading and this is an MIOC_WRITEKSYM. does not represent a currently loaded module [ENOMATCH] symname not found. or this is an [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) The original I/O control command and M_IOCTL message are stored for use on M_IOCACK . 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 .
ldterm(7) ldterm(7) TIOCNXCL TIOCSETD Turn off ‘exclusive-use’ mode. 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. The ldterm module replies with a value of 2 for binary compatibility, since ldterm supports job control. TIOCFLUSH This command flush the input or/and output streams similar to that of the TCFLSH command. The argument is a pointer to an int variable.
ldterm(7) TIOCGLTC ldterm(7) The ldterm module returns the ltchars information based on the interpretation of the current content of the POSIX termios structure maintained in ldterm . TIOCLBIS , TIOCLBIC , TIOCLSET These commands set the BSD 4.3 flags information, defined in . For TIOCLBIS and TIOCLBIC , the argument is a pointer to an int whose value is a mask containing flags to be set/clear. For TIOCLSET , the argument is a pointer to an int whose value is a new set of flags to be set.
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, 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 HPUX operating system.
lp(7) lp(7) (Series 800 Only) LPRSET Set the current printer status information from the structure to which arg points. 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 modemrelated ioctl() system calls (see ioctl(2)) are discussed at the end of the manpage. Definitions There are several terms used within this manpage which are defined here for reference.
modem(7) modem(7) Terminal Port Access Types There are three types of modem access: call-in connections, call-out connections, and direct (no modem control) connections. A given port may be accessed through all three types of connection by accessing different files. The modem access type of a terminal file is determined by the file’s major and/or minor device numbers. The call-in type of access is used when the connection is expected to be established by an incoming call.
modem(7) modem(7) Simple mode is used for connections to devices which require only a simple method of modem line control. This can include devices such as black boxes, data switches, or for system-to-system connections. It can also be used with modems which cannot operate under the CCITT recommendations. The CONTROL for simple mode consists of only DTR. The STATUS consists of only DCD. When an open() is issued, the CONTROL is raised but no connection timer is started.
modem(7) modem(7) switching equipment. If this period is not long enough, the telephone connection may not be broken and a succeeding open() may complete with the old connection. HP-UX Modem Ioctls Several ioctl() system calls apply to manipulation of modem lines. They use the following information defined in
modem(7) modem(7) Each ioctl() passes an integer argument in which each of the following bit definitions correspond to one of the modem lines as follows: TIOCM_RTS TIOCM_CTS TIOCM_DSR TIOCM_CAR TIOCM_DTR TIOCM_RNG Request to Send Clear to Send Data Set Ready Data Carrier Detect Data Terminal Ready Ring Indicator outbound inbound inbound inbound outbound inbound Additionally, TIOCM_CD is equivalent to TIOCM_CAR , and TIOCM_RI is equivalent to TIOCM_RNG .
modem(7) modem(7) SEE ALSO stty(1), mknod(1M), ioctl(2), open(2), termio(7).
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() . 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 mt_type; /* type of magtape device */ long mt_resid; /* residual count */ /* The following two registers are device dependent */ long mt_dsreg1; /* status register (msb) */ long mt_dsreg2; /* status register (lsb) */ /* The following are device-independent status words */ long mt_gstat; /* generic status
mt(7) mt(7) GMT_DENSITY( x ) GMT_QIC_FORMAT(x ) GMT_8mm_FORMAT(x ) GMT_D_800( x ) GMT_D_1600( x ) GMT_D_6250( x ) Returns the currently configured 8-bit density value. Supported values are defined in . 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. Returns TRUE if the density encoded in mt_gstat is 800 bpi. Returns TRUE if the density encoded in mt_gstat is 1600 bpi.
mt(7) mt(7) GMT_D_QIC_1000(x ) Returns TRUE if the density encoded in mt_gstat is QIC-1000 format. GMT_D_QIC_1350(x ) Returns TRUE if the density encoded in mt_gstat is QIC-1350 format. GMT_D_QIC_2100(x ) Returns TRUE if the density encoded in mt_gstat is QIC-2100 format. GMT_D_QIC_2GB(x ) Returns TRUE if the density encoded in mt_gstat is QIC-2GB format. GMT_D_QIC_5GB(x ) Returns TRUE if the density encoded in mt_gstat is QIC-5GB format.
mt(7) mt(7) 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() request. The following system call verifies that the tape has just read a filemark: #include #include
mt(7) mt(7) Use the rmsf command to clean up unused device files. Otherwise, the property table may overflow and cause the mksf 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. For some devices, these values may be referred to as formats instead of densities. Use of unbuffered mode can reduce performance and increase media wear.
mt(7) mt(7) Configuring HP-UX for Peripherals m 100 Hewlett-Packard Company −9− HP-UX 11i Version 2: December 2007 Update
ndp(7P) ndp(7P) NAME ndp - Neighbor Discovery Protocol, NDP DESCRIPTION Neighbor Discovery Protocol (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.
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. • Selecting a default router.
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) (PA-RISC Systems Only) 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) (PA-RISC Systems Only) 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) (PA-RISC Systems Only) PS2_ENABLE Enable a PS/2 device Transmissions from the device are enabled. This request does not use arg. PS2_IDENT Identify a PS/2 device. 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.
ps2(7) ps2(7) (PA-RISC Systems Only) performed after PS2_KEY_TMAT . PS2_KEY_MAKE 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.
ps2(7) ps2(7) (PA-RISC Systems Only) In prompt mode, the mouse updates its internal values due to movement or button presses, but issues reports only in response to the PS2_REPORT 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) (PA-RISC Systems Only) Resolution RES_1 RES_2 RES_3 RES_4 PS2_2TO1_SCALING 200 DPI 320 DPI 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) (PA-RISC Systems Only) exit(1); } 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 */ whil
ps2(7) ps2(7) (PA-RISC Systems Only) for (;;) { 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.
ptem(7) ptem(7) NAME ptem - STREAMS pty pseudo-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) 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) 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. TIOCMONI TOR 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) 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. Any signals that the user has blocked by means of sigblock() continues to be blocked.
pty(7) pty(7) 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.
ramdisc(7) ramdisc(7) NAME ramdisc - RAM disk device driver DESCRIPTION The ramdisc driver supports numerous RAM disk devices that are created by the system either during the boot process or during normal system operation. One RAM disk volume is created during the boot process. Up to 15 RAM disk volumes can be created during normal system operation. RAM disk volumes created during normal system operation can be swappable or nonswappable volumes.
ramdisc(7) ramdisc(7) HP disclaims all warranties, express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and noninfringement, if you use HP-UX 11i v2 (11.23) Ramdisc version 1 with LVM mirrored configurations, and you assume all responsibility for any problems resulting from such usage in these configurations.
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. A read() from /dev/urandom is always nonblocking. Data from /dev/urandom can potentially have lower entropy than data from /dev/random . The rng module is a dynamically loadable kernel module (DLKM).
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 Destination Type network network host host =0 >0 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) SAP_ALL , set the sap_minor field to 0 (zero). If a previous entry was specified as SAP_RANGE , set the sap_minor field to the lowest minor device number in the range. sap_major Specifies the major device number. sap_minor Specifies the minor device number. sap_lastminor Specifies the range of minor devices. sap_npush Specifies the number of modules to push. This number must be no more than MAXAPUSH , which is defined in . Additionally, this number must not exceed NSTRPUSH .
sad(7) sad(7) RETURN VALUE Unless specified otherwise, upon successful completion, the sad ioctl() commands return a value of 0 (zero). Otherwise, a value of -1 is returned. ERRORS If any of the following conditions occur, the sad ioctl commands return the corresponding value: SAD_SAP [EEXIST] The specified major/minor device number pair (sad_major/sad_minor) has already been configured. [EFAULT] The arg parameter points outside the allocated address space.
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-3") 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 char char char unsigned unsigned unsigned char char int int int int int int int int char char char 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 inquiry */ struct inq
scsi(7) scsi(7) unsigned unsigned unsigned unsigned unsigned unsigned unsigned char char char char char char char 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_len; unsigned char cmd_info[
scsi(7) scsi(7) Drivers that support only devices which have no meaningful size may not support the SIOC_CAPACITY ioctl. Total device size in bytes may exceed 232-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) 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. The max_width field indicates the maximum data transfer width that will be attempted for data transfers to any target device connected to the associated bus.
scsi_ctl(7) scsi_ctl(7) unsigned int max_reqack_offset; 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_CONDITION_MET Device successfully completed the command and the requested (search or pre-fetch) operation is satisfied. 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).
scsi_ctl(7) scsi_ctl(7) unsigned unsigned void unsigned unsigned unsigned unsigned unsigned unsigned unsigned unsigned char char char char char cdb_length; cdb[16]; *data; data_length; max_msecs; data_xfer; cdb_status; sense[256]; sense_status; sense_xfer; reserved[64]; }; Security Restrictions Superuser or DEVOPS privilege, or device write permissions are required to use these ioctls. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
scsi_ctl(7) scsi_ctl(7) { /* request is invalid */ } else if (sctl_io.cdb_status == S_GOOD) { /* device is ready */ } else if (sctl_io.cdb_status == S_BUSY || (sctl_io.cdb_status == S_CHECK_CONDITION && sctl_io.sense_status == S_GOOD && sctl_io.sense_xfer > 2 && (sctl_io.
scsi_ctl(7) scsi_ctl(7) SEE ALSO mknod(1M), ioctl(2), privileges(5), scsi(7).
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) 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) (Workstations 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) (Workstations 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 be
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) The following example attempts a SCSI TEST UNIT READY command and checks to see if the device is ready, not ready, or in some other state. #include struct sctl_io sctl_io; memset(sctl_io, 0, sizeof(sctl_io)); /* clear reserved fields */ 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.
sioc_io(7) sioc_io(7) Very large (or infinite) timeout values can cause a parallel SCSI bus (potentially the entire system) to hang. Device and/or bus reset operations can be used to regain a device’s attention when a timeout expires. Resetting a device can cause I/O errors and/or loss of cached data. This can result in loss of data and/or system panics.
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 URL Examples service:weather.nasa:wtp://weather.nasa.com:12000 service:weather.nasa:swtp://weather.nasa.com:12001 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.
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) streams corresponding to fildes in the strfdinsert structure. The len field in 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 .
streamio(7) streamio(7) number of milliseconds to delay, rounded up to the nearest valid 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 first message on the queue. 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) 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 . RPROTDIS Discard the control portion of a message, delivering any data portion, when a user issues a read .
streamio(7) • streamio(7) 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. I_CKBAND [EINVAL] arg has an illegal value. I_FDINSERT [EINVAL] The fildes parameter in the strfdinsert structure is an invalid open file descriptor.
streamio(7) [ENODATA] streamio(7) 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. I_LINK [EAGAIN] Temporarily unable to allocate storage to perform the linking operation. [EBADF] The arg parameter not a valid open file descriptor. [ENXIO] A hangup was received on fildes.
streamio(7) [EINVAL] streamio(7) 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. I_PUNLINK [ENXIO] A hangup was received on fildes.
streamio(7) [EINVAL] streamio(7) 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. [ENOSR] Buffers could not be allocated for the ioctl request because of a lack of STREAMS memory resources.
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) or trace logger. It does this by issuing an I_STR ioctl() system call with the appropriate value in the ic_cmd field of the strioctl structure, and the appropriate data and control information in a trace_ids structure: struct trace_ids { short ti_mid; short ti_sid; char ti_level; short ti_flags; }; The values for ic_cmd are: I_ERRLOG I_TRCLOG Indicates an error logger. No trace_ids data is needed. Indicates a trace logger.
strlog(7) strlog(7) else all messages ====> INFORMATIVE 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)). The netfmt accepts a filter configuration file, which can be used to filter on STREAMS module ID and sub-ID.
strlog(7) strlog(7) 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 sttyv6: 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) sttyv6(7) HUPCL (if clear) Clears the termio HUPCL flag. XTABS (if set) Sets the termio TAB3 flag. XTABS (if clear) Clears the termio TAB3 flag. TBDELAY (if set) sets the termio TAB1 flag. TBDELAY (if clear) Clears the termio TAB1 flag. LCASE (if set) sets the termio IUCLC, OLCUC, and XCASE flags. LCASE (if clear) clears the termio IUCLC, OLCUC, and XCASE flags, ECHO (if set) sets the termio ECHO flag. ECHO (if clear) clears the termio ECHO flag.
sttyv6(7) sttyv6(7) ECHOK (if clear) clears the sgttyb NOAL flag. PARODD (if set) sets the sgttyb ODDP flag. PARODD (if clear) clears the sgttyb ODDP flag. INPCK (if set) sets the sgttyb EVENP flag. PARODD, INPCK (if both clear) sets the sgttyb ODDP and EVENP flags. ONLCR (if set) sets the sgttyb CRMOD flag; also, if CR1 is set, the sgttyb CR1 flag is set, and if CR2 is set, the sgttyb CR2 flag is set.
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) 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) from its controlling terminal will be denied. If denied and the reading process is ignoring or 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.
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) 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. In case A, the inter-character timer is activated by a user as a safety measure while in case B it is turned off. Cases C and D exist to handle single character timed transfers.
termio(7) termio(7) 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 ). If ICANON is not enabled, the NL character is treated as a normal data character. EOL (ASCII NUL) special character on input and is recognized if ICANON is enabled. EOL is an additional line delimiter similar to NL. It is not normally used.
termio(7) termio(7) stty command. The NL and CR characters cannot be changed or disabled. The character values for the remaining special characters can be changed or disabled to suit individual tastes. If ICANON is set (see Local Modes), the ERASE, KILL, and EOF characters can be escaped by a preceding \ character, in which case no special function is performed. These characters, and the remaining special characters, may also be escaped by preceding them with the LNEXT character (see LNEXT above).
termio(7) START STOP WERASE LNEXT DSUSP termio(7) VSTART VSTOP VWERASE VLNEXT VDSUSP Ctrl-Q Ctrl-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) generation is enabled but input parity checking is disabled; the hardware to which the terminal is connected will recognize the parity bit, but the terminal special file will not check whether this bit is set correctly or not. The following table shows the interrelationship between the flags IGNBRK , BRKINT , IGNPAR , and PARMRK .
termio(7) termio(7) The initial input control value is all bits clear. Output Modes The c_oflag field specifies the system treatment of output: OPOST Postprocess output. OLCUC Map lowercase to uppercase on output. ONLCR Map NL to CR-NL on output. OCRNL Map CR to NL on output. ONOCR No CR output at column 0. ONLRET NL performs CR function. OFILL Use fill characters for delay. OFDEL Fill is DEL, else NUL.
termio(7) termio(7) any delay. Backspace delay lasts about 0.05 seconds. If OFILL is set, one fill character is transmitted. The actual delays depend on line speed and system load. The initial output control value is all bits clear. Control Modes The c_cflag field describes the hardware control of the terminal: CBAUD B0 B50 B75 B110 B134 B150 B200 B300 B600 B900 B1200 B1800 B2400 B3600 B4800 B7200 B9600 B19200 B38400 EXTA EXTB Baud rate: Hang up 50 baud 75 baud 110 baud 134.
termio(7) termio(7) The initial hardware control value after open is B300 , CS8 , CREAD , and HUPCL . Local Modes The c_lflag field is used to control terminal functions. ISIG Enable signals. ICANON Canonical input (erase and kill processing). XCASE Canonical upper/lower presentation. ECHO Enable echo. ECHOE Echo ERASE as correcting backspace sequence. ECHOK Echo NL after kill character. ECHONL Echo NL. NOFLSH Disable flush after interrupt, quit, or suspend. TOSTOP Send SIGTTOU for background output.
termio(7) termio(7) If ECHOKE and ECHO are set, the KILL character is echoed by erasing each character on the line from the CRT screen using using the method selected by ECHOE and ECHOPRT. If ECHOCTL and ECHO are set, all control characters (characters with codes between 0 and 37 octal) other than ASCII TAB, ASCII NL, the START and STOP characters, ASCII CR, and ASCII BS are echoed as ˆchar, where char is the character given by adding 100 octal to the control character’s code.
termio(7) termio(7) termios Structure Function cfgetospeed() cfgetispeed() cfsetospeed() cfsetispeed() tcgetattr() tcsetattr() Functions Description get output baud rate get input baud rate set output baud rate set input baud rate get terminal state set terminal state termio Structure-Related OCTL Commands Several ioctl() system calls apply to terminal files that use the termio structure (see termio Structure). If a requested command is not recognized, the request returns -1 with errno set to [EINVAL].
termio(7) termio(7) If the designated process has exited, the SIGIO signal is not sent to any process. If the integer referenced by arg is 0, system asynchronous I/O is disabled. The default on open of a terminal device file is that system asynchronous I/O is disabled. FIOGSAIOSTAT The integer referenced by arg is set to 1 if system asynchronous I/O is enabled. Otherwise, the integer referenced by arg is set to 0.
termio(7) termio(7) Commands using this form are: FIONREAD Returns in the integer referenced by arg the number of characters immediately readable from the terminal device file. This command is allowed from a background process; however, the data itself cannot be read from a background process. Non-blocking I/O IOCTL Commands Non-blocking I/O is easily provided via the O_NONBLOCK and O_NDELAY flags available in both open(2) and fcntl(2).
termio(7) termio(7) respectively). The following structure, used with process group control, is defined in
termio(7) termio(7) TIOCSPGRP Sets the foreground process group associated with the terminal to the value referenced by arg. This feature is easily implemented using the tcsetpgrp() function (see tcsetpgrp(3C)). If the ioctl() call fails, it returns -1 and sets errno to one of the following values: TIOCGSID [EBADF] fildes is not a valid file descriptor. [EINVAL] The process ID referenced by arg is not a supported value.
termio(7) termio(7) Commands using this form are: TIOCGWINSZ Get the terminal size values and store them in the winsize structure referenced by arg. This command is allowed from a background process. TIOCSWINSZ Set the terminal size values from the winsize structure referenced by arg. If any of the new values differ from previous values, a SIGWINCH signal is sent to all processes in the terminal’s foreground process group.
termio(7) termio(7) SAM or kctune(1M) may be used to change the nclist value. DEPENDENCIES Workstations Built-in serial ports on workstation machines support the following additional baud rate settings: 57 600, and 115 200. An RS-232-to-RS-422 converter may be required to achieve practical cable lengths at these baud rates (because RS-232 only specifies up to 19 200 baud). Timed delays are not supported.
termio(7) termio(7) Bit m3 m2 m1m0 Value TI/ALP 0 = Simple protocol (U.S.), 1 = CCITT protocol (Europe) 00 = Direct 01 = Dial-out modem 10 = Dial-in modem 11 = Invalid Servers Timed output delays are not directly supported. If used, an appropriate number of fill characters (based on the current baud rate) is output. The total time to output the fill characters is at least as long as the time requested.
termio(7) termio(7) Bit m3 m2 m1m0 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 by HP and the IEEE Computer Society. termio was developed by HP, AT&T, and the University of California, Berkeley.
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.
VLAN(7) VLAN(7) NAME VLAN - virtual LAN administration SYNOPSIS /usr/sbin/lanadmin -V create vlanid vlanid [pri priority] [tos ToS_value] [vppa vppa] [name name] [tos_override level] [pri_override level] ppa /usr/sbin/lanadmin -V modify [vlanid vlanid] [pri priority] [tos ToS_value] [name name] [tos_override level] [pri_override level] vppa /usr/sbin/lanadmin -V delete vppa /usr/sbin/lanadmin -V scan /usr/sbin/lanadmin -V info vppa /usr/sbin/lanadmin -V basevppa /usr/sbin/lanadmin -V help /usr/sbin/lanad
VLAN(7) VLAN(7) level 802.1p user priority. Priority override applies to outbound frames only. The priority override level strings for outbound traffic are: CONF_PRI IP_HEADER CONF_TOS Your specified priority value will be used. The IP header ToS will be converted to 802.1p priority. Your specified ToS value will be converted to 802.1 priority. tos ToS_value Specify ToS, the IP precedence in the IP header. Switches ignore ToS. Routers may use it. The valid range is 0-255. The default is 0.
VLAN(7) VLAN(7) You can either specify a virtual PPA (VPPA) number greater than the minimum allowed VPPA number (5000) or allow the system to assign a VPPA number. Suppose you want to create a VLAN with a VPPA of 6050 and a vlanid of 4 on PPA 0, you can use the following command: # lanadmin -V create vlanid 4 vppa 6050 0 Upon successful creation, the following message is displayed: Successfully configured.
VLAN(7) VLAN(7) lanadmin -a vppa lanadmin -s vppa lanadmin -m vppa Now let’s explore the outputs of lanadmin -V scan and lanscan -p.
VLAN(7) Path 1/4/0/0 VLAN(7) Address In# 0x006023456789 1 State NamePPA DOWN lan1 snap1 Extended Station Address 0x006023456789 ID Type Support Mjr# 1 ETHER Yes 119 LLC Encapsulation Methods IEEE HPEXTIEEE SNAP ETHER NOVELL Driver Specific Information btlan ----------------------------------------------------------------------Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI Path Address In# State NamePPA ID Type Support Mjr# VLAN5000 0x006023456789 5000 DOWN lan5000 snap5000 15 ETHER Yes 1
VLAN(7) VLAN(7) Successfully modified lan5000. Old value: tos 100 tos_override CONF_TOS pri_override IP_HEADER New value: tos 64 tos_override IP_HEADER pri_override CONF_PRI Let’s take a look at the lanadmin -V scan , lanadmin -V info , and lanscan -v snapshot of the system after successful modification of two VPPAs: VPPA 6050 on PPA 0 and VPPA 5000 on PPA 1.
VLAN(7) VLAN(7) run the stop sequence of the scripts. To delete the lan5001 interface, type the following commands: # ifconfig lan5001 unplumb # /sbin/rc2.d/S565SnmpMib2 stop # /sbin/rc2.d/S810mwa stop Now, lanadmin -p 5001 will not display anything, and the interface can be deleted. Once the interface is deleted, you can restart the scripts by issuing the start sequence: # /sbin/rc2.d/S565SnmpMib2 start # /sbin/rc2.
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 size_t dev_t vi_breakup_size; vi_align_offset; vi_block_device; /* I/O breakup size in bytes */ /* 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 always succeed. Private mmap() of a zero special file is allowed (see mmap(2)). Shared mmap() is allowed but the memory region can be shared only with descendants of the current process.
(Notes) (Notes) z 236 Hewlett-Packard Company −1− HP-UX 11i Version 2: December 2007 Update
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) address A number used in information storage or retrieval to specify and identify memory location. An address is used to mark, direct, indicate destination, instruct or otherwise communicate with computer elements. In mail, address is a data structure whose format can be recognized by all elements involved in transmitting information.
glossary(9) glossary(9) boot, boot-up The process of loading, initializing, and running an operating system. boot area A portion of a mass storage medium on which the volume header and a "bootstrap" program used in booting the operating system reside. The boot area is reserved exclusively for use by HP-UX. b boot ROM A program residing in ROM (Read-Only Memory) that executes each time the computer is powered up and is designed to bring the computer to a desired state by means of its own action.
glossary(9) glossary(9) command A directive to perform a particular task. HP-UX commands are executed through a command interpreter called a shell. HP-UX supports several shells, including the POSIX shell (sh-posix(1)), the C shell (csh(1)), and the Korn shell (ksh(1)). See sh(1) for more information about supported shells.
glossary(9) glossary(9) current working directory See working directory. daemon A process which runs in the background, and which is usually immune to termination instructions from a terminal. Its purpose is to perform various scheduling, clean-up, and maintenance jobs. lpsched(1M) is an example of a daemon. It exists to perform these functions for line printer jobs queued by lp(1). An example of a permanent daemon (that is, one that should never die) is cron(1M).
glossary(9) glossary(9) dot-dot See .. (dot-dot). dot-oh See .o (dot-oh). dot-oh file See .o (dot-oh). dot-oh format See .o (dot-oh). d downshifting The conversion of an uppercase character to its lowercase representation. dynamic loader A routine invoked at process startup time that loads shared libraries into a process’s address space. The dynamic loader also resolves symbolic references between a program and the shared libraries, and initializes the shared libraries’ linkage tables. See dld.
glossary(9) glossary(9) EOF See end-of-file. Epoch The time period beginning at 0 hours, 0 minutes, 0 seconds, Coordinated Universal Time (UTC) on January 1, 1970. Increments quantify the amount of time elapsed from the Epoch to the referenced time. Leap seconds, which occur at irregular intervals, are not reflected in the count of seconds between the Epoch and the referenced time. (Fourteen leap seconds occurred in the years 1970 through 1988.) FIFO special file A type of file.
glossary(9) glossary(9) The value of a file descriptor has a range from 0 to one less than the system-defined maximum. The system-defined maximum is the value NOFILE in . file group class A process is in the file group class of a file if the process is not the file owner class and if the effective group ID or one of the supplementary group IDs of the process matches the group ID associated with the file. file hierarchy The collection of one or more file systems available on a system.
glossary(9) glossary(9) file times update Each file has three associated time values that are updated when file data is accessed or modified, or when the file status is changed. These values are returned in the file characteristics structure, as described in . For each function in HP-UX that reads or writes file data or changes the file status, the appropriate time-related files are noted as "marked-for-update".
glossary(9) glossary(9) directory; it simply gives you a convenient way of referring to what is probably your most commonly used directory. host name An ASCII string of at most 8 characters (of which only 6 are supported by all the various manufacturers’ UNIX-like operating systems) which uniquely identifies an HP-UX system on a uucp(1) network. The host name for your system can be viewed and/or set with the hostname(1) command.
glossary(9) glossary(9) job control Job control allows users to selectively stop (suspend) execution of processes and continue (resume) their execution at a later time. The user employs this facility via the interactive interface jointly supplied by the system terminal driver and certain shells (see sh(1)). The terminal driver recognizes a user-defined "suspend character", which causes the current foreground process group to stop and the user’s job control shell to resume.
glossary(9) glossary(9) localization The process of adapting existing software to meet the local language, customs, and character set requirements of a particular geographical area. 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.
glossary(9) glossary(9) operation, and msg_ctime is the time of the last msgctl(2) operation that changed a member of the above structure. message operation permissions In the msgop(2) and msgctl(2) system call descriptions, the permission required for an operation is indicated for each operation.
glossary(9) glossary(9) environment. Run levels are table driven, and are specified by init(1M), which sets the run level by looking at the file /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) change their contents, etc. The owner can also change the files’ modes. parent directory The directory one level above a directory in the file hierarchy. All directories except the root directory (/) have one (and only one) parent directory. The root directory has no parent. See also dot and dotdot.
glossary(9) glossary(9) permission bits The nine least-significant bits of a file’s mode are referred to as file permission bits. These bits determine read, write, and execute permissions for the file’s owner, the file’s group, and all others. The bits are divided into three parts: owner, group and other. Each part is used with the corresponding file class of processes. The bits are contained in the file mode, as described in stat(5).
glossary(9) glossary(9) process group leader A process group leader is a process whose process ID is the same as its process group ID. process group lifetime A period of time that begins when a process group is created and ends when the last remaining process in the group leaves the group, either due to process termination or by calling the setsid(2) or setpgid(2) functions.
glossary(9) glossary(9) real user ID A positive integer which is assigned to every user on the system. A real user ID is assigned to every valid login name in the file /etc/passwd . The modifier "real" is used because a user can also have an effective user ID (see effective user ID). Every time a process creates a child process (via fork(2)), that process has a real user ID equal to the parent process’s real user ID. This is useful for determining file access privileges within the process.
glossary(9) glossary(9) saved set-group-ID See saved group ID. saved set-user-ID See saved user ID. SCCS See Source Code Control System. Source Code Control System (SCCS) A set of HP-UX commands that enables you to store changes to an SCCS file as separate "units" (called deltas). These units, each of which contains one or more textual changes to the file, can then be applied to or excluded from the SCCS file to obtain different versions of the file.
glossary(9) glossary(9) ushort semncnt; /* # awaiting semval > cval */ ushort semzcnt; /* # awaiting semval = 0 */ semval is a nonnegative integer. sempid is equal to the process ID of the last process that performed a semaphore operation on this semaphore. semncnt is a count of the number of processes that are currently suspended awaiting this semaphore’s semval to become greater than its current value.
glossary(9) glossary(9) shared memory identifier (shmid) A unique positive integer created by a shmget(2) system call. Each shmid has a segment of memory (referred to as a shared memory segment) and a data structure associated with it.
glossary(9) glossary(9) shell program See shell script. shell script A sequence of shell commands and shell programming language constructs stored in a file and invoked as a user command (program). No compilation is needed prior to execution because the shell recognizes the commands and constructs that make up the shell programming language. A shell script is often called a shell program or a command file. See the Shells User Guide. shmid See shared memory identifier.
glossary(9) glossary(9) source of all data read from stdin, but it can be redirected from another source. standard output The destination of output data from a program. The standard output file is often called stdout, and is automatically opened for writing on file descriptor 1 for every command invoked. By default, the user’s terminal is the destination of all data written to stdout, but it can be redirected elsewhere. stderr See standard error. stdin See standard input. stdout See standard output.
glossary(9) glossary(9) system The HP-UX operating system. See also kernel. system asynchronous I/O A method of performing I/O whereby a process informs a driver or subsystem that it wants to know when data has arrived or when it is possible to perform a write request. The driver or subsystem maintains a set of buffers through which the process performs I/O. See ioctl(2), read(2), select(2), and write(2) for more information.
glossary(9) glossary(9) upshifting The conversion of a lowercase character to its uppercase representation. user ID Each system user is identified by an integer known as a user ID, which is in the range of zero to UID_MAX , inclusive. Depending on how the user is identified with a process, a user ID value is referred to as a real user ID, an effective user ID, or a saved user ID. UTC See Epoch.
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. Section 2: System Calls Entries into the HP-UX kernel, including the C-language interface.
introduction(9) introduction(9) 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. HP-UX uses control characters to perform certain functions.
introduction(9) introduction(9) Common Redefinition eof erase kill Default At Login Character (ASCII Name; Key Names) ^D (EOT) # @ ^H (BS; Backspace) ^U (NAK), ˆX (CAN) intr quit ˆ? (DEL; Delete, Rub, Rubout) ˆ\ (FS) ^C (ETX) start stop ˆQ (DC1; X-ON) ˆS (DC3; X-OFF) stty Name 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).
introduction(9) introduction(9) appropriate manpages: sh-posix(1) for the POSIX shell, ksh(1) for the Korn shell, or csh(1) for the C shell. The Current Directory HP-UX has a file system arranged in a hierarchy of directories. When the system administrator gave you a user name, he or she also created a directory for you (ordinarily with the same name as your user name, and known as your login or home directory).
introduction(9) introduction(9) display (if permission to do so has been granted by the other user). Otherwise, elm , mailx , or mail (in order of ease of use) can send a message to another user’s mailbox. The user is then informed by HP-UX that mail has arrived (if currently logged in) or mail is present (when the user next logs in). Refer to elm(1), mail(1), mailx(1), and write(1) for explanations of how these commands are used. ACKNOWLEDGEMENTS UNIX is a registered trademark of The Open Group.
(Notes) 272 Hewlett-Packard Company (Notes) −1− HP-UX 11i Version 2: December 2007 Update
Index All Volumes
Index All Volumes
Index All Volumes Description Entry Name(Section) . ........................................................................................................................................................ glossary(9) . - execute file commands in current shell ......................................................................................... sh-posix(1) .. ..................................................................................................................................................
Index All Volumes Description Entry Name(Section) __uc_get_ar_ccv() - ucontext_t (user context) access ................................................................. uc_access(3) __uc_get_ar_csd() - ucontext_t (user context) access ................................................................. uc_access(3) __uc_get_ar_ec() - ucontext_t (user context) access ................................................................... uc_access(3) __uc_get_ar_fpsr() - ucontext_t (user context) access ...........
Index All Volumes Description Entry Name(Section) .................................................................................................................. _UNW_currentContext(3X) _UNW_getAlertCode() - query values in unwind library data structure ............................... _UNW_getGR(3X) _UNW_getAR() - query values in unwind library data structure ............................................. _UNW_getGR(3X) _UNW_getBR() - query values in unwind library data structure .........................
Index All Volumes Description Entry Name(Section) access control lists (ACLs) of files, list ....................................................................................................... lsacl(1) access control lists, introduction to ............................................................................................................ aclv(5) access control lists, introduction to ..............................................................................................................
Index All Volumes Description Entry Name(Section) accounting file size, defines the maximum ........................................................................ max_acct_file_size(5) accounting files, process, convert to ASCII text format ..................................................................... acctprc(1M) accounting files, process, summarize by user ID and name ............................................................... acctprc(1M) accounting files, search and print ...................
Index All Volumes Description Entry Name(Section) (ACL) information (JFS File Systems only); set a file’s Access Control List ................................................. acl(2) (ACL) information; set access control list ............................................................................................... setacl(2) acl() - set a file’s Access Control List (ACL) information (JFS File Systems only) ..................................... acl(2) ACL; view or modify ................................
Index All Volumes Description Entry Name(Section) add a new group to the system ..................................................................................................... groupadd(1M) add a new user login to the system ................................................................................................. useradd(1M) add a printer for use with tsm ................................................................................................ tsm.
Index All Volumes Description Entry Name(Section) admin - create and administer SCCS files ............................................................................................. admin(1) administer and create SCCS files .......................................................................................................... admin(1) administer disk space used for caching file systems with CacheFS ................................................ cfsadmin(1M) administer NIS+ groups ...................
Index All Volumes Description Entry Name(Section) alias - substitute command and/or file name ................................................................................... sh-posix(1) alias - substitute command and/or filename ............................................................................................. csh(1) alias - substitute command and/or filename ............................................................................................ ksh(1) alias text file ...................
Index All Volumes Description Entry Name(Section) annuityf() - present value factor for annuity (float) ..................................................................... annuity(3M) annuityl() - present value factor for annuity (long double) .......................................................... annuity(3M) annuityq() - present value factor for annuity (quad) .................................................................... annuity(3M) annuityw() - present value factor for annuity (extended) ....
Index All Volumes Description Entry Name(Section) ARIES - dynamically and transparently execute PA-RISC HP-UX applications on Integrity systems running HP-UX ........................................................................................................................ ARIES(5) aries - dynamically and transparently execute PA-RISC HP-UX applications on Integrity systems running HP-UX ....................................................................................................................
Index All Volumes Description Entry Name(Section) Async Cancel Safe .................................................................................................................... thread_safety(5) Async Signal Safe ..................................................................................................................... thread_safety(5) asynchronous disk ports that can be open at any time, maximum number of ......................
Index All Volumes Description Entry Name(Section) attributes and storage formats; all objects that Software Distributor (SD) uses ............................................ sd(4) attributes associated with a message queue; get status information and ....................................... mq_getattr(2) attributes - describe audio file .................................................................................................... attributes(1) attributes for group, get special ........................
Index All Volumes Description Entry Name(Section) audomon - audit-overflow monitor daemon ................................................................................... audomon(1M) audswitch(2) - HP-UX Auditing System described ................................................................................... audit(5) audswitch() - suspend or resume auditing on the current process ............................................... audswitch(2) audsys(1M) - HP-UX Auditing System described ................
Index All Volumes Description Entry Name(Section) background character and rendition using a single-byte character ........................................................ bkgd(3X) background process group ................................................................................................................. glossary(9) background processes to complete, wait for .............................................................................................. wait(1) backing store pointer arithmetic .
Index All Volumes Description Entry Name(Section) bind a socket to a privileged IP port ....................................................................................... bindresvport(3N) bind address to transport endpoint (X/OPEN TLI-XTI) ......................................................................... t_bind(3) bind an address to a socket ......................................................................................................................
Index All Volumes Description Entry Name(Section) that will not make any changes to the ......................................................................... drd-runcmd(1M) BOOTP server, send BOOTREQUEST to ................................................................................. bootpquery(1M) bootpd, command line tools for DHCP elements of ....................................................................... dhcptools(1M) bootpquery - send BOOTREQUEST to BOOTP server ........................
Index All Volumes Description Entry Name(Section) byte order, network and host, convert values between ................................................................. byteorder(3N) byte, compare memory contents with specified ................................................................................ memory(3C) byte, find location of in memory ......................................................................................................
Index All Volumes Description Entry Name(Section) call graph execution profile data, display ................................................................................................ gprof(1) call stack using the unwind library, produce a trace back of the procedure ..................... U_STACK_TRACE(3X) call terminal- spawn getty to remote terminal .............................................................................................. ct(1) callback routines for stack unwind, register ......
Index All Volumes Description Entry Name(Section) catalog file, generate a formatted message ........................................................................................... gencat(1) catalog file, message, create for modification ...................................................................................... findmsg(1) catalog for reading, close or open NLS message ............................................................................... catopen(3C) catalog path, configure message .
Index All Volumes Description Entry Name(Section) ceill() - ceiling function (long double) ................................................................................................. ceil(3M) ceilq() - ceiling function (quad) ........................................................................................................... ceil(3M) ceilw() - ceiling function (extended) .....................................................................................................
Index All Volumes Description Entry Name(Section) change owner of an NIS+ object ...................................................................................................... nischown(1) change priority of a process ...................................................................................................................... nice(2) change processor set assignment ..................................................................................................
Index All Volumes Description Entry Name(Section) character, get a wide character from a terminal .............................................................................. get_wch(3X) character, get number of bytes in a character ................................................................................... mbrlen(3C) character, insert a wide-character string into a window ............................................................... ins_nwstr(3X) character, multi-byte, insert into a window ....
Index All Volumes Description Entry Name(Section) checker, hfs file system quota consistency .......................................................................... quotacheck_hfs(1M) checker, VxFS file system quota consistency .................................................................... quotacheck_vxfs(1M) checking and debugging purposes; privilege manipulation operations for ........................................ privileges(3) checking VxFS file system with label .............................
Index All Volumes Description Entry Name(Section) classify characters according to type .................................................................................................... ctype(3C) classify characters according to type ................................................................................................. wctype(3C) clean file system at last system shutdown, test for ...........................................................................
Index All Volumes Description Entry Name(Section) clock() - report CPU time used .......................................................................................................... clock(3C) clock resolution; get .............................................................................................................................. clocks(2) clock tick ...........................................................................................................................................
Index All Volumes Description Entry Name(Section) cmp - compare two files ............................................................................................................................. cmp(1) cmpt_change() - set and get process’ compartment ................................................................. cmpt_change(3) cmpt_endent() - map compartment name to number or number to name .......................... cmpt_getbynum(3) cmpt_get() - set and get process’ compartment ....................
Index All Volumes Description Entry Name(Section) command, remote, return a stream to .................................................................................................. rcmd(3N) command, report execution time of, process accounting data and system activity ................................... timex(1) command, return stream to a remote .................................................................................................. rexec(3N) command, run at nondefault priority ..............
Index All Volumes Description Entry Name(Section) compartment rules; display ............................................................................................................ getrules(1M) compartment rules; set ................................................................................................................... setrules(1M) compartment; set and get ..........................................................................................................
Index All Volumes Description Entry Name(Section) complex sine functions ........................................................................................................................... csin(3M) complex square root functions .............................................................................................................. csqrt(3M) complex tangent functions .....................................................................................................................
Index All Volumes Description Entry Name(Section) configuration file for the SNMP agent .......................................................................................... snmpd.conf(4) configuration file routines; security defaults .......................................................................................... secdef(3) configuration file, change system .........................................................................................................
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 device driver, SCSI device ........................................................................................................ sioc_io(7) control disk array management functions .......................................................................................... amutil(1M) control facilities, 4.2 BSD-compatible process .................................................................................. bsdproc(3C) control facilities; 4.
Index All Volumes Description Entry Name(Section) conversion, formatted input, to a varargs argument ........................................................................... vscanf(3S) conversions database .............................................................................................................. ftpconversions(4) conversions, multibyte characters and strings ..............................................................................
Index All Volumes Description Entry Name(Section) copy a file into memory .................................................................................................................... copylist(3C) copy a region of window .................................................................................................................. copywin(3X) copy access control list (ACL) to another file .........................................................................................
Index All Volumes Description Entry Name(Section) coshf() - hyperbolic cosine function (float) .......................................................................................... cosh(3M) coshl() - hyperbolic cosine function (long double) ............................................................................... cosh(3M) coshq() - hyperbolic cosine function (quad) .........................................................................................
Index All Volumes Description Entry Name(Section) crash dump of the operating system, save ................................................................................... savecrash(1M) crash dump, open for reading ............................................................................................................. cr_open(3) crash dump, read from .......................................................................................................................
Index All Volumes Description Entry Name(Section) create sendmail alias file ............................................................................................................... sendmail(1M) create session and set process group ID ................................................................................................. setsid(2) create session and set process group ID; for HP-UX 9.x compatibility. ..............................................
Index All Volumes Description Entry Name(Section) ct - spawn getty to remote terminal (call terminal) ...................................................................................... ct(1) ctags - create a tags file ......................................................................................................................... ctags(1) ctan() - complex tangent function .......................................................................................................
Index All Volumes Description Entry Name(Section) cursor, output movement commands to the terminal .......................................................................... mvcur(3X) cursor, set the cursor mode ............................................................................................................. curs_set(3X) cursor, window location functions .........................................................................................................
Index All Volumes Description Entry Name(Section) data segment space allocation; change ....................................................................................................... brk(2) data structure, allocate and deallocate unwind library ................................. _UNW_createContextForSelf(3X) data structure, query values in unwind library ....................................................................... _UNW_getGR(3X) data to a file; write ......................................
Index All Volumes Description Entry Name(Section) datalock() - lock process into memory after allocating data and stack space ............................... datalock(3C) date and ctime(); time zone adjustment table for ................................................................................ tztab(4) date and time more precisely; get ........................................................................................................... ftime(2) date and time, convert to string ..................
Index All Volumes Description Entry Name(Section) debugger: absolute debugger ..................................................................................................................... adb(1) debugger: assembler debugger ................................................................................................................... adb(1) debugger: object code debugger .................................................................................................................
Index All Volumes Description Entry Name(Section) delete a file or directory .............................................................................................................................. rm(1) delete a group from the system ..................................................................................................... groupdel(1M) delete a node from a binary search tree ............................................................................................
Index All Volumes Description Entry Name(Section) descriptor table; get the size of the per-process file ................................................................... getdtablesize(2) descriptor to a specific slot; duplicate an open file .................................................................................... dup2(2) descriptor, map stream pointer to file ..................................................................................................
Index All Volumes Description Entry Name(Section) device drivers in the system, list .......................................................................................................... lsdev(1M) device drivers to interact with DLPI .................................................................................................. dlpi_drv(4) device drivers; Small Computer System Interface ..................................................................................... scsi(7) device file ........
Index All Volumes Description Entry Name(Section) diagnostics, local area network ..................................................................................................... lanadmin(1M) dial() - establish an out-bound terminal line connection ...................................................................... dial(3C) dialer description file format, ppp ................................................................................................ ppp.
Index All Volumes Description Entry Name(Section) directory, move multiple files to another directory ...................................................................................... mv(1) directory, remove an EFI ............................................................................................................. efi_rmdir(1M) directory, rename directory ........................................................................................................................
Index All Volumes Description Entry Name(Section) disk accounting data, disk usage by user ID ..................................................................................... diskusg(1M) disk accounting, perform ................................................................................................................... acctsh(1M) disk array controllers, download new firmware ..............................................................................
Index All Volumes Description Entry Name(Section) display and modify boot variables in stable storage .......................................................................... setboot(1M) display and update information about top processes on system ................................................................... top(1) display audit information as requested by parameters ...................................................................... audisp(1M) display call graph execution profile data ..........
Index All Volumes Description Entry Name(Section) dlmodinfo() - retrieve information on loaded module (program or shared library) .................... dlmodinfo(3C) dlmodremove() - remove information registered using dlmodadd ........................................ dlmodremove(3C) dlopen()/shl_load(); list the dynamic libraries linked into each process, including shared objects explicitly attached using ........................................................................................................
Index All Volumes Description Entry Name(Section) DOS files: report number of free DOS disk clusters .................................................................................. dosdf(1) DOS Interchange Format description ...................................................................................................... dosif(4) dos2ux, ux2dos - convert ASCII file format .........................................................................................
Index All Volumes Description Entry Name(Section) dremq() - remainder functions .................................................................................................. remainder(3M) dremw() - remainder functions .................................................................................................. remainder(3M) drift analyzer; system configuration ....................................................................................... bastille_drift(1M) driver .........................
Index All Volumes Description Entry Name(Section) dynamic linking process, diagnostic information ............................................................................... dlerror(3C) dynamic loader ....................................................................................................................................... dld.sl(5) dynamic loader ...................................................................................................................................... dld.
Index All Volumes Description Entry Name(Section) efi_fsinit - write an EFI file system header on a device file ...................................................... efi_fsinit(1M) efi_ls - list EFI file information or contents of an EFI directory ....................................................... efi_ls(1M) efi_mkdir - make an EFI directory ............................................................................................ efi_mkdir(1M) efi_rm - remove an EFI file ...........................
Index All Volumes Description Entry Name(Section) eliminate adjacent repeated lines in a file ................................................................................................ uniq(1) eliminate duplicate entries in a table ................................................................................................ lsearch(3C) eliminate multiple adjacent blank lines, reduce to single blank line ............................................................
Index All Volumes Description Entry Name(Section) endfsent() - close file system descriptor file ................................................................................. getfsent(3X) endgrent() - close currently open group() file ............................................................................ getgrent(3C) endhostent() - end network host entry .................................................................................... gethostent(3N) endhostent() - get network host entry .......
Index All Volumes Description Entry Name(Section) environment ...................................................................................................................................... glossary(9) environment configuration command; NFS ................................................................................. setoncenv(1M) environment daemon, system physical .................................................................................................
Index All Volumes Description Entry Name(Section) errors, find spelling .................................................................................................................................. spell(1) errors, library routines for server side remote procedure call errors ......................................... rpc_svc_err(3N) establish an out-bound terminal line connection .....................................................................................
Index All Volumes Description Entry Name(Section) execute command with constructed large argument list(s) ...................................................................... xargs(1) execute commands at a later time ................................................................................................................ at(1) execute commands in background ................................................................................................................
Index All Volumes Description Entry Name(Section) expedited data over a connection (X/OPEN TLI-XTI) .............................................................................. t_snd(3) expf() - exponential function (float) ...................................................................................................... exp(3M) expl() - exponential function (long double) ...........................................................................................
Index All Volumes Description Entry Name(Section) fabsl() - absolute value function (long double) .................................................................................... fabs(3M) fabsq() - absolute value function (quad) .............................................................................................. fabs(3M) fabsw() - absolute value function (extended) ....................................................................................... fabs(3M) facilities, 4.
Index All Volumes Description Entry Name(Section) feraiseexcept() - raise floating-point exceptions .............................................................. feraiseexcept(3M) ferror() - check for I/O error on stream ........................................................................................... ferror(3S) ferror_unlocked() - stream status inquiries .................................................................................. ferror(3S) fesetenv() - set floating-point environment .....
Index All Volumes Description Entry Name(Section) file descriptor to a specific slot; duplicate an open .................................................................................... dup2(2) file descriptor, make, for ELF files ................................................................................................. elf_begin(3E) file descriptor, map stream pointer to ..................................................................................................
Index All Volumes Description Entry Name(Section) file names, long, convert a file system to allow ............................................................................. convertfs(1M) file offset ............................................................................................................................................ glossary(9) file on remote node; return file handle for ...............................................................................................
Index All Volumes Description Entry Name(Section) file system statistics, get ................................................................................................................ statfsdev(3C) file system statistics, get .............................................................................................................. statvfsdev(3C) file system statistics; get ........................................................................................................................
Index All Volumes Description Entry Name(Section) file through a socket; send the contents of a ....................................................................................... sendfile(2) file times update ................................................................................................................................ glossary(9) file to a specified length; truncate a ...................................................................................................
Index All Volumes Description Entry Name(Section) file: access wtmp() or utmp() file ........................................................................................................ getut(3C) file: change file mode access permissions .............................................................................................. chmod(1) file: control a file descriptor for ELF files ..........................................................................................
Index All Volumes Description Entry Name(Section) files or shared libraries on PA-RISC systems; list dynamic dependencies of executable ......................... ldd_pa(1) files used for trusted systems; protected password authentication database .......................................... prpwd(4) files with multiple hardlinks; checks the consistency of compartment rules for .......................... vhardlinks(1M) files, accounting, search and print ........................................................
Index All Volumes Description Entry Name(Section) files: dump file in octal or hexadecimal format ............................................................................................. od(1) files: eliminate adjacent repeated lines in a file ........................................................................................ uniq(1) files: error message file, extract error messages from C source into ....................................................... mkstr(1) files: expand compressed file ..
Index All Volumes Description Entry Name(Section) find a wide-character in memory ................................................................................................. wmemory(3C) find adjacent repeated lines in a file ......................................................................................................... uniq(1) find differences among three files .............................................................................................................
Index All Volumes Description Entry Name(Section) floating-point exceptions: getting trap enables ................................................................... fegettrapenable(3M) floating-point exceptions: raising ........................................................................................... feraiseexcept(3M) floating-point exceptions: setting trap enables ................................................................... fesettrapenable(3M) floating-point exceptions: testing ..........
Index All Volumes Description Entry Name(Section) fontdl - download fonts to printer ...................................................................................................... lpfilter(1) footprint records; summarize information from compiler ................................................................ footprints(1) footprints - summarize information from compiler footprint records ..........................................
Index All Volumes Description Entry Name(Section) formatted message catalog file, generate a ........................................................................................... gencat(1) formatted message, displays on standard error and console .............................................................. fmtmsg(3C) formatted output of a varargs argument list, print ............................................................................ vprintf(3S) formatted output, print in a window .........
Index All Volumes Description Entry Name(Section) fs_symlinks - maximum number of symbolic links used to resolve a path name ....................... fs_symlinks(5) fs_vxfs - format of a VxFS file system volume ................................................................................... fs_vxfs(4) fs_wrapper - configuration and binary files used by file system administration commands ......... fs_wrapper(5) fsadm - file system administration command ....................................................
Index All Volumes Description Entry Name(Section) ftpd conversions database ....................................................................................................... ftpconversions(4) ftpd - file transfer protocol server ........................................................................................................ ftpd(1M) ftpd individual user host access file ....................................................................................................
Index All Volumes Description Entry Name(Section) functions; VxFS file system control ........................................................................................................ vxfsio(7) funflockfile(), flockfile() - explicit locking of streams within a multi-thread application .... flockfile(3S) fuser - list processes using a file or file structure ............................................................................... fuser(1M) fwide() - set stream orientation .......................
Index All Volumes Description Entry Name(Section) generic file system debugger ................................................................................................................. fsdb(1M) generic file system, construct ............................................................................................................... mkfs(1M) generic I/O device control commands .......................................................................................................
Index All Volumes Description Entry Name(Section) get information for a global kernel symbol ......................................................................................... getksym(2) get legal user shells .................................................................................................................. getusershell(3C) get lines from last part of a file ..................................................................................................................
Index All Volumes Description Entry Name(Section) get time ................................................................................................................................................... time(2) get tty device operating parameters ........................................................................................... tcattribute(3C) get user ID ......................................................................................................................................
Index All Volumes Description Entry Name(Section) getevent() - get events and system calls that are currently being audited ..................................... getevent(2) getext - get VxFS extent attributes .................................................................................................. getext(1M) getfh() - return file handle for file on remote node ...............................................................................
Index All Volumes Description Entry Name(Section) getppid() - get process, process group and parent process ID ............................................................ getpid(2) getprdfent() - manipulate system default database entry ......................................................... getprdfent(3) getprdfnam() - manipulate system default database entry ......................................................... getprdfent(3) getpriority() - get or set process priority ..............................
Index All Volumes Description Entry Name(Section) getty for 2-way line accessible to uucp .......................................................................................... uugetty(1M) getty - set terminal type, modes, speed, and line discipline ................................................................ getty(1M) getty to remote terminal, spawn (call terminal) ............................................................................................
Index All Volumes Description Entry Name(Section) group availability (LVM), set volume ............................................................................................ vgchange(1M) group configuration, restore volume ........................................................................................ vgcfgrestore(1M) group entries in an LDAP directory server; display and enumerate POSIX-like account and ....... ldapuglist(1M) group entry, network, get or set .................................
Index All Volumes Description Entry Name(Section) gss_context_time() - check the number of seconds the context will remain valid .......... gss_context_time(3) gss_create_empty_oid_set() - create a new, empty OID set, to which members can be added ................................................................................................................ gss_create_empty_oid_set(3) gss_delete_sec_context(3) - delete security context .........................................
Index All Volumes Description Entry Name(Section) handle physical volume size changes of an existing LVM volume group ........................................ vgmodify(1M) handle special functions of HP 2640- and HP 2621-series terminals ............................................................... hp(1) handoff mode; disable mutex-specific or process-wide mutex .................... pthread_mutexattr_getspin_np(3T) hangups, run a command immune to ..........................................................
Index All Volumes Description Entry Name(Section) HFS file systems, mount and unmount ....................................................................................... mount_hfs(1M) HFS, or NFS file system disk blocks, report number of free CDFS, .................................................... df_hfs(1M) hfs_revra_per_disk - maximum HFS file system blocks to be read in one read-ahead operation when sequentially reading backwards ....................................................................
Index All Volumes Description Entry Name(Section) hosts_ctl() - access control library ......................................................................................... hosts_access(3) hosts_to_named - translate host table to name server file format ................................... hosts_to_named(1M) hotplug (attention button) events daemon, PCI I/O ....................................................................... hotplugd(1M) hotplugd - PCI I/O hotplug (attention button) events daemon ....
Index All Volumes Description Entry Name(Section) HPPACLONGDIVD() - HP 3000-mode packed-decimal library ............................................................... hppac(3X) HPPACMPYD() - HP 3000-mode packed-decimal library ....................................................................... hppac(3X) HPPACNSLD() - HP 3000-mode packed-decimal library ....................................................................... hppac(3X) HPPACSLD() - HP 3000-mode packed-decimal library .....................
Index All Volumes Description Entry Name(Section) I/O; control character device special file ................................................................................................... ioctl(2) I/O; read asynchronous ..................................................................................................................... aio_read(2) I/O; suspend for asynchronous completion ..................................................................................
Index All Volumes Description Entry Name(Section) if_indextoname() - index to interface name mapping ........................................................ if_nameindex(3N) if_nameindex() - interface to index mapping ..................................................................... if_nameindex(3N) if_nametoindex() - interface name to index mapping ........................................................ if_nameindex(3N) ifconfig - configure network interface parameters ...............................
Index All Volumes Description Entry Name(Section) inet6_rth_getaddr() - IPv6 Routing header options manipulation functions ................ inet6_rth_space(3N) inet6_rth_init() - IPv6 Routing header options manipulation functions. ..................... inet6_rth_space(3N) inet6_rth_reverse() - IPv6 Routing header options manipulation functions ................ inet6_rth_space(3N) inet6_rth_segments() - IPv6 Routing header options manipulation functions ..............
Index All Volumes Description Entry Name(Section) information, introduction to HP-UX general ............................................................................................ intro(9) information, NLS, about native languages ................................................................................. nl_langinfo(3C) information, SCCS identification, get from files .......................................................................................
Index All Volumes Description Entry Name(Section) input conversion, formatted read from stream file or character string .................................................. scanf(3S) input conversion, formatted, to a varargs argument ........................................................................... vscanf(3S) input editor and command history for interactive programs ....................................................................... ied(1) input mode control functions ...........................
Index All Volumes Description Entry Name(Section) integer, convert wide character string to long .................................................................................... wcstol(3C) integer, long, convert to string, ............................................................................................................ ltostr(3C) Integrity systems running HP-UX; dynamically and transparently execute PA-RISC HP-UX applications on ................................................................
Index All Volumes Description Entry Name(Section) internet services with Kerberos authentication and authorization; secure ................................................... sis(5) Internet Transmission Control Protocol, TCP ........................................................................................ TCP(7P) Internet user datagram protocol ........................................................................................................... UDP(7P) Internet user name directory service ....
Index All Volumes Description Entry Name(Section) ioctl commands; STREAMS .............................................................................................................. streamio(7) ioctl() - control device .......................................................................................................................... ioctl(2) ioctl - generic I/O device control commands ..............................................................................................
Index All Volumes Description Entry Name(Section) issue a shell command ....................................................................................................................... system(3S) issues and make a depot; download software from HP to resolve ..................................................... swa-get(1M) issues, and resolutions.; report software and security ................................................................
Index All Volumes Description Entry Name(Section) kerberos - introduction to the Kerberos system ................................................................................ kerberos(5) Kerberos keytab file maintenance utility ................................................................................................ ktutil(1) Kerberos password, change ............................................................................................................... kpasswd(1) Kerberos principals .....
Index All Volumes Description Entry Name(Section) keyboard, PS/2 device driver ...................................................................................................................... ps2(7) keyboard/display data order, convert file ............................................................................................... forder(1) keyenvoy(1M) - talk to the keyserv process ................................................................................
Index All Volumes Description Entry Name(Section) lan - network I/O card access information ................................................................................................. lan(7) LAN, log in on a remote system over ............................................................................................................. vt(1) lanadmin - local area network administration ............................................................................. lanadmin(1M) LANG ......................
Index All Volumes Description Entry Name(Section) directory server schema with new attribute types and object classes ............................... ldapschema(1) ldapugadd - add new accounts or groups to an LDAP directory server ...................................... ldapugadd(1M) ldapugdel - remove existing POSIX accounts or groups in an LDAP directory server ................ ldapugdel(1M) ldapuglist - display and enumerate POSIX-like account and group entries in an LDAP directory server ................
Index All Volumes Description Entry Name(Section) libk5crypto.so() - Kerberos client libraries ................................................................................... libkrb5(3) libkrb5.sl() - Kerberos client libraries ........................................................................................... libkrb5(3) libkrb5.so() - Kerberos client libraries ........................................................................................... libkrb5(3) libpthread interfaces ............
Index All Volumes Description Entry Name(Section) LIF files; copy to or from .......................................................................................................................... lifcp(1) lif - logical interchange format description ................................................................................................. lif(4) lifcp - copy to or from LIF files ..............................................................................................................
Index All Volumes Description Entry Name(Section) link count .......................................................................................................................................... glossary(9) link directories using symbolic links ............................................................................................................ ln(1) link editor and assembler output format ................................................................................................. a.
Index All Volumes Description Entry Name(Section) list users currently on the system ........................................................................................................... users(1) list which host is Network Information System server or map master .............................................. ypwhich(1) list, initialize group access ........................................................................................................... initgroups(3C) list, name, get entries from ...
Index All Volumes Description Entry Name(Section) locale of a program, get or set the .................................................................................................. setlocale(3C) locale, current, query numeric formatting conventions of ............................................................ localeconv(3C) locale-specific (NLS) information, get .....................................................................................................
Index All Volumes Description Entry Name(Section) log10l() - common logarithm function (long double) ......................................................................... log10(3M) log10q() - common logarithm function (quad) ................................................................................... log10(3M) log10w() - common logarithm function (extended) .............................................................................
Index All Volumes Description Entry Name(Section) login name of user, obtain ............................................................................................................... logname(3C) login name, change ...................................................................................................................................... su(1) login name, get ..................................................................................................................................
Index All Volumes Description Entry Name(Section) LP spooler performance analysis information, print ............................................................................ lpana(1M) LP spooling requests, move to a specified destination ...................................................................... lpsched(1M) LP spooling scheduler, start or stop ................................................................................................. lpsched(1M) LP spooling system; configure the ......
Index All Volumes Description Entry Name(Section) LVM or VxVM mirror of a system image is about to be manually removed; notify DRD that an ................................................................................................................. drd_unregister_mirror(1M) LVM physical volume group information file ....................................................................................... lvmpvg(4) LVM physical volume to other physical volumes, move allocated physical extents from ........
Index All Volumes Description Entry Name(Section) macros for handling variable argument lists ......................................................................................... stdarg(5) macros, check or print documents formatted using mm ............................................................................... mm(1) macros, complex functions and ..........................................................................................................
Index All Volumes Description Entry Name(Section) make a unique (usually temporary) file name .................................................................................. mktemp(3C) make an EFI directory ................................................................................................................. efi_mkdir(1M) make directory, special, or ordinary file ...............................................................................................
Index All Volumes Description Entry Name(Section) manipulation routines, Internet address ............................................................................................... inet6(3N) manpage, macro package for formatting ................................................................................................... man(5) manpages for faster viewing with man command, fix .........................................................................
Index All Volumes Description Entry Name(Section) math: arctangent-and-quadrant functions ........................................................................................... atan2(3M) math: base-10 exponential functions ................................................................................................... exp10(3M) math: base-2 exponential functions ....................................................................................................... exp2(3M) math: ceiling functions ..
Index All Volumes Description Entry Name(Section) math: scale exponent of a floating-point number ................................................................................. ldexp(3M) math: scale exponent of a radix-independent floating-point number ..................................................... scalb(3M) math: scale exponent of a radix-independent floating-point number .................................................
Index All Volumes Description Entry Name(Section) maxtsiz_64bit - maximum size (in bytes) of the text segment for any user process ......................... maxtsiz(5) maxuprc - limits the maximum number of user processes per user .................................................. maxuprc(5) maxusers - OBSOLETED ...............................................................................................................
Index All Volumes Description Entry Name(Section) memory statistics, report virtual .......................................................................................................... vmstat(1) memory that may not be locked by user processes, amount of physical ............................... unlockable_mem(5) memory to reserve for the 32-bit DMA pool, the amount of ................................................. dma32_pool_size(5) memory used by an unwind environment, free ........................
Index All Volumes Description Entry Name(Section) message queue; send a message to a ................................................................................................. mq_send(2) message queue; unlink a ............................................................................................................... mq_unlink(2) message queues, report status ..................................................................................................................
Index All Volumes Description Entry Name(Section) mkuupath, uupath - access and manage the pathalias database ......................................................... uupath(1) mlock() - lock a segment of the process virtual address space in memory ............................................ mlock(2) mlock() - lock segment of process address space in memory ................................................................ mlock(2) mlockall() - lock a process virtual address space in memory ................
Index All Volumes Description Entry Name(Section) modify, delete, copy, add, or summarize file access control lists (ACLs) ................................................... chacl(1) modifying Network Information Service passwd database, daemon for ..................................... yppasswdd(1M) modload() - load kernel modules on demand ...................................................................................
Index All Volumes Description Entry Name(Section) mounted file systems, keep track of remotely .................................................................................... mount(3N) mounts the inactive system image; mount mode ........................................................................ drd-mount(1M) mounts, show all remote .......................................................................................................... showmount(1M) mouse, PS/2 device driver ...................
Index All Volumes Description Entry Name(Section) multiple file descriptors; monitor I/O conditions on ................................................................................... poll(2) multiple file systems, mount and unmount ................................................................................... mountall(1M) multiple files, split file into .....................................................................................................................
Index All Volumes Description Entry Name(Section) mvinsnstr() - insert a multi-byte character into a window ............................................................. insnstr(3X) mvinsstr() - insert a multi-byte character into a window ............................................................... insnstr(3X) mvinstr() - input a multi-byte character string from a window ........................................................ innstr(3X) mvinwstr() - input a string of wide characters from a window ......
Index All Volumes Description Entry Name(Section) name of a slave pty, get the ............................................................................................................ ptsname(3C) name of current host system, set or display .................................................................................... hostname(1) name of current host system; get ...............................................................................................
Index All Volumes Description Entry Name(Section) names: extract portions of path names ........................................................................................... basename(1) namespace from HP-UX header files, description of named defines and other specifications for ......... stdsyms(5) namespace functions, NIS+ ......................................................................................................... nis_names(3N) namespace: remove NIS+ objects .............................
Index All Volumes Description Entry Name(Section) network and host byte order, convert values between .................................................................. byteorder(3N) network connections, C-Kermit 8.0 communications software for serial and ......................................... kermit(1) network connections, outgoing, list owners of .................................................................................. owners(1M) network entry, get or set ......................................
Index All Volumes Description Entry Name(Section) new process; create a ................................................................................................................................ fork(2) new version of the network information name service .............................................................................. nis+(1) new VxFS file system, construct a ..............................................................................................
Index All Volumes Description Entry Name(Section) nice() - change priority of a process ....................................................................................................... nice(2) nice - run a command at nondefault priority ........................................................................................... nice(1) ninode - maximum number of HFS file system open inodes that can be in memory ............................
Index All Volumes Description Entry Name(Section) NIS+ tables: utility for searching ..................................................................................................... nismatch(1) NIS+ transaction log, display contents ............................................................................................... nislog(1M) nis+ trusted table, daemon to maintain the nis+ password table in sync with the ............................
Index All Volumes Description Entry Name(Section) nisaddent - create NIS+ tables from corresponding /etc files or NIS maps .............................. nisaddent(1M) niscat - display NIS+ tables and objects .............................................................................................. niscat(1) nischgrp - change the group owner of an NIS+ object ..................................................................... nischgrp(1) nischmod - change access rights on an NIS+ object ..............
Index All Volumes Description Entry Name(Section) nm - print name list of common object file ................................................................................................... nm(1) nocbreak() - input mode control functions ...................................................................................... cbreak(3X) node and host names; enable maximum length expansion of the system ......... expanded_node_host_names(5) node from a binary search tree, delete a ...........................
Index All Volumes Description Entry Name(Section) nsupdate - Dynamic DNS update utility ......................................................................................... nsupdate(1) nswapdev - maximum number of devices that can be enabled for swap .......................................... nswapdev(5) nswapfs - maximum number of file systems that can be enabled for swap ........................................ nswapfs(5) nsysmap - number of entries in a kernel dynamic memory allocation map .........
Index All Volumes Description Entry Name(Section) object code debugger .................................................................................................................................. adb(1) object code file, print symbol table (name list) for ....................................................................................... nm(1) object code files in a library, find optimum sequence for ........................................................................
Index All Volumes Description Entry Name(Section) open or re-open a stream file; convert file to stream ............................................................................. fopen(3S) Open Shortest Path First (OSPF) ........................................................................................... ospf_monitor(1M) open, access, or close a directory ...................................................................................................
Index All Volumes Description Entry Name(Section) original, program for applying a diff file to an ........................................................................................ patch(1) orphan process .................................................................................................................................. glossary(9) orphaned process group .....................................................................................................................
Index All Volumes Description Entry Name(Section) packet routing; system support for local network ................................................................................ routing(7) packets, spray ..................................................................................................................................... spray(1M) packets; echo ........................................................................................................................................
Index All Volumes Description Entry Name(Section) pam_open_session() - perform PAM session creation and termination operations ........ pam_open_session(3) pam_set_data() - PAM routines to maintain module specific state ........................................ pam_set_data(3) pam_set_item() - authentication information routines for PAM ............................................ pam_set_item(3) pam_setcred() - modify and delete user credentials for an authentication service ...................
Index All Volumes Description Entry Name(Section) passwd file, change default login shell ..................................................................................................... chsh(1) passwd - password file, format ............................................................................................. passwd(4) password ...........................................................................................................................................
Index All Volumes Description Entry Name(Section) path: create, remove directories in a path ........................................................................................ mkdirp(3G) pathalias database, access and manage the ......................................................................................... uupath(1) pathalias - electronic address router ............................................................................................ pathalias(1) pathchk - check path names ......
Index All Volumes Description Entry Name(Section) application with privileges after .......................................................................................... privrun(1M) periodic accounting summary files, create .......................................................................................... acctsh(1M) permission bits ..................................................................................................................................
Index All Volumes Description Entry Name(Section) pipe: STREAMS-based pipe .......................................................................................................... isastream(3C) pipes to be STREAMS-base, force all .......................................................................................... streampipes(5) pipes, create named .......................................................................................................................... mknod(1M) play audio file .....
Index All Volumes Description Entry Name(Section) ............................................................................................................................. aio_physmem_pct(5) POSIX configuration values, get .......................................................................................................... getconf(1) POSIX interprocess communication facilities, report status .................................................................... pipcs(1) POSIX queue name, remove .....
Index All Volumes Description Entry Name(Section) ppp.Keys - ppp encryption keys file format ..................................................................................... ppp.Keys(4) ppp.Systems - PPP neighboring systems description file format ............................................... ppp.Systems(4) pppd - PPP point to point protocal daemon .............................................................................................
Index All Volumes Description Entry Name(Section) print a stack trace for each LWP in each process and core file .............................................................. pstack(1) print all values in a Network Information Service map .......................................................................... ypcat(1) print and summarize an SCCS file .............................................................................................................
Index All Volumes Description Entry Name(Section) printer, LP, allow or prevent queuing requests .................................................................................. accept(1M) printer, LP, print/alter/cancel requests ......................................................................................................... lp(1) printer, set printing options for a non-serial ...............................................................................................
Index All Volumes Description Entry Name(Section) and optionally reauthenticating the user ............................................................................. privrun(1M) privset_add() - privilege manipulation operations for checking and debugging purposes ............ privileges(3) privset_add_effective() - add, set, remove, and retrieve a process’ privileges .......................... priv_add(3) privset_alloc() - privilege manipulation operations for checking and debugging purposes ........
Index All Volumes Description Entry Name(Section) process ID ......................................................................................................................................... glossary(9) process ID; get process, process group and parent ................................................................................. getpid(2) process information for each ftp user ...................................................................................................
Index All Volumes Description Entry Name(Section) process; suspend or resume auditing on the current ....................................................................... audswitch(2) process; terminate ..................................................................................................................................... exit(2) process; unlock the entire virtual address space of a .....................................................................
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) provided in the C library, list of pthread calls for which the stubs are ..................................... pthread_stubs(5) Provider Interface; ACPS Service ...................................................................................................... acps_spi(3) prpwd - protected password authentication database files used for trusted systems ............................. prpwd(4) prs - print and summarize an SCCS file ..........................
Index All Volumes Description Entry Name(Section) pstat_getstatic()- get static system information .............................................................................. pstat(2) pstat_getstream() - get detailed open stream information ............................................................... pstat(2) pstat_getswap() - get swap area information .................................................................................... pstat(2) pstat_getvminfo() - get virtual memory information ......
Index All Volumes Description Entry Name(Section) pthread_exit() - cause the calling thread to terminate ....................................................... pthread_exit(3T) pthread_getconcurrency() - get concurrency level of unbound threads ........ pthread_getconcurrency(3T) pthread_getschedparam() - get the scheduling policy and associated parameters ..............................................................................................
Index All Volumes Description Entry Name(Section) pthread_rwlockattr_init() - initialize a read-write lock attribute object ..... pthread_rwlockattr_init(3T) pthread_rwlockattr_setpshared() - set the process-shared attribute .................................................................................................. pthread_rwlockattr_getpshared(3T) pthread_scope_options - list of external options to specify the scheduling contention scope of threads ...................................................
Index All Volumes Description Entry Name(Section) putmsg() - send a message on a stream ............................................................................................. putmsg(2) putp() - output commands to the terminal .......................................................................................... putp(3X) putpmsg() - send a message on a stream ...........................................................................................
Index All Volumes Description Entry Name(Section) queue associated with a descriptor; set the blocking status of a message ....................................... mq_setattr(2) queue description file for at, batch, and crontab ........................................................................ queuedefs(4) queue descriptor; close a message .................................................................................................... mq_close(2) queue flushing, enable/disable .....................
Index All Volumes Description Entry Name(Section) random inode generation numbers, install ....................................................................................... fsirand(1M) random number generation functions .............................................................................................. random(3M) random number generator, strong ......................................................................................................
Index All Volumes Description Entry Name(Section) read - read a line from standard input .................................................................................................... read(1) read() - read contiguous data from a file ................................................................................................ read(2) read() - read from file ............................................................................................................................
Index All Volumes Description Entry Name(Section) reauthenticating the user; invoke another application with privileges after performing appropriate authorization checks and optionally .................................................................................... privrun(1M) reblock, convert, translate and copy a (tape) file .......................................................................................... dd(1) reboot() - boot the system .......................................................
Index All Volumes Description Entry Name(Section) register callback routines for stack unwind ........................................................... uwx_register_callbacks(3X) register custom allocate and free callbacks .............................................................. uwx_register_alloc_cb(3X) register fork handler ...........................................................................................................
Index All Volumes Description Entry Name(Section) remote login server .......................................................................................................................... rlogind(1M) remote machines, return information about users on ....................................................................... rnusers(3N) remote machines, write to specified .....................................................................................................
Index All Volumes Description Entry Name(Section) remove symbol and line number information from an object file .............................................................. strip(1) remove the shutdown message file created by ftpshut .................................................................. ftprestart(1) remove, create directories in a path ................................................................................................. mkdirp(3G) remque() - remove an element in a queue .........
Index All Volumes Description Entry Name(Section) requests, LP ................................................................................................................................. see LP requests requests; wait for multiple asynchronous I/O .................................................................................... aio_reap(2) res_init() - resolver routines ......................................................................................................
Index All Volumes Description Entry Name(Section) retrieve capabilities from the terminfo database ........................................................................... tigetflag(3X) retrieve class-dependent object file header for ELF files ............................................................ elf_getehdr(3E) retrieve class-dependent program header table for ELF files ..................................................... elf_getphdr(3E) retrieve class-dependent section header for ELF files ....
Index All Volumes Description Entry Name(Section) rewrite an existing one; create a new file or ............................................................................................ creat(2) rexd - RPC-based remote execution server ........................................................................................... rexd(1M) rexec(); login information for ...............................................................................................................
Index All Volumes Description Entry Name(Section) round() - round function .................................................................................................................. round(3M) round to long int functions ................................................................................................................ lround(3M) round to long long functions ............................................................................................................
Index All Volumes Description Entry Name(Section) RPC information, report .................................................................................................................. rpcinfo(1M) rpc - library routines for remote procedure calls ..................................................................................... rpc(3N) RPC port number, get .................................................................................................................
Index All Volumes Description Entry Name(Section) rstat() - get performance data from remote kernel ............................................................................ rstat(3N) rstatd - kernel statistics server ........................................................................................................ rstatd(1M) rtprio() - change or read real-time priority ........................................................................................
Index All Volumes Description Entry Name(Section) saved group ID .................................................................................................................................. glossary(9) saved process group ID ...................................................................................................................... glossary(9) saved set-group-ID ............................................................................................................................
Index All Volumes Description Entry Name(Section) sched_get_priority_max() - real-time scheduling operations ....................................................... rtsched(2) sched_get_priority_max() - return maximum for scheduling policy ............................................. rtsched(2) sched_get_priority_min() - real-time scheduling operations ....................................................... rtsched(2) sched_get_priority_min() - return minimum for scheduling policy .........................
Index All Volumes Description Entry Name(Section) scroll() - scroll a curses window ...................................................................................................... scroll(3X) scroll the window, enhanced curses ......................................................................................................... scrl(3X) scroll_lines - number of scrollable lines used by the Internal Terminal Emulator ...................
Index All Volumes Description Entry Name(Section) ............................................................................................................................ secure_sid_scripts(5) securenets - NIS map security file ............................................................................................. securenets(4) securetty file ........................................................................................................................................
Index All Volumes Description Entry Name(Section) semaem - maximum cumulative value changes per System V IPC semop() call ................................ semaem(5) semantics, localedef-command input script format and ................................................................ localedef(4) semaphore control operations ............................................................................................................... semctl(2) semaphore identifier (semid) ....................................
Index All Volumes Description Entry Name(Section) send test packets .................................................................................................................................. ping(1M) send the contents of a file through a socket ........................................................................................ sendfile(2) send the contents of a Large File through a socket .........................................................................
Index All Volumes Description Entry Name(Section) server; Internet Boot Protocol .......................................................................................................... bootpd(1M) server; TELNET protocol ................................................................................................................. telnetd(1M) servers ....................................................................................................................................
Index All Volumes Description Entry Name(Section) set and get the thread-specific data associated with a key ............................................ pthread_getspecific(3T) set and retrieve the current thread’s cancelability state and type .......................... pthread_setcancelstate(3T) set and/or get alternate signal stack context ...................................................................................... sigstack(2) set and/or get signal alternate stack context ......................
Index All Volumes Description Entry Name(Section) set - set/define options and arguments .............................................................................................. sh-posix(1) set special attributes for group; get and ......................................................................................... getprivgrp(2) set stream orientation .........................................................................................................................
Index All Volumes Description Entry Name(Section) setclock() - set value of system-wide clock .................................................................................. setclock(3C) setcontext() - get and set current user context ......................................................................... getcontext(2) setdomainname() - get/set name of current Network Information Service domain ............. getdomainname(2) setdvagent() - set device assignment database entry ..........................
Index All Volumes Description Entry Name(Section) setrlimit() - set system resource consumption limit .................................................................... getrlimit(2) setrlimit64() - non-POSIX standard API interfaces to support large files ...................................... creat64(2) setrules - set compartment rules .................................................................................................
Index All Volumes Description Entry Name(Section) shared memory identifier (shmid) ...................................................................................................... glossary(9) shared memory identifier, remove ......................................................................................................... ipcrm(1) shared memory in a process core dump, determines the inclusion of readable ............
Index All Volumes Description Entry Name(Section) shl_getsymbols() - explicit load of shared libraries for Integrity systems .............................. shl_load_ia(3X) shl_getsymbols() - explicit load of shared libraries for PA-RISC systems ............................. shl_load_pa(3X) shl_load() - explicit load of shared libraries for Integrity systems .......................................... shl_load_ia(3X) shl_load() - explicit load of shared libraries for PA-RISC systems ..........................
Index All Volumes Description Entry Name(Section) sigismember() - initialize, manipulate, and test signal sets ........................................................ sigsetops(3C) siglongjmp() - nonlocal goto .......................................................................................................... setjmp(3C) sign on ....................................................................................................................................................
Index All Volumes Description Entry Name(Section) significandq() - normalized significand function .................................................................. significand(3M) significandw() - normalized significand function .................................................................. significand(3M) sigpause() − atomically release blocked signals and wait for interrupt ........................................ sigpause(3C) sigpause() - signal management ..........................................
Index All Volumes Description Entry Name(Section) single-byte character and rendition, echo to a window and refresh ................................................ echochar(3X) single-byte character and rendition, input from a window ...................................................................... inch(3X) single-byte character and rendition, insert into a window ..................................................................... insch(3X) single-byte character, get from the terminal ..............
Index All Volumes Description Entry Name(Section) sizing a static buffer cache ................................................................................................................ bufpages(5) slash .................................................................................................................................................. glossary(9) slave and master pty, STREAMS, unlocking ..................................................................................
Index All Volumes Description Entry Name(Section) smrsh - restricted shell for sendmail .................................................................................................. smrsh(1M) snapshot of the UUCP system ........................................................................................................... uusnap(1M) SNMP agent, configuration file for the ......................................................................................... snmpd.
Index All Volumes Description Entry Name(Section) Source Code Control System ................................................................................................................. see SCCS Source Code Control System (SCCS) ................................................................................................. glossary(9) source - define source for command input ................................................................................................
Index All Volumes Description Entry Name(Section) speed, and line discipline; set terminal type, modes, ............................................................................ getty(1M) speed, datacomm line, and terminal settings used by getty .............................................................. gettydefs(4) spell - find spelling errors .....................................................................................................................
Index All Volumes Description Entry Name(Section) Stack unwind library .............................................................................................................................. uwx(3X) stack using the unwind library, produce a trace back of the procedure call ..................... U_STACK_TRACE(3X) stack, or shared library in memory; lock process, text, data, ..................................................................
Index All Volumes Description Entry Name(Section) static information about the file systems ................................................................................................. fstab(4) station address string conversion routines, network ....................................................................... net_aton(3C) statistics for file system, list .......................................................................................................................
Index All Volumes Description Entry Name(Section) sticky bit ........................................................................................................................................... glossary(9) stime() - set time and date ................................................................................................................... stime(2) stop or terminate; wait for child process to ...............................................................................................
Index All Volumes Description Entry Name(Section) stream; send a message on a ............................................................................................................... putmsg(2) streaming text editor ................................................................................................................................. sed(1) streamio - STREAMS ioctl commands ............................................................................................
Index All Volumes Description Entry Name(Section) string on a stream, put a ........................................................................................................................ puts(3S) string operations, character ................................................................................................................ string(3C) string operations, wide character ...................................................................................................
Index All Volumes Description Entry Name(Section) structures and symbolic constants, standard ......................................................................................... unistd(5) structures, number of System V IPC system-wide semaphore undo .................................................. semmnu(5) structures, statd directory and file .............................................................................................................. sm(4) strvf - STREAMS verification tool .......
Index All Volumes Description Entry Name(Section) svc_control() - library routines for the creation of server handles .................................. rpc_svc_create(3N) svc_create() - library routines for the creation of server handles .................................... rpc_svc_create(3N) svc_destroy() - library routines for the creation of server handles .................................. rpc_svc_create(3N) svc_dg_create() - library routines for the creation of server handles .........................
Index All Volumes Description Entry Name(Section) swap volume, prepare LVM logical volume to be ............................................................................ lvlnboot(1M) swap volume, remove LVM logical volume link ............................................................................. lvrmboot(1M) swap, determines when swapmap structures are allocated for filesystem ..................... allocate_fs_swapmap(5) swap, maximum number of devices that can be enabled for ....................
Index All Volumes Description Entry Name(Section) synchronize asynchronous I/O .......................................................................................................... aio_fsync(2) synchronize stale logical volume mirrors in LVM volume groups ...................................................... vgsync(1M) synchronize stale mirrors in LVM logical volumes .............................................................................
Index All Volumes Description Entry Name(Section) system description configuration files ................................................................................................... system(4) system descriptor file entry, get file ............................................................................................. getmntent(3X) system diagnostic messages, collect to form error log ........................................................................
Index All Volumes Description Entry Name(Section) system type information; get file ............................................................................................................. sysfs(2) system up time, show .......................................................................................................................... uptime(1) system users, list current .........................................................................................................................
Index All Volumes Description Entry Name(Section) systems; change program’s internal attributes on Integrity ................................................................ chatr_ia(1) systems; execution startup routines for Integrity ................................................................................. crt0_ia(3) systems; execution startup routines for PA-RISC ................................................................................
Index All Volumes Description Entry Name(Section) tail - get lines from last part of a file ....................................................................................................... tail(1) tails the mail log .................................................................................................................................. mtail(1M) talk - talk to another user .......................................................................................................................
Index All Volumes Description Entry Name(Section) tcsendbreak(): tty line control function ..................................................................................... tccontrol(3C) tcsetattr() - set tty device operating parameters ................................................................... tcattribute(3C) tcsetpgrp() - set foreground process group ID ...........................................................................
Index All Volumes Description Entry Name(Section) terminal or pseudo-terminal, get name of user’s .......................................................................................... tty(1) terminal output control functions ..................................................................................................... clearok(3X) terminal refresh, immediate, enable/disable .................................................................................. immedok(3X) terminal screen, clear ......
Index All Volumes Description Entry Name(Section) terminfo de-compiler ........................................................................................................................... untic(1M) terminfo description, convert from a termcap description ............................................................. captoinfo(1M) terminfo descriptions, compare or print out ....................................................................................
Index All Volumes Description Entry Name(Section) thread launch policy, setting .................................................................................. pthread_launch_policy(3T) thread of execution, create .................................................................................................. pthread_create(3T) thread process-shared attribute, get or set ................................................. pthread_condattr_getpshared(3T) thread to a processor set; bind process or ........
Index All Volumes Description Entry Name(Section) timed sleep support; enable/disable ............................................................................. hires_timeout_enable(5) timed wait or wait on a thread condition variable ......................................................... pthread_cond_wait(3T) timed, automatic system power on, and power off ................................................................... power_onoff(1M) timed-job execution daemon ...................................
Index All Volumes Description Entry Name(Section) tmpfile() - create a temporary file ................................................................................................. tmpfile(3S) tmpfile64() - file system API to support large files .................................................................... fgetpos64(3S) tmpnam() - create a name for a temporary file ................................................................................
Index All Volumes Description Entry Name(Section) transport endpoint, disable (X/OPEN TLI-XTI) ................................................................................ t_unbind(3) transport endpoint, establish (X/OPEN TLI-XTI) .................................................................................. t_open(3) transport endpoint, initiate orderly release (X/OPEN TLI-XTI) .........................................................
Index All Volumes Description Entry Name(Section) trigonometric degree-valued arctangent functions .............................................................................. atand(3M) trigonometric degree-valued arctangent-and-quadrant functions ...................................................... atan2d(3M) trigonometric error and complementary error functions .......................................................................... erf(3M) trigonometric hyperbolic cosine functions .................
Index All Volumes Description Entry Name(Section) tty port, terminal-type data base for each .......................................................................................... ttytype(4) ttyname(), isatty() - find name of a terminal ............................................................................ ttyname(3C) ttys and users, indicate last logins of .........................................................................................................
Index All Volumes Description Entry Name(Section) udp - Internet user datagram protocol .................................................................................................. UDP(7P) udpublickey - updates the publickey database file and NIS map ....................................... udpublickey(1M) UID, get name from (obsolete) ............................................................................................................ getpw(3C) ul - do underlining on terminal ..................
Index All Volumes Description Entry Name(Section) ungetc() - push character back into input stream ............................................................................ ungetc(3S) UNGETC() - regular expression compile and match routines .............................................................. regexp(3X) ungetc_unlocked() - push character back into input stream .......................................................... ungetc(3S) ungetch() - push a character onto the input queue ................
Index All Volumes Description Entry Name(Section) unset - remove definition/setting of options and arguments ...................................................................... ksh(1) unset - remove definition/setting of options and arguments .............................................................. sh-posix(1) unsetenv() - deletes an environment variable ............................................................................. unsetenv(3C) unsetenv - remove variable from environment ...........
Index All Volumes Description Entry Name(Section) used by sendfile, maximum number of Buffer Cache Pages ........................................................ sendfile_max(5) used by the Internal Terminal Emulator, number of scrollable lines ............................................. scroll_lines(5) user accounting database daemon .....................................................................................................
Index All Volumes Description Entry Name(Section) user shells, get legal ................................................................................................................. getusershell(3C) user’s effective access rights to a file; get a ...................................................................................... getaccess(2) user’s login environment, shell script to set up .....................................................................................
Index All Volumes Description Entry Name(Section) UTC, Coordinated Universal Time ........................................................................................................... date(1) utility ................................................................................................................................................ glossary(9) utility for searching NIS+ tables ......................................................................................................
Index All Volumes Description Entry Name(Section) uuto - public UNIX system to UNIX system file copy ................................................................................ uuto(1) uutry - test for successful login to remote system ................................................................................... uucp(1) uux and uucp transactions summary log, access .....................................................................................
Index All Volumes Description Entry Name(Section) values in unwind library data structure, query ....................................................................... _UNW_getGR(3X) values - machine-dependent values ..................................................................................................... values(5) values of kernel tunable parameters in a transaction; sets the .....................................................
Index All Volumes Description Entry Name(Section) vgdisplay - display information about LVM volume groups ....................................................... vgdisplay(1M) vgexport - export an LVM volume group and its associated logical volumes ................................ vgexport(1M) vgextend - extend an LVM volume group by adding physical volumes ......................................... vgextend(1M) VGID, modify the Volume Group ID (VGID) on a given set of physical devices ......................
Index All Volumes Description Entry Name(Section) volume group (LVM) configuration backup file, create or update ............................................. vgcfgbackup(1M) volume group; clone mode clones the root .................................................................................... drd-clone(1M) volume group; create logical volume in LVM ...................................................................................
Index All Volumes Description Entry Name(Section) VxFS file system, check and repair ............................................................................................... fsck_vxfs(1M) VxFS file system, construct .......................................................................................................... mkfs_vxfs(1M) VxFS file system, disk accounting data by user ID .......................................................................
Index All Volumes Description Entry Name(Section) wait - wait for child process .............................................................................................................. sh-posix(1) wait() - wait for child process to stop or terminate ................................................................................. wait(2) wait3() - wait for child process to change state ....................................................................................
Index All Volumes Description Entry Name(Section) wgetch() - get a single-byte character from the terminal .................................................................... getch(3X) wgetn_wstr() - get an array of wide characters and function key codes from a terminal ............ getn_wstr(3X) wgetnstr() - get a multibyte character-length-limited string from the terminal ............................. getnstr(3X) wgetstr() - get a multi-byte character string from the terminal ............................
Index All Volumes Description Entry Name(Section) window creation function .................................................................................................................. derwin(3X) window creation functions ............................................................................................................... newwin(3X) window cursor location functions ..........................................................................................................
Index All Volumes Description Entry Name(Section) word from a stream file, get character or data ........................................................................................ getc(3S) word on a stream, put character or ........................................................................................................ putc(3S) wordexp() - perform word expansions ..........................................................................................
Index All Volumes Description Entry Name(Section) wvline() - draw lines from single-byte characters and renditions ....................................................... hline(3X) wvline_set() - draw lines from complex characters and renditions ............................................. hline_set(3X) Wyse60 terminal .................................................................................................................................... sam(1M) Wyse60 terminal .................................
Index All Volumes Description Entry Name(Section) X/OPEN Transport Layer Interface - TLI, send user-initiated disconnect request .............................. t_snddis(3) X/OPEN Transport Layer Interface - TLI, synchronize transport library for transport endpoint ........... t_sync(3) xargs - construct argument list(s) and execute command ...................................................................... xargs(1) xd - hexadecimal file dump ...............................................................
Index All Volumes Description Entry Name(Section) xdr_vector() - library routine for external data representation ........................................... xdr_complex(3N) xdr_void() - library routines for external data representation ................................................ xdr_simple(3N) xdr_wrapstring() - library routine for external data representation ................................... xdr_complex(3N) xdrmem_create() - library routines for external data representation stream creation .......
Index All Volumes Description Entry Name(Section) ynw() - Bessel functions of the second kind .............................................................................................. y0(3M) yp_all() - Network Information Service client interface .................................................................. ypclnt(3C) yp_bind() - Network Information Service client interface ................................................................
Notes 504 Hewlett-Packard Company HP-UX 11i Version 2: December 2007 Update