HP-UX Reference Section 7: Device (Special) Files Section 9: General Information Index HP-UX 11i Version 3 Volume 10 of 10 Manufacturing Part Number : B2355-91026 E0207 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, 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, 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 ]...
Revision History Part Number Release; Date; Format; Distribution B2355-60130 HP-UX 11i Version 3; February 2007; one volume HTML; http://docs.hp.com and Instant Information. B2355-91017-26 HP-UX 11i Version 3; February 2007; ten volumes PDF; http://docs.hp.com, Instant Information and print. B2355-60127 HP-UX 11i Version 1; September 2005 Update; one volume HTML; http://docs.hp.com and Instant Information. B2355-90902-11 HP-UX 11i Version 1; September 2005 Update; ten volumes PDF; http://docs.hp.
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): schgr, eschgr ...................................................
Table of Contents Volume Ten Entry Name(Section): name Description scsimgr_estape(7): scsimgr_estape .......................................... SCSI class driver estape plug-in for scsimgr sioc_io(7): sioc_io .............................................................................................. SCSI pass-through interface slp_syntax(7): slp_syntax ...................................................................................... SLP Service URL Syntax socket(7): socket ..........................
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 (DSFs) and hardware paths used to access HP peripherals and device drivers. The names of the entries are generally derived from the type of device being described (disk, tape, terminal, and so on.), not the names of the device special files or device drivers themselves.
intro(7) intro(7) consists of a virtual bus address and a virtual LUN identifier, delimited by slash (/) characters. The string 64000/0xfa00/0x22 is an example of a LUN hardware path. As a virtualized path, the LUN hardware path is only a handle to the LUN, and does not represent the LUN’s physical location; rather, it is linked to the LUN’s World Wide Identifier (WWID).
intro(7) intro(7) where dsk indicates block disk access and c0t6d0 indicates logical disk access at interface card instance 0, target address 6, and unit 0. The s2 indicates access to section 2 of the disk. Example 3 The following is an example of a persistent tape device special file name: /dev/rtape/tape4QIC150 where rtape indicates raw magnetic tape, tape4 indicates tape device instance number 4, and QIC150 identifies the tape format as QIC150; see mt(7) for details.
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: schgr, eschgr - SCSI interfaces for medium changer 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) media transport autochanger(7) A location for media movement. Media is generally temporarily located in this type of element only during actual media movement. Changer Control Requests The following ioctl functions and structure definitions are included from
autochanger(7) unsigned short unsigned char unsigned char autochanger(7) element; identification; all_elements; }; /* structure for SIOC_MOVE_MEDIUM ioctl */ struct move_medium_parms { unsigned short transport; unsigned short source; unsigned short destination; unsigned char invert; }; a /* structure for SIOC_EXCHANGE_MEDIUM ioctl */ struct exchange_medium_parms { unsigned short transport; unsigned short source; unsigned short first_destination; unsigned short second_destination; unsigned char invert_
autochanger(7) autochanger(7) DEFAULT CONFIGURATIONS By default, schgr and eschgr are not included in the system configuration (/stand/system) file.
blmode(7) blmode(7) NAME blmode - terminal block mode interface b 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) (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.
disk(7) disk(7) Character-special access Character-special device files access disks without buffering and support the direct transmission of data between the disk and the user’s read or write buffer. Disk access through the character special file interface causes all physical I/O operations to be completed before control returns from the call. A single read or write operation up to MAXPHYS bytes (typically 64 Kbytes or 256 Kbytes) results in exactly one disk operation.
disk(7) disk(7) SEE ALSO ioscan(1M), mknod(1M), intro(7). System Administrator manuals included with your system.
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
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 graphics libraries is recommended.
framebuf(7) framebuf(7) 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. These operations are valid for devices whose CRT_GRAPHICS_ON_OFF bit is set in the crt_attributes field of the crt_frame_buffer_t data structure returned by the GCDESCRIBE command.
framebuf(7) framebuf(7) 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) 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. Thus, linelength plus skipcount would be the number of bytes in each row of the larger window image array.
framebuf(7) framebuf(7) AUTHOR framebuf was developed by HP. SEE ALSO mknod(1M), close(2), ioctl(2), lockf(2), open(2), select(2), signal(2), sigsetmask(2), termio(7).
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) 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) 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(2) returns 0 instead of blocking. write(2) is not supported by hil . select(2) can be used to poll for available input from HP-HIL devices. select(2) for write or for exception conditions always returns a false indication in the file descriptor bit masks.
hil(7) HILED hil(7) Extended Describe The Extended Describe request returns the Extended Describe Record in the character array to which arg points. The Extended Describe Record may contain up to fifteen bytes of additional device information. The first byte is the Extended Describe Header, which indicates whether a device supports the Report Status, Report Name, Read Register, or Write Register requests. If the device implements the Read Register request, the maximum readable register is specified.
hil(7) hil(7) [EFAULT] A bad address was detected while attempting to use an argument to a system call. [EINTR] A signal interrupted an open(2), read(2), or ioctl(2) system call. [EINVAL] An invalid parameter was detected by ioctl(2). [ENXIO] No device is present at the specified address; see the WARNINGS section. [EIO] A hardware or software error occurred while executing an ioctl(2) system call. [ENODEV] write(2) is not implemented for HP-HIL devices.
hilkbd(7) hilkbd(7) NAME hilkbd - HP-HIL mapped keyboard driver DESCRIPTION HP-HIL, the Hewlett-Packard Human Interface Link, is the Hewlett-Packard standard for interfacing a personal computer, terminal, or workstation to its input devices. hilkbd supplies input from all mapped keyboards on a specified HP-HIL link. hilkbd returns mapped keycodes, not ASCII characters. "Raw" keycodes are the individual key downstrokes and upstrokes, and are different for each type of keyboard.
hilkbd(7) hilkbd(7) keyboard identification field within the configuration code. KBD_STATUS Read the keyboard status register. This request returns a one-byte value containing bit flags specifying the state of the shift and control keys in the char variable to which arg points: KBD_STAT_LEFTSHIFT KBD_STAT_RIGHTSHIFT KBD_STAT_SHIFT KBD_STAT_CTRL The left shift key is up The right shift key is up Both shift keys are up The control key is up Other bits are undefined.
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) (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) (OBSOLETED) [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: k MIOC_READKSYM Read mirk_buflen bytes of kernel memory starting at the address for mirk_symname into mirk_buf.
kmem(7) kmem(7) [ENXIO] kmemfd open on wrong minor device (i.e., not /dev/kmem ). [EBADF] kmemfd open for reading and this is an MIOC_WRITEKSYM. [ENOMATCH] symname not found. [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) 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. It sends the processed characters downstream to the driver when the output queue fills up and all of the data is processed. M_IOCTL The write put routine validates the format of the M_IOCTL message and checks for known commands.
ldterm(7) ldterm(7) TCGETS command. The original I/O control command and M_IOCTL message are stored to be used on M_IOCACK . When it receives the matching M_IOCACK message, the ldterm module processes it as for a TCGETS command, then converts the POSIX termios information into the System V termio information and replies. TCSBRK The ldterm module forwards this command downstream to be handled by the driver so that the driver has a chance to drain the data before sending an M_IOCACK message upstream.
ldterm(7) ldterm(7) environment, because line discipline modules are changed by popping the current module from the stream and pushing a different one onto the stream. TIOCGETD In a BSD system, this command is used to get the current line discipline type. The command does not have much meaning in a STREAMS environment. The ldterm module replies with a value of 2 for binary compatibility, since ldterm supports job control.
ldterm(7) ldterm(7) module converts the message to a POSIX termios M_IOCTL message. Then, it forwards the POSIX termios M_IOCTL message with a corresponding POSIX termios command (i.e. TCSETS ). The original I/O control command and M_IOCTL message are stored for use on M_IOCACK . TIOCGLTC 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.
lp(7) lp(7) (Seires 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) (Seires 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) Device Special Files In this release of HP-UX 11i, the Mass Storage Stack supports two naming conventions for the device special files used to identify devices (see intro(7)). Devices can be represented using: • Persistent device special files, (/dev/disk/disk3), or • Legacy device special file names, (/dev/dsk/c0t6d6). While LVM supports the use of both conventions within the same volume group, the examples shown in the LVM man pages are all using the legacy device special file convention.
lvm(7) lvm(7) lvcreate -L 100 -n usrvol /dev/vg01 This creates two device files for the logical volume, /dev/vg01/usrvol, which is the block device file, and /dev/vg01/rusrvol, which is the character (raw) device file. You can view information about the newly created logical volume with the lvdisplay command. lvdisplay /dev/vg01/lvol1 Any operation allowed on a disk partition is allowed on the logical volume. Thus, you can use usrvol to hold a file system.
mem(7) mem(7) NAME mem - main memory image file 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.
modem(7) modem(7) issued. The driver will not change the CONTROL. 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.
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 estape DESCRIPTION This entry describes the behavior of HP magnetic tape interfaces and controls. The files /dev/rtape/* refer to specific raw tape drives controlled by the estape driver. The major number of these device special files is dynamically allocated and the minor number does not encode any device specific information.
mt(7) mt(7) data and return immediately with successful status. density m Density or format used in writing data to tape. This field is designated by the following values: BEST Highest-capacity density or format will be used, including data compression, if the device supports compression. NOMOD Maintains the density used for data previously written to the tape. Behavior using this option is dependent on the type of device. This option is only supported on DDS drives.
mt(7) mt(7) When a file open for reading (only) is closed and the no-rewind bit is not set, the tape is rewound. If the no-rewind bit is set, the behaviour depends on the style mode. For AT&T-style devices, the tape is positioned after the EOF following the data just read (unless already at BOT or Filemark). For Berkeley-style devices, the tape is not repositioned in any way. Each read(2) or write(2) call reads or writes the next record on the tape.
mt(7) mt(7) mt_get_newdev_options() and mt_check_newdev_options() are utility functions used by the code snippets below.
mt(7) mt(7) } dev = stbuf.st_rdev; io_init(O_RDWR); if(M_BERKELEY_AGILE(dev)) printf(" This is a Berkeley style device file "); else printf(" This is not a Berkeley style device file "); io_end(); exit(0); } Compile Line: cc -Ae -o test test.c -lIO Sample Output: # ./test /dev/rtape/tape1_BESTn This is not a Berkeley style device file # ./test /dev/rtape/tape1_BESTb This is a Berkeley style device file # ./test /dev/rmt/0mnb This is a Berkeley style device file # .
mt(7) mt(7) (((dev) & (˜MT_INDEX_MASK)) | (index << MT_INDEX_BIT_POS) | MT_USER_CONFIG_MASK) : ((mt_check_newdev_options(dev, D_CHR, ˜MT_INDEX_MASK)) | (index << MT_INDEX_BIT_POS))) \ \ \ \ #define M_DFLT_DENSITY_PUT_AGILE(dev,density) ((io_is_legacy_dev(dev, D_CHR) == MT_IS_LEGACY_DEV) ? (((dev) & (˜MT_DENSITY_MASK)) | (density << MT_DENSITY_BIT_POS)) : ((mt_check_newdev_options(dev, D_CHR, ˜MT_DENSITY_MASK)) | (density << MT_DENSITY_BIT_POS))) \ \ \ \ \ #define M_TRANSPARENT_MODE_AGILE(dev) ((io_is_
mt(7) mt(7) long long mt_dsreg1; mt_dsreg2; /* status register (msb) */ /* status register (lsb) */ /* The following are device-independent status words */ long long int32_t int32_t mt_gstat; mt_erreg; mt_fileno; mt_blkno; /* /* /* /* generic status error register No longer used No longer used */ */ - always set to -1 */ - always set to -1 */ Information for decoding the mt_type field can be found in . Tape operations work the same way for both legacy and agile devices.
mt(7) m mt(7) GMT_D_DDS1( x ) Returns TRUE if the density encoded in mt_gstat is DDS1 (with or without compression). GMT_D_DDS1c( x ) Returns TRUE if the density encoded in mt_gstat is DDS1 plus compression. GMT_D_DDS2( x ) Returns TRUE if the density encoded in mt_gstat is DDS2 (with or without compression). GMT_D_DDS2c( x ) Returns TRUE if the density encoded in mt_gstat is DDS2 plus compression.
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(2) request. The following system call verifies that the tape has just read a filemark: #include #include
mt(7) mt(7) AUTHOR mt was developed by HP and the University of California, Berkeley. FILES /dev/rtape/* /dev/rmt/* /etc/mtconfig /dev/rmt/*config Persistent tape DSFs claimed by the estape driver Legacy tape DSFs Constants and macros for use with tapes Configuration property table for tapes Device files for accessing configuration properties table - for internal use only SEE ALSO dd(1), mt(1), insf(1M), ioscan(1M), lssf(1M), mksf(1M), rmsf(1M), ioctl(2), lseek(2), libIO(3X), intro(7).
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.
ndp(7P) ndp(7P) Neighbor Discovery for IPv6, RFC2461, T. Narten et al.
nfs(7) nfs(7) NAME nfs, NFS - network file system DESCRIPTION The Network File System (NFS) allows a client node to perform transparent file access over the network. By using NFS, a client node operates on files residing on a variety of servers and server architectures, and across a variety of operating systems. File access calls on the client (such as read requests) are converted to NFS protocol requests and sent to the server system over the network.
null(7) null(7) NAME null - null file DESCRIPTION Data written on a null special file is discarded. Reads from a null special file always return 0 bytes. EXAMPLES To create a zero-length file, use either of the following: cat /dev/null > file cp /dev/null file FILES /dev/null STANDARDS CONFORMANCE null : AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, POSIX.
pckt(7) pckt(7) NAME pckt - Packet Mode module for STREAMS pty (pseudo-terminal) SYNOPSIS #include int ioctl(fd_slave, I_PUSH, "pckt"); DESCRIPTION The Packet Mode feature for STREAMS pty devices allows the user process on the master side of the pty device to be informed of state changes in the pty. To enable Packet Mode in the STREAMS pty device, the user process must push the pckt module onto the master side of the pty with a call to the STREAMS I_PUSH ioctl(2) system call.
poll(7) poll(7) NAME poll - monitor I/O conditions on multiple file descriptors SYNOPSIS #include #include
poll(7) poll(7) struct pollfd pfd[2]; int err; pfd[0].fd = fd1; pfd[0].events = POLLIN; pfd[1].fd = fd2; pfd[1].events = (POLLIN | POLLRDBAND); err = write(evpfd, pfd, sizeof(pfd)); Polling File Descriptors Polling an event port’s interest set is initiated by calling ioctl() specifying the DP_POLL request. The ioctl arg parameter is a pointer to a dvpoll structure, defined in .
poll(7) poll(7) If ioctl() returns -1, errno is set to the error condition. ERRORS The following errors are returned by the event port driver. If open() fails, errno is set to one of the following values. [EACCES] [EAGAIN] The minor number of the device file name passed to open() is not 0. Allocation of internal data structures failed due to a temporary condition. Calling open() again might succeed. [EMFILE] The maximum number of file descriptors allowed for the process is already open.
poll(7) poll(7) After the last non-blocking write succeeds, the following should be used to deregister for POLLOUT , but continue to be registered for input notifications. Note that POLLREMOVE must be used in order to remove the POLLOUT registration. struct pollfd regpfd[2]; int err; regpfd[0].fd = sd; regpfd[0].events = POLLREMOVE; regpfd[1].fd = sd; regpfd[1].
poll(7) poll(7) SEE ALSO ioctl(2), mknod(2), open(2), pipe(2), poll(2), select(2), send(2), socket(2), socketpair(2), write(2), t_open(3).
ps2(7) ps2(7) NAME ps2, ps2kbd, ps2mouse - PS/2 keyboard/mouse device driver and files SYNOPSIS #include DESCRIPTION The ps2 driver allows the use of IBM Personal System/2 (PS/2) compatible keyboards and mouse devices on Hewlett-Packard workstations equipped with PS/2 interface hardware. On systems with a single interface, PS/2 device file names use the following format: /dev/ps2_ n where n represents the interface port number, ranging from 0 to 15.
ps2(7) ps2(7) If both file status flags O_NDELAY and O_NONBLOCK are clear and no data is available, the read() call blocks until data becomes available or a signal is received. If the file status flag O_NDELAY is set and no data is available, the read() call returns zero instead of blocking. If the file status flag O_NONBLOCK is set and no data is available, the read() call returns -1 with errno set to [EAGAIN] (see errno(2)). The write() system call is not supported by ps2 .
ps2(7) PS2_ENABLE ps2(7) 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. This request does not use arg.
ps2(7) ps2(7) 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. Because keyboards might be left in a disabled state after this request, the PS2_ENABLE request should be performed after PS2_KEY_MAKE .
ps2(7) ps2(7) 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) 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) 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 */ while( 1){ read( fildes, &
ps2(7) ps2(7) 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 (pesudo-terminal) Emulation module SYNOPSIS #include int ioctl(fd_slave, I_PUSH, "ptem"); DESCRIPTION ptem is a STREAMS module that emulates a terminal when used in conjunction with ldterm (STREAMS line discipline) and pts (STREAMS slave pty driver). The ptem module normally sits above pts and below ldterm .
ptem(7) ptem(7) upstream with the jwinsize structure. If the values are zero, ptem sends an M_IOCNAK message upstream. • When an M_IOCTL message of type TIOCGWINSZ is received on its write queue and if the values in the winsize structure in ptem are not zero, ptem sends an M_IOCACK message upstream with the winsize structure. If the values are zero, ptem sends an M_IOCNAK message upstream.
ptm(7) ptm(7) NAME ptm - STREAMS master pty (pseudo-terminal) driver SYNOPSIS #include #include #include int open("/dev/ptmx", O_RDWR); DESCRIPTION A pseudo-terminal (pty) consists of a tightly-coupled pair of character devices, called the master device and slave device.
ptm(7) ISPTM ptm(7) Determines whether the file descriptor is that of an open master device. On success, it returns the major and minor number (type dev_t) of the master device which can be used to determine the name of the corresponding slave device. On failure, it returns −1 with errno set to [EINVAL]. ISPTM on HP-UX can return valid device number with negative value. For example, with major number of the STREAMS pty master being 0x9c, ICPTM will return 0x9C000000 which is a negative number.
pts(7) pts(7) NAME pts - STREAMS slave pty (pseudo-terminal) driver SYNOPSIS #include #include #include int open("/dev/pts/N", O_RDWR); DESCRIPTION A pseudo-terminal (pty) consists of a tightly-coupled pair of character devices, called the master device and slave device.
pts(7) pts(7) slave = ptsname(fd_master); fd_slave = open(slave, O_RDWR); ioctl(fd_slave, I_PUSH, "ptem"); ioctl(fd_slave, I_PUSH, "ldterm"); AUTHOR pts was developed by HP and OSF. FILES /dev/ptmx /dev/pts/ N Streams pty master clone device Streams pty slave devices (0 <= N < NSTRPTY ), where NSTRPTY is a kernel tunable parameter which can be changed via SAM (see sam(1M)).
pty(7) pty(7) NAME pty - pseudo-terminal driver DESCRIPTION The pty driver provides support for a device-pair termed a pseudo terminal. A pseudo terminal is a pair of character devices, a master device and a slave device. The slave device provides to application processes an interface identical to that described in termio(7). Unlike all other devices that provide the interface described in termio(7), the slave device does not have a hardware device behind it.
pty(7) pty(7) default, termio processing is enabled. termio processing refers to processing of input and output described by termio(7) (such as tab expansion), as well as the processing of the ioctl() requests described by termio(7). When disabled, all input and output data is passed through the pty without modification. Issuing a TIOCTTY ioctl() request flushes all data buffered in the pseudo terminal and releases any processes blocked waiting for data.
pty(7) pty(7) 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.
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.
route(7P) route(7P) NAME route - kernel packet forwarding database SYNOPSIS #include #include #include #include s = socket(AF_ROUTE, SOCK_RAW, family ); DESCRIPTION This manpage describes routing socket interface to read and write kernel routing messages. The information on how to transmit network packets is maintained by the HP-UX kernel in the routing information database, also known as the routing table.
route(7P) route(7P) Message types RTM_CHANGE and RTM_LOCK are not supported on HP-UX. If a user process issues these messages, [EOPNOTSUPP] error will be returned. Message Structure Messages are formed by a message header followed by a small number of socket address structures. What message header to use depends on the message type. The RTM_IFINFO messages use the if_msghdr header. The RTM_NEWADDR and RTM_DELADDR messages use the ifa_msghdr header. All other message types use the rt_msghdr header.
route(7P) route(7P) /* generic interface information */ uint8_t ifi_type; /* ethernet, tokenring, etc */ uint8_t ifi_physical; /* AUI, Thinnet, 10base-T, etc */ uint8_t ifi_addrlen; /* media address length */ uint8_t ifi_hdrlen; /* media header length */ uint8_t ifi_recvquota; /* polling quota for receive intrs */ uint8_t ifi_xmitquota; /* polling quota for xmit intrs */ uint32_t ifi_mtu; /* maximum transmission unit */ uint32_t ifi_metric; /* routing metric (external only) */ uint32_t ifi_baudrate; /* li
route(7P) route(7P) Structure rt_msghdr if_msghdr Fields Not Used rtm_use, rtm_inits, rtm_rmx, except for rtm_rmx.rmx_mtu and rtm_rmx.rmx_rtt ifm_data, except for ifm_data.ifi_mtu, ifm_data.ifi_metric, ifm_data.ifi_ipackets, and ifm_data.ifi_opackets ifa_msghdr ifam_metric ERRORS If the kernel rejects a routing message, the rtm_errno field in the rt_msghdr structure may be set to one of the following values: [EEXIST] The specified entry already exist. Requested to duplicate an existing entry.
route(7P) route(7P) /* * the destination address being added follows * the routing header */ sin1 = (struct sockaddr_in *)(rtm + 1); sin1->sin_family = AF_INET; sin1->sin_addr.s_addr = inet_addr(argv[1]); /* * the gateway address being added follows the * destination address */ sin2 = (struct sockaddr_in *)(sin1 + 1); sin2->sin_family = AF_INET; sin2->sin_addr.
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) AUTHOR routing was developed by the University of California, Berkeley. FILES /etc/hosts /etc/networks SEE ALSO netstat(1), ifconfig(1M), route(1M), route(7P).
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-2"), Fibre Channel interfaces (see ANSI Std X3.269-199X, "Fibre Channel Protocol for SCSI"), and Serial Attached SCSI interfaces (SAS).
scsi(7) scsi(7) /* SCSI-2 inquiry structure */ struct inquiry_2 { unsigned int periph_qualifier:3; unsigned int dev_type:5; unsigned int rmb:1; unsigned int dtq:7; unsigned int iso:2; unsigned int ecma:3; unsigned int ansi:3; unsigned int aenc:1; unsigned int trmiop:1; unsigned int resv1:2; unsigned int rdf:4; unsigned char added_len; unsigned char resv2[2]; unsigned int reladr:1; unsigned int wbus32:1; unsigned int wbus16:1; unsigned int sync:1; unsigned int linked:1; unsigned int resv3:1; unsigned int c
scsi(7) scsi(7) uint32_t uint32_t uint32_t uint8_t uint8_t uint8_t uint8_t uint16_t uint16_t uint16_t uint16_t uint16_t vdesc_t uint8_t uint8_t } inquiry_3_t; obslt5 :1; cmdque :1; vs2 :1; vendor_id[8]; product_id[16]; rev_num[4]; vendor_spec[20]; rsvd3 :4; clcking :2; qas :1; ius :1; rsvd4 :8; vers_desc[8]; rsvd6[22]; vendor_parm_bytes[32]; /* union for SIOC_INQUIRY ioctl */ union inquiry_data { struct inquiry inq1; /* SCSI-1 inquiry */ struct inquiry_2 inq2; /* SCSI-2 inquiry */ inquiry_3_t inq3; /* S
scsi(7) scsi(7) */ typedef struct xsense_aligned { unsigned int valid :1; unsigned int error_class :3; unsigned int error_code :4; unsigned char seg_num; unsigned int parms:4; unsigned int sense_key :4; unsigned char lba[4]; unsigned char add_len; unsigned char copysearch[4]; /* Unused by HP-UX */ unsigned char sense_code; unsigned char resv; unsigned char fru; unsigned char field; unsigned char field_ptr[2]; unsigned char dev_error[4]; unsigned char misc_bytes[106]; } xsense_aligned_t; /* * Struct sense_
scsi(7) scsi(7) unsigned unsigned unsigned uint32_t unsigned } xsense_t; char char short char fru; field; field_ptr; dev_error; misc_bytes[106]; /* * Struct sense_2 is provided for backward source code * compatibility only. * Struct sense_2_aligned is the appropriate struct for * examining the sense * data of SCSI-2 devices.
scsi(7) scsi(7) On systems that support the scsi_ctl interface, the SIOC_CMD_MODE, SIOC_SET_CMD , and SIOC_RETURN_STATUS ioctls are obsolete (see scsi_ctl(7)). Direct manipulation of SCSI devices via the scsi_ctl interface provides a more functionally complete and easier-to-use means of low level SCSI device control (see scsi_ctl(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.
scsi_ctl(7) scsi_ctl(7) NAME scsi_ctl - SCSI pass-through driver (esctl/sctl) 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 pass-through driver enables use of SCSI devices and commands not normally supported by these device-specific drivers.
scsi_ctl(7) scsi_ctl(7) ii Two hexadecimal digits, identifying the controlling interface card by its "Instance" number. The Instance value is displayed in ioscan(1M) output, under column I for the "Interface" hardware type. t One hexadecimal digit identifying the drive (target) address. l One hexadecimal digit identifying the logical unit number (LUN) within the device. 0 Hexadecimal digit zero, for reserved portion of the minor of the minor number.
scsi_ctl(7) scsi_ctl(7) Occasionally, it is desirable to limit SCSI communication parameters to work around a communication problem or to provide external insight in determining optimal parameters. SCSI communication parameter limit suggestions can be specified by use of the: SIOC_SET_LUN_LIMITS, SIOC_SET_TGT_LIMITS, and SIOC_SET_BUS_LIMITS ioctls.
scsi_ctl(7) scsi_ctl(7) bus communication parameter limit suggestions. The max_width, max_reqack_offset, and max_xfer_rate fields only apply to parallel SCSI. The following is included from
scsi_ctl(7) scsi_ctl(7) */ } sioc_bus_parms_t; struct sioc_bus_limits { unsigned int flags; unsigned unsigned unsigned unsigned int int int int /* reserved for future * use */ max_width; max_reqack_offset; max_xfer_rate; reserved[4]; /* bytes/sec */ /* reserved for future * use */ } sioc_bus_limits_t; The following is included from
scsi_ctl(7) scsi_ctl(7) should be used to evaluate "success" or "failure" from the caller’s perspective. The cdb_status field indicates the results of the cdb command. If the cdb_status field indicates a S_CHECK_CONDITION status, the sense_status field indicates the results of the SCSI REQUEST SENSE command used to collect the associated sense data. These status fields will contain one of the following values: SCTL_INVALID_REQUEST The SCSI command request is invalid and thus not attempted.
scsi_ctl(7) scsi_ctl(7) SIOC_REL_TGT_EXCL release exclusive access to target SIOC_SET_TGT_EXCL obtain exclusive access to target SIOC_REL_BUS_EXCL release exclusive access to bus SIOC_SET_BUS_EXCL obtain exclusive access to bus The ioctl SIOC_PRIORITY_MODE is deprecated with HP-UX release 11i V3. If called, it will just fake success. This ioctl was used to workaround situations where it is not possible to set exclusive access to the device. It put the device in "Priority mode".
scsi_ctl(7) scsi_ctl(7) 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. EXAMPLES Assume that fildes is a valid file descriptor for a persistent device file of a SCSI device, and leg_fildes is a valid file descriptor for a legacy device file of a SCSI device, and lpt_hwp contains a valid hardware path of a LUN path to the device.
scsi_ctl(7) scsi_ctl(7) esctl_io.data_length = MAX_LEN; /* maximum transfer length */ esctl_io.max_msecs = 10000; /* allow 10 seconds for cmd */ if (ioctl(fildes, SIOC_IO_EXT, &esctl_io) < 0) { /* request is invalid */ } else { if ( esctl_io.cdb_status == S_GOOD) { /* success. display inquiry data */ else { /* failure. process depending on cdb_status */ } } 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.
scsi_ctl(7) scsi_ctl(7) to get correct command results. 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.
scsi_disk(7) scsi_disk(7) NAME scsi_disk - SCSI direct access device drivers (esdisk/sdisk) DESCRIPTION This section describes the interface for access of SCSI disk, CD-ROM, and optical disk devices through the character special device driver. esdisk is the default driver for direct access devices starting at HP-UX 11i Version 3. sdisk is the default driver used on HP-UX 11i Version 2 and earlier releases. It is maintained for backward compatibility.
scsi_disk(7) scsi_disk(7) EXAMPLES The following sample code shows how to use ioctls that affect scsi_disk . #include #include #include #include #include Describe_ext(dfd) int dfd; { int ret; disk_describe_type_ext_t disk_descr; uint64_t capacity; if ((ret = ioctl (dfd, DIOC_DESCRIBE_EXT, &descr_type)) != 0) { exit(1); } printf("\nSuccessful ioctl DIOC_DESCRIBE_EXT \n"); printf(" model number: %s\n", disk_descr.
scsi_disk(7) scsi_disk(7) char ** argv; { int ret, fd; if (argc != 2) { printf ("Usage: %s \n", argv[0]); exit(1); } if ((fd = open (argv[1], O_RDWR)) < 0) { exit (1); } Describe_ext(fd); Describe (fd); Exclusive (fd); Enable_WOE (fd); } WARNINGS Historically, disk devices have had small (typically 512 byte) block sizes; however, many newer disk devices (such as optical disks and disk arrays) have relatively large block sizes.
scsi_disk(7) scsi_disk(7) #define SIOC_VERIFY_BLANK #define SIOC_VERIFY _IOW(’S’, 20, struct scsi_verify) _IOW(’S’, 21, struct scsi_verify) /* structure for SIOC_ERASE ioctl */ struct scsi_erase { unsigned int start_lba; unsigned short block_cnt; }; /* structure for SIOC_VERIFY_BLANK and SIOC_VERIFY ioctls */ struct scsi_verify { unsigned int start_lba; unsigned short block_cnt; }; FILES /usr/include/sys/scsi.h SEE ALSO mediainit(1), mknod(1M), ioctl(2), disk(7), scsi(7).
scsi_tape(7) scsi_tape(7) NAME scsi_tape - SCSI sequential access 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) #define #define #define #define #define scsi_tape(7) 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 beginning-of-tape (BOT)
scsimgr_eschgr(7) scsimgr_eschgr(7) NAME scsimgr_eschgr - SCSI class driver eschgr plug-in for scsimgr DESCRIPTION The SCSI class driver eschgr plug-in for scsimgr implements management and diagnostic operations specific to classes of devices bound to the eschgr driver. eschgr is the native HP-UX SCSI class driver that handles, by default, all library/changer devices.
scsimgr_eschgr(7) scsimgr_eschgr(7) readaddr_secs RW uint32 exchange_secs RW uint32 Timeout for modesense 0x1D command. Default: 600 Timeout for the exchange command. Default: 600 I/O Load Balancing and Multi-Pathing Policies The eschgr driver does not support load balancing and has minimal support for multi-pathing. When the device is first opened after a system boot, a path is chosen and will remain fixed. If the path fails, the next open will pick a new path.
scsimgr_esdisk(7) scsimgr_esdisk(7) NAME scsimgr_esdisk - SCSI class driver esdisk plug-in for scsimgr DESCRIPTION The SCSI class driver esdisk plug-in for scsimgr implements management and diagnostic operations specific to classes of devices bound to the esdisk driver. esdisk is the native HP-UX SCSI class driver that handles, by default, all block devices including the following types : direct access, CD/DVD, write-once read-multiple (WORM), and optical memory (OM).
scsimgr_esdisk(7) scsimgr_esdisk(7) infinite_retries _enable RW boolean preferred_path RW string Device transient_secs Set RW uint32 format_secs RW uint32 start_unit_secs RW uint32 max_retries RW uint32 path_fail_secs RW uint32 esd_secs RW uint32 max_q_depth RW uint32 load_bal_policy RW string disable_flags RW string infinite_retries _enable RW boolean preferred_path. Enable or disable infinite retry of I/Os. May be: true: enable, false: disable.
scsimgr_esdisk(7) • scsimgr_esdisk(7) least_cmd_load The LUN path with the least number of active I/O requests is selected to execute the next I/O. This policy is appropriate when the paths to the LUN exhibit asymmetric latency characteristics. The load is distributed to optimize the bandwidth on each LUN path. • cl_round_robin (cell aware round robin) This load balancing policy is applicable to HP cell-based platforms.
scsimgr_estape(7) scsimgr_estape(7) NAME scsimgr_estape - SCSI class driver estape plug-in for scsimgr DESCRIPTION The SCSI class driver estape plug-in for scsimgr implements management and diagnostic operations specific to classes of devices bound to driver estape . estape is the native HP-UX SCSI class driver that handles, by default, all tape devices.
scsimgr_estape(7) LUN scsimgr_estape(7) default_secs RW uint32 space_secs RW uint32 write_secs RW uint32 read_secs RW uint32 unload_secs RW uint32 rewind_secs RW uint32 erase_secs RW uint32 mt_type RW uint32 default_blocksize RW uint32 default_ir RW uint32 close_marks RW uint32 num_partitions _supp RW uint32 characteristics RW uint64 s 176 Hewlett-Packard Company −2− Values: 0 (disabled), 1 (enabled). Timeout for all commands not referenced below. Default: 30.
scsimgr_estape(7) scsimgr_estape(7) best_density RW uint32 best_compression RW uint32 clean_req_ sns_info RW uint32 Tape density to write. Default: 0x7F. Values: 0xFFFFFFFF = Best density, 0x00 = Let the device choose the density, 0x7F = Do not modify tape density, other = a valid density code for the Mode Parameter Block Descriptor. Compression Algorithm to use. Default: 0.
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) unsigned unsigned char unsigned char } sctl_io_t; sense_status; sense_xfer; reserved[64]; The following flags can be used to specify the flags field value of both SIOC_IO_EXT and SIOC_IO unless indicated otherwise: SCTL_READ Data-in phase expected if the data_length field is non-zero. The absence of this flag implies that a data-out phase is expected if the data_length field is non-zero. ESCTL_IO_LPT The SCSI command is to be issued on a given LUN path.
sioc_io(7) sioc_io(7) S_GOOD or S_CHECK_CONDITION. The sense_xfer field indicates the number of valid sense data bytes. This field is valid only when the cdb_status field contains the value S_CHECK_CONDITION and the sense_status field contains the value S_GOOD . Security Restrictions Use of the SIOC_IO ioctl requires the superuser or DEVOPS privilege, or device write permissions. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
sioc_io(7) sioc_io(7) esctl_io.cdb[5] = 0x00; esctl_io.cdb_length = 6; /* 6 byte command */ esctl_io.data = &inquiry_data[0]; /* data buffer location */ esctl_io.data_length = MAX_LEN; /* maximum transfer length */ esctl_io.max_msecs = 10000; /* allow 10 seconds for cmd */ if (ioctl(fildes, SIOC_IO_EXT, &esctl_io) < 0) { /* request is invalid */ } else { if ( esctl_io.cdb_status == S_GOOD) { /* success. display inquiry data */ else { /* failure.
sioc_io(7) sioc_io(7) should normally be set to zero, even when the LUN being accessed is not zero. Use of linked commands is not supported. Most SCSI commands with a data phase expect the data length information to be included somewhere in the command bytes. Both the data_length field and any cdb data length values must be correctly specified to get correct command results. Very large (or infinite) timeout values can cause a parallel SCSI bus (potentially the entire system) to hang.
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) 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 flags 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) streamio(7) 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. [ETIME] A timeout occurred before an acknowledgement message was received at the stream head. [EAGAIN] Temporarily unable to allocate storage to perform the linking operation. [EINVAL] arg is an invalid multiplexor ID number.
streamio(7) streamio(7) 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_timout 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. [ENXIO] A hangup was received on the stream referred to by fildes.
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 DESCRIPTION These routines attempt to map the UNIX Time-Sharing System, Sixth Edition (Version 6), and PWB stty() and gtty() calls into the current ioctls that perform the same functions. The mapping cannot be perfect. The way the features are translated is described below. The reader should be familiar with termio before studying this entry. The following data structure is defined in the include file
sttyv6(7) sttyv6(7) 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. NOAL (if set) Sets the termio ECHOK flag. NOAL (if clear) Clears the termio ECHOK flag.
sttyv6(7) sttyv6(7) 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. ONLCR (if clear) If CR1 is set, the sgttyb NL1 flag is set, and if CR2 is set, the sgttyb NL2 flag is set. TAB3 (if set) Sets the sgttyb XTABS flag. TAB3 (if clear) Clears the sgttyb XTABS flag. TAB1 (if set) Sets the sgttyb TBDELAY flag.
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) timer has expired, TCP first compares the total time it has waited against the two thresholds. If it has waited longer than the second threshold, TCP terminates the connection. The default value for this option is the current value of the ndd tunable tcp_ip_abort_cinterval. See ndd(1M) online help for details on the tcp_ip_abort_cinterval default value.
TCP(7P) TCP(7P) unacknowledged data, the system gathers small amounts of data to be sent in a single packet once an acknowledgement is received. For clients such as window managers that send a stream of mouse events which receive no replies, this packetization may cause significant delays. The TCP_NODELAY option can be used to avoid this situation. Note, however, that setting the TCP_NODELAY option may result in a large number of small packets being sent over the network.
TCP(7P) RFC 1878 RFC 2018 RFC 2414 RFC 2582 TCP(7P) Variable Length Subnet Table for IPv4 TCP Selective Acknowledgement Options Increasing TCP’s Initial Window NewReno Modifications to TCP’s Fast Recovery Algorithm t HP-UX 11i Version 3: February 2007 −4− Hewlett-Packard Company 207
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) the 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 Control-Q Control-S disabled disabled disabled termio Structure The termio structure has been superseded by the termios structure and is provided for backward compatibility with prior applications (see termio Caveats). The structure is defined in the header file
termio(7) termio(7) 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 local area network DESCRIPTION This manpage provides a brief overview of VLAN (virtual LAN) technology. VLANs are logical, or virtual, network segments that can span multiple physical network segments. A primary benefit of VLANs is that they can isolate broadcast and multicast traffic by determining which destinations should receive that traffic, thereby making better use of switch and end-station resources.
xopen_networking(7) xopen_networking(7) NAME xopen_networking - X/Open Networking Interfaces DESCRIPTION X/Open has defined Sockets and IP Address Resolution interfaces in X/Open CAE Specification, Networking Services, Issue 4 (UNIX 95), X/Open CAE Specification, Networking Services, Issue 5 (UNIX 98), and The Single UNIX Specification, Version 3, System Interfaces (UNIX 03).
xopen_networking(7) xopen_networking(7) ld main.o routines.o -lxnet -lc -o prog Note if the C library is also specified in the link line, the Xnet library has to be specified before the C library. Otherwise, X/Open Sockets calls would have been resolved to BSD Sockets functions in the C library instead of X/Open Sockets functions in the Xnet library.
xopen_networking(7) xopen_networking(7) AUTHOR X/Open XTI , Sockets and IP Address Resolution interfaces were developed by HP and X/Open Company Limited.
zero(7) zero(7) NAME zero - /dev/zero special 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. When /dev/zero is memory mapped by calling mmap() , the associated memory object behaves as a MAP_ANONYMOUS object. It is initialized to all zeros.
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) block special file A special file associated with a mass storage device (such as a hard disk or tape cartridge drive) that transfers data in multiple-byte blocks, rather than by series of individual bytes (see character special file). Block special files can be mounted. A block special file provides access to the device where hardware characteristics of the device are not visible. b boot, boot-up The process of loading, initializing, and running an operating system.
glossary(9) glossary(9) collation sequence The ordering sequence applied to collating elements when they are sorted. To accommodate native languages, collation sequence can be thought of as the relative order of collating elements as set by the current value of the LANG environment variable. Characters can be omitted from the collation sequence, or two or more collating elements can be given the same relative order (see string(3C)). command A directive to perform a particular task.
glossary(9) glossary(9) current directory See working directory. current working directory See working directory. c 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).
glossary(9) glossary(9) dot See . (dot). dot-dot See .. (dot-dot). dot-oh See .o (dot-oh). dot-oh file See .o (dot-oh). d dot-oh format See .o (dot-oh). 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.
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 A string of bytes that uniquely identifies the system in the network. The host name for your system can be viewed and/or set with the hostname(1) command. More information can be found in the hostname(5) manpage. See also node name.
glossary(9) glossary(9) control shell provides commands that continue stopped process groups in either the foreground or background. The terminal driver also stops a background process group when any member of the background process group attempts to read from or write to the user’s terminal. This allows the user to finish or suspend the foreground process group without interruption and continue the stopped background process group at a more convenient time.
glossary(9) glossary(9) local customs The conventions of a geographical area or territory for such things as date, time and currency formats. 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.
glossary(9) pid_t time_t time_t time_t glossary(9) msg_lrpid; msg_stime; msg_rtime; msg_ctime; /* /* /* /* /* /* pid of last msgrcv operation */ last msgsnd time */ last msgrcv time */ last change time */ Times measured in secs since */ 00:00:00 GMT, Jan. 1, 1970 */ Message queue identifiers can be created using ftok(3C). msg_perm is a ipc_perm structure that specifies the message operation permission (see below).
glossary(9) glossary(9) mode A 16-bit word associated with every file in the file system, stored in the inode. The least-significant 12 bits of the mode determine the read, write, and execute permissions for the file owner, file group, and all others, and contain the set-user-ID, set-group-ID, and sticky bits. The least-significant 12 bits can be set by the chmod(1) command if you are the file’s owner or the superuser. These 12 bits are sometimes referred to as permission bits.
glossary(9) glossary(9) node name A string of bytes which uniquely identifies the system in the local network. Unlike the host name, the node name cannot include domain names. It can be viewed and/or set with the uname(1) command. The node and host names are usually set to the same value as application programs sometimes use the node and host names interchangeably.
glossary(9) glossary(9) path name; otherwise, it is a relative path name. A path name defines the path to be followed through the hierarchical file system in order to find a particular file.
glossary(9) glossary(9) The last three characters are the dot, underscore and hyphen characters, respectively. The hyphen should not be used as the first character of a portable file name. position-independent code (PIC) Object code that can run unmodified at any virtual address. Position-independent code can use PC-relative addressing modes and/or linkage tables. It is most often used in shared libraries, in which case the linkage tables are initialized by the dynamic loader.
glossary(9) glossary(9) prompt The characters displayed by the shell on the terminal indicating that the system is ready for a command. The prompt is usually a dollar sign ($) for ordinary users (% in the C shell) and a pound sign (#) for the superuser, but you can redefine it to be any string by setting the appropriate shell variable (see sh(1) and related entries). See also secondary prompt. quit signal The SIGQUIT signal (see signal(2).
glossary(9) glossary(9) __restrict A macro that is optionally applied to the function prototype when the application developer directly or indirectly selects C99 conformance. If the user chooses C99 conformance, the __restrict macro is changed to the restrict keyword. Otherwise, the __restrict macro is expanded to an empty string. root directory (1) The highest level directory of the hierarchical file system, from which all other files branch. In HPUX, the slash (/) character refers to the root directory.
glossary(9) glossary(9) enter a shell programming language control-flow construct (such as a for construct) from the command line. By default, the shell’s secondary prompt is the greater-than sign (>), but you can re-define it by setting the shell variable PS2 appropriately in your .profile file. (The C shell has no secondary prompt.) semaphore identifier (semid) A unique positive integer created by a semget(2) system call. Each semid has a set of semaphores and a data structure associated with it.
glossary(9) glossary(9) session leader A process that has created a session (see setsid(2)). session lifetime The period between when a session is created and the end of the lifetime of all process groups that remain as members of the session. set-group-ID bit A single bit in the mode of every file in the file system. If a file is executed whose set-group-ID bit is set, the effective group ID of the process which executed the file is set equal to the real group ID of the owner of the file. See also group.
glossary(9) 00200 00060 00006 glossary(9) Write by user Read, Write by group Read, Write by others Read and Write permissions for a shmop(2) or shmctl(2) operation on a shared memory identifier (shmid) are granted to a process if one or more of the following are true: • The process’s effective user ID is superuser. • The process’s effective user ID matches shm_perm. [c]uid in the data structure associated with the shmid and the appropriate bit of the "user" portion (0600) of shm_perm.mode is set.
glossary(9) glossary(9) special file A file associated with an I/O device. Often called a device file. Special files are read and written the same as ordinary files, but requests to read or write result in activation of the associated device. Due to convention and consistency, these files should always reside in the /dev directory. See also file. special system processes Special system processes are those which are critical to basic system operation.
glossary(9) glossary(9) superblock A block on each file system’s mass storage medium which describes the file system. The contents of the superblock vary between implementations. Refer to the system administrator manuals supplied with your system for details. superuser The HP-UX system administrator. This user has access to all files, and can perform privileged operations. superuser has a real user ID and effective user ID of 0, and, by convention, the user name of root.
glossary(9) glossary(9) Two benefits are realized by terminal affiliation. First, all signals sent from the terminal are sent to all processes in the terminal group. Second, all processes in the terminal group can perform I/O to/from the generic terminal driver /dev/tty , which automatically selects the affiliated terminal. Terminal affiliation is broken with a terminal group when the process group leader terminates, after which the hangup signal is sent to all processes remaining in the process group.
glossary(9) glossary(9) SEE ALSO introduction(9).
introduction(9) introduction(9) NAME introduction - HP-UX operating system and HP-UX Reference INTRODUCTION 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 (SVR4) and includes important features from the Fourth Berkeley Software Distribution (4BSD).
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) Roman square brackets ([ ]) indicate that the contents are optional. Roman braces ({ }) indicate a required element, usually in a choice. Ellipses (...) indicate that the previous element and its preceding whitespace (if any) can be repeated. Note: An argument beginning with a dash (-), a plus sign (+), or an equal sign (=) is often defined as a command option, even if it appears in a position where a file name could appear.
introduction(9) introduction(9) combinations of hardware and software. AUTHOR Indicates the principal developer of the software documented by the manpage. Unless noted otherwise, the source of an entry is System V. FILES The file names that are used or affected by the program or command. SEE ALSO Provides references to related manpages and other documentation.
introduction(9) introduction(9) prompt for users. The C shell uses %. All the shells use # as the default superuser prompt. See login(1) for more on login, passwd(1) to change your password, chsh(1) to change your login shell. Logging Out You can log out of the shells by typing an exit command or the eof (end-of-file) character (see the Special Interactive Characters subsection below). The shell terminates and the login: prompt appears again.
introduction(9) introduction(9) The eof , erase , and kill characters can be used as normal text characters if you escape them with a preceding \, as in \ˆD . Therefore, to erase a \, you need two erase s. The intr , quit , start , and stop characters cannot be escaped on the input line.
introduction(9) introduction(9) be left in a file named a.out in the current directory. Since the results of a subsequent compilation may also be placed in a.out , thus overwriting the current output, you may want to use mv to give the output a unique name. If the program is written in assembly language, you will probably need to link library subroutines with it (see ld(1)). FORTRAN, C, and aC++ call the linker automatically.
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_bspstore() - user context access (ucontext_t) ................................................... uc_access(3) __uc_get_ar_ccv() - user context access (ucontext_t) ............................................................. uc_access(3) __uc_get_ar_csd() - user context access (ucontext_t) ............................................................. uc_access(3) __uc_get_ar_ec() - user context access (ucontext_t) ...............................
Index All Volumes Description Entry Name(Section) _UNW_getBR() - query values in unwind library data structure ............................................. _UNW_getGR(3X) _UNW_getCFM() - query values in unwind library data structure ........................................... _UNW_getGR(3X) _UNW_getFR() - query values in unwind library data structure ............................................. _UNW_getGR(3X) _UNW_getGR() - 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, view or modify ................................................................................................... swacl(1M) access control lists; add, modify, delete, copy, or summarize ...................................................................
Index All Volumes Description Entry Name(Section) accounting: acctprc1 - convert process accounting files to ASCII text format .................................. acctprc(1M) accounting: acctprc2 - summarize process accounting files created by acctprc1 .......................... acctprc(1M) accounting: daily accounting shell procedure ................................................................................... runacct(1M) accounting: enable or disable process accounting ...............................
Index All Volumes Description Entry Name(Section) ACPS Application Programming Interface ........................................................................................ acps_api(3) ACPS Service Provider Interface ....................................................................................................... acps_spi(3) acps.conf - configuration file for the Access Control Policy Switch (ACPS) .................................... acps.
Index All Volumes Description Entry Name(Section) ............................................................................................................................................... olrad(1M) additional cursor and window coordinates, get .............................................................................. getbegyx(3X) additional severities, define ...............................................................................................................
Index All Volumes Description Entry Name(Section) AIO pool, percentage of all process threads allowed in .................................................. aio_proc_thread_pct(5) aio() - POSIX asynchronous I/O facility ................................................................................................... aio(5) AIO requests and servicing threads, desirable ratio between number of pending ............ aio_req_per_thread(5) AIO thread pool monitor execution (in seconds), frequency of ............
Index All Volumes Description Entry Name(Section) allow signals to interrupt functions ............................................................................................. siginterrupt(2) allowed login shells, list of ..................................................................................................................... shells(4) allowed per process, defines the maximum number of threads ...........................................
Index All Volumes Description Entry Name(Section) archiver; tape file ........................................................................................................................................ tar(1) archives in and out; copy file ..................................................................................................................... cpio(1) archives in and out; duplicate directory trees; copy file .............................................................................
Index All Volumes Description Entry Name(Section) assembler ..................................................................................................................................................... as(1) assembler and link editor output format ................................................................................................. a.out(4) assembler debugger ..................................................................................................................................
Index All Volumes Description Entry Name(Section) atanhl() - arc hyperbolic tangent function (long double) ................................................................... atanh(3M) atanhq() - arc hyperbolic tangent function (quad) ............................................................................. atanh(3M) atanhw() - arc hyperbolic tangent function (extended) ...................................................................... atanh(3M) atanl() - arctangent function (long double) ..........
Index All Volumes Description Entry Name(Section) audit files; start or halt the auditing system and set or get ................................................................... audctl(2) audit ID (aid) for the current process; get the .................................................................................. getaudid(2) audit ID (aid) for the current process; set the ..................................................................................
Index All Volumes Description Entry Name(Section) command’s .................................................................................................................. cmdprivadm(1M) authorization checks and optionally reauthenticating the user; invoke another application with privileges after performing appropriate .............................................................................................. privrun(1M) authorization file; EVM ........................................................
Index All Volumes Description Entry Name(Section) baud rate, tty, set or get ................................................................................................................... cfspeed(3C) baudrate() - get terminal baud rate ............................................................................................ baudrate(3X) bc - arbitrary-precision arithmetic language ................................................................................................
Index All Volumes Description Entry Name(Section) boot area ......................................................................................................................................... glossary(9) boot device configuration table .......................................................................................................... bootconf(4) boot programs from disk; install, update or remove .........................................................................
Index All Volumes Description Entry Name(Section) build a makefile ..................................................................................................................................... mkmf(1) build and install Network Information Service databases ................................................................... ypinit(1M) build or access a binary search tree ..................................................................................................
Index All Volumes Description Entry Name(Section) cacoshq() - complex arc hyperbolic cosine function (quad) .............................................................. cacosh(3M) cacoshw() - complex arc hyperbolic cosine function (extended) ....................................................... cacosh(3M) cacosl() - complex arccosine function (long double) .......................................................................... cacos(3M) cacosq() - complex arccosine function (quad) ...................
Index All Volumes Description Entry Name(Section) case - execute list associated with pattern that matches word .................................................................. ksh(1) case - label in a switch statement ............................................................................................................. csh(1) casin() - complex arcsine function ....................................................................................................
Index All Volumes Description Entry Name(Section) cd - change working directory .................................................................................................................... csh(1) cd - change working directory ................................................................................................................... ksh(1) cd - change working directory ...........................................................................................................
Index All Volumes Description Entry Name(Section) change login password ........................................................................................................................ passwd(1) change login password and associated attributes ................................................................................. passwd(1) change login password in Network Information System (NIS) ........................................................
Index All Volumes Description Entry Name(Section) character and rendition, input a single-byte from a window ................................................................... inch(3X) character and rendition, single-byte, insert into a window .................................................................... insch(3X) character back into input stream, push .............................................................................................. ungetc(3S) character code set, convert to another ....
Index All Volumes Description Entry Name(Section) chatr_pa - change program’s internal attributes on PA-RISC systems ............................................... chatr_pa(1) chdir - change current working directory ................................................................................................. csh(1) chdir() - change working directory ......................................................................................................
Index All Volumes Description Entry Name(Section) circuit, X.25 switched virtual, clear ..................................................................................................... clrsvc(1M) cis() - cosine plus i times sine ............................................................................................................... cis(3M) cisf() - cosine plus i times sine (float) ...................................................................................................
Index All Volumes Description Entry Name(Section) clnt_freeres() - library routines for client side calls ........................................................ rpc_clnt_calls(3N) clnt_geterr() - library routines for client side calls .......................................................... rpc_clnt_calls(3N) clnt_pcreateerror() - library routines for dealing with CLIENT handles ..................... rpc_clnt_create(3N) clnt_perrno() - library routines for client side calls .............................
Index All Volumes Description Entry Name(Section) privrun database ...................................................................................................... cmdprivadm(1M) cmp - compare two files ............................................................................................................................. cmp(1) cmpt_change() - set and get process’ compartment .................................................................
Index All Volumes Description Entry Name(Section) command options; parse ........................................................................................................................ getopt(1) Command Set 1980 ......................................................................................................................... glossary(9) command shells; standard and restricted POSIX.2-conformant ..........................................................
Index All Volumes Description Entry Name(Section) compare two versions of an SCCS file ................................................................................................. sccsdiff(1) comparison macro, floating-point (<) ................................................................................................... isless(3M) comparison macro, floating-point (<=) ........................................................................................
Index All Volumes Description Entry Name(Section) cancel pending changes to ............................................................................................... parunlock(1M) complex power functions ...................................................................................................................... cpow(3M) complex profile or cancel pending changes to complex or partition configuration data; unlock stable ..........................................................................
Index All Volumes Description Entry Name(Section) configuration file for the Access Control Policy Switch (ACPS) ......................................................... acps.conf(4) configuration file for the LDAP client daemon process ......................................................... ldapclientd.conf(4) configuration file for the name-service switch ........................................................................... nsswitch.conf(4) configuration file for the SNMP agent ..................
Index All Volumes Description Entry Name(Section) ............................................................................................................................... smhstartconfig(1M) configures, and stops Live Dump, initiates, .................................................................................. livedump(1M) confirmation from connect request (X/OPEN TLI-XTI) ...............................................................
Index All Volumes Description Entry Name(Section) continue - resume next iteration of enclosing for/next loop ...................................................................... ksh(1) continue, resume, or suspend execution of a thread .................................................... pthread_resume_np(3T) control a file descriptor for ELF files ................................................................................................. elf_cntl(3E) control a SCSI device .........................
Index All Volumes Description Entry Name(Section) conversion routines, network station address string ....................................................................... net_aton(3C) conversion routines; codeset ................................................................................................................. iconv(3C) conversion, formatted input, to a varargs argument ........................................................................... vscanf(3S) conversion; codeset ..............
Index All Volumes Description Entry Name(Section) coordinates, get additional cursor and window coordinates ............................................................. getbegyx(3X) coordinates, get cursor and window coordinates ................................................................................... getyx(3X) copies files and directory hierarchies; extracts, writes, and lists archive files; ............................................ pax(1) copy a file into memory .............................
Index All Volumes Description Entry Name(Section) coshw() - hyperbolic cosine function (extended) ................................................................................... cosh(3M) cosine and sine of degree argument ................................................................................................. sincosd(3M) cosine and sine together ..................................................................................................................... sincos(3M) cosine functions .....
Index All Volumes Description Entry Name(Section) crash dump, open for reading ............................................................................................................. cr_open(3) crash dump, read from ....................................................................................................................... cr_read(3) crash dump, uncompress a file in ...........................................................................................
Index All Volumes Description Entry Name(Section) create shutdown message file for ftp servers ....................................................................................... ftpshut(1) create special and FIFO files ............................................................................................................. mknod(1M) create the interface socket that MTAs use to connect to the filter; attempts to ................. smfi_opensocket(3N) create zero-length file ..........................
Index All Volumes Description Entry Name(Section) ctanhw() - complex hyperbolic tangent function (extended) ............................................................... ctanh(3M) ctanl() - complex tangent function (long double) ................................................................................ ctan(3M) ctanq() - complex tangent function (quad) .......................................................................................... ctan(3M) ctanw() - complex tangent function (extended) ...
Index All Volumes Description Entry Name(Section) daemon configuration file; RAMD ................................................................................................... ramd.conf(4) daemon debug utility used by DDFA software, outbound connection .............................................. ocdebug(1M) daemon for IPv6, Router Advertisement ......................................................................................... rtradvd(1M) daemon for IPv6; BGP routing .........................
Index All Volumes Description Entry Name(Section) data pointer for the sendmail connection; sets the private ........................................................ smfi_setpriv(3N) data returned by the stat() function ........................................................................................................... stat(5) data segment and shared memory, attach or detach .............................................................................
Index All Volumes Description Entry Name(Section) database; display protected password ............................................................................................. getprpw(1M) database; force propagation of Network Information Service ........................................................... yppush(1M) database; kernel packet forwarding .....................................................................................................
Index All Volumes Description Entry Name(Section) debugger: assembler debugger ................................................................................................................... adb(1) debugger: object code debugger ................................................................................................................. adb(1) debugging level for the Milter library for sendmail; sets the ..................................................... smfi_setdbg(3N) debugging purposes.
Index All Volumes Description Entry Name(Section) delete a group from the system ..................................................................................................... groupdel(1M) delete a node from a binary search tree ............................................................................................ tsearch(3C) delete a user login from the system ................................................................................................. userdel(1M) delete a window .........
Index All Volumes Description Entry Name(Section) descriptor for ELF file; make file ................................................................................................... elf_begin(3E) descriptor table; get the size of the per-process file ................................................................... getdtablesize(2) descriptor to a specific slot; duplicate an open file .................................................................................... dup2(2) descriptor, close a file .
Index All Volumes Description Entry Name(Section) device file ........................................................................................................................................ glossary(9) Device File Access software, Data Communications and Terminal Controller ........................................... ddfa(7) device file, block mode terminal ..........................................................................................................
Index All Volumes Description Entry Name(Section) diff file to an original file; program to apply a ......................................................................................... patch(1) diff, big .................................................................................................................................................... bdiff(1) diff3 - three-way differential file comparison .........................................................................................
Index All Volumes Description Entry Name(Section) directory: copy multiple files to a directory .................................................................................................. cp(1) directory: expand compressed files in a directory ............................................................................. compress(1) directory: get path-name of current working directory ......................................................................
Index All Volumes Description Entry Name(Section) disk quotas; manipulate ..................................................................................................................... quotactl(2) disk section sizes; calculate default ................................................................................................ disksecn(1M) disk space used for caching file systems with CacheFS; administer ............................................... cfsadmin(1M) disk storage space, preallocate .
Index All Volumes Description Entry Name(Section) display; long user and group name enablement and ..................................................................... lugadmin(1M) displayable form; dump an event in ..................................................................................... EvmEventDump(3) displays formatted message on standard error and console ...............................................................
Index All Volumes Description Entry Name(Section) DNSSEC zone signing tool ................................................................................................... dnssec-signzone(1) DNSSEC, produces a set of DNSSEC keys ..................................................................... dnssec-makekeyset(1) dnssec-keygen - key generation tool for DNSSEC ................................................................ dnssec-keygen(1) dnssec-makekeyset - produces a set of DNSSEC keys ..........
Index All Volumes Description Entry Name(Section) driver; pseudo-terminal .............................................................................................................................. pty(7) driver; STREAMS log ............................................................................................................................ strlog(7) drivers in the system, list device ..........................................................................................................
Index All Volumes Description Entry Name(Section) dynamic libraries linked into each process, including shared objects explicitly attached using dlopen()/shl_load(); list the .................................................................................................. pldd(1) dynamic linking process, diagnostic information .............................................................................. dlerrno(3C) dynamic linking process, diagnostic information ...........................................
Index All Volumes Description Entry Name(Section) efi - Extensible Firmware Interface description ......................................................................................... efi(4) EFI file information or contents of an EFI directory, list ...................................................................... efi_ls(1M) EFI file system header on a device file, write an ............................................................................ efi_fsinit(1M) EFI file, copy to or from ........
Index All Volumes Description Entry Name(Section) elf_newdata() - manipulate section data for ELF files ............................................................ elf_getdata(3E) elf_newscn() - get section information for ELF files ................................................................. elf_getscn(3E) elf_next() - provide sequential archive member access for ELF files ........................................... elf_next(3E) elf_nextscn() - get section information for ELF files ..................
Index All Volumes Description Entry Name(Section) encoded uuencode file; format of an ............................................................................................... uuencode(4) encrypt files ............................................................................................................................................ crypt(1) encrypt, attach a message integrity code (MIC) to a message and optionally ....................................
Index All Volumes Description Entry Name(Section) entry on trusted systems; get secure password file ...................................................................... getspwent(3X) entry, get file system descriptor file (BSD 4.2 compatibility only) ..................................................... getfsent(3X) entry, manipulate terminal control database ................................................................................. getprtcent(3) entry, network group, get or set ..................
Index All Volumes Description Entry Name(Section) error log, collect system diagnostic messages to form ........................................................................ dmesg(1M) error message function (X/OPEN TLI-XTI) .......................................................................................... t_error(3) error message string, get PAM ................................................................................................. pam_strerror(3) error message; produce (X/OPEN - XTI) .
Index All Volumes Description Entry Name(Section) event management (EVM) callback function ............................................................................. EvmCallback(5) Event Management (EVM) daemon; connection to the ......................................................... EvmConnection(5) Event Management (EVM) event filter; EVM ................................................................................. EvmFilter(5) Event Manager channel manager ......................................
Index All Volumes Description Entry Name(Section) EVM - event management ......................................................................................................................... EVM(5) EVM (Event Management) daemon; connection to the ......................................................... EvmConnection(5) EVM (Event Management) event filter ........................................................................................... EvmFilter(5) EVM event name; match .......................
Index All Volumes Description Entry Name(Section) EvmFilterTest() - event filter evaluator routines ........................................................... EvmFilterCreate(3) evmget - retrieve stored events ........................................................................................................... evmget(1) evminfo - provide information about EVM ........................................................................................
Index All Volumes Description Entry Name(Section) execlp() - execute a file ......................................................................................................................... exec(2) executable and linking format object files (ELF) ........................................................................................ elf(3E) executable by default, controls whether program stacks are ...............................................
Index All Volumes Description Entry Name(Section) exp2w() - base-2 exponential function (extended) ................................................................................ exp2(3M) expand, unexpand - expand tabs to spaces, and vice versa ................................................................. expand(1) expand files using Huffman code; compress and ....................................................................................... pack(1) expand or compress data ........................
Index All Volumes Description Entry Name(Section) extract strings from C programs to implement shared strings ................................................................... xstr(1) extract window IDs of user processes from /etc/services.window ............................... getmemwindow(1M) extracts, writes, and lists archive files; copies files and directory hierarchies ............................................. pax(1) fabs() - absolute value function ..............................................
Index All Volumes Description Entry Name(Section) fdetach - detach a STREAMS-based file descriptor ........................................................................ fdetach(1M) fdim() - positive difference function .................................................................................................... fdim(3M) fdimf() - positive difference function (float) ........................................................................................
Index All Volumes Description Entry Name(Section) file access and modification times, set or update .................................................................................... utime(2) file access mode .............................................................................................................................. glossary(9) file access permissions ..................................................................................................................
Index All Volumes Description Entry Name(Section) file format, password file ...................................................................................................... passwd(4) file format: common archive files .................................................................................................................. ar(4) file format: compiled terminfo file format ..............................................................................................
Index All Volumes Description Entry Name(Section) file system ....................................................................................................................................... glossary(9) file system administration command .................................................................................................. fsadm(1M) file system administration command ...........................................................................................
Index All Volumes Description Entry Name(Section) file systems, mount and unmount multiple ................................................................................... mountall(1M) file systems; determine the shutdown status of HFS ........................................................................ fsclean(1M) file systems; mount and unmount ...................................................................................................... mount(1M) file systems; mount and unmount CacheFS ...
Index All Volumes Description Entry Name(Section) file: change owner and group ................................................................................................................ chown(2) file: change the name of a file .............................................................................................................. rename(2) file: close a file descriptor ........................................................................................................................
Index All Volumes Description Entry Name(Section) file; shadow password ......................................................................................................................... shadow(4) file; update access, modification, and/or change times of ......................................................................... touch(1) filecache_max - maximum amount of physical memory for caching file I/O data ..................
Index All Volumes Description Entry Name(Section) files: differential file comparator ................................................................................................................. diff(1) files: display file on soft-copy terminals ........................................................................................................ pg(1) files: eliminate adjacent repeated lines in a file ........................................................................................
Index All Volumes Description Entry Name(Section) filter file; Event Manager ............................................................................................................ evmfilterfile(4) filter for screen viewing; file perusal ....................................................................................................... more(1) filter reverse line-feeds and backspaces from text .......................................................................................
Index All Volumes Description Entry Name(Section) floating-point environment: saving ......................................................................................... feholdexcept(3M) floating-point environment: setting ................................................................................................ fesetenv(3M) floating-point environment: updating ......................................................................................
Index All Volumes Description Entry Name(Section) fmodq() - remainder function (quad) .................................................................................................. fmod(3M) fmodw() - remainder function (extended) ............................................................................................ fmod(3M) fmt - format text .......................................................................................................................................
Index All Volumes Description Entry Name(Section) format; translate host table to name server file ................................................................. hosts_to_named(1M) format; user login record ........................................................................................................................ utmp(4) formats for Integrity systems; structure ..............................................................................................
Index All Volumes Description Entry Name(Section) fruled - flash/turn off attention LEDs (cell, cabinet and I/O chassis attention LEDs) ........................... fruled(1) frupower - turn on/off or display current status of power for cells and I/O chassis ...................... frupower(1M) fs_async - enables write calls to return before write operation is complete ..................................... fs_async(5) fs_symlinks - maximum number of symbolic links used to resolve a path name .................
Index All Volumes Description Entry Name(Section) ftpd; security file for ........................................................................................................................ ftpusers(4) ftpd configuration file ....................................................................................................................... ftpaccess(4) ftpd conversions database .......................................................................................................
Index All Volumes Description Entry Name(Section) gai_strerror() - get hostname and address entry ................................................................ getaddrinfo(3N) gamma() - log gamma function ....................................................................................................... lgamma(3M) gamma, true, functions ................................................................................................................... tgamma(3M) gammaf() - log gamma function (float) .
Index All Volumes Description Entry Name(Section) get a wide character from a terminal ............................................................................................... get_wch(3X) get a wide-character string and rendition from a cchar_t ............................................................. getcchar(3X) get a wide-character string from a stream file ....................................................................................
Index All Volumes Description Entry Name(Section) get network group entry ........................................................................................................... getnetgrent(3C) get network host entry ............................................................................................................... gethostent(3N) get of an SCCS file, undo a previous ......................................................................................................
Index All Volumes Description Entry Name(Section) get: time .................................................................................................................................................. time(2) get: value of process interval timer .................................................................................................. getitimer(2) get_expiration_time() - add a specific time interval to the current ......................
Index All Volumes Description Entry Name(Section) gethostname() - get name of current host system ................................................................... gethostname(2) gethrtime() - get high resolution time ...................................................................................... gethrtime(3C) getitimer() - get value of process interval timer ..........................................................................
Index All Volumes Description Entry Name(Section) getprpwnam() - manipulate protected password database entries (for trusted systems only) ........................................................................................................................................ getprpwent(3) getprpwuid() - get protected password database user ID (trusted systems) .............................. getprpwent(3) getprpwuid() - manipulate protected password database entries (for trusted systems only) ...............
Index All Volumes Description Entry Name(Section) getut - access utmp file entry ................................................................................................................ getut(3C) getutent() - get pointer to next entry in utmp file ............................................................................. getut(3C) getutent_r() - get pointer to next entry in utmp file .........................................................................
Index All Volumes Description Entry Name(Section) group file ................................................................................................................................................ login(1) group file entry; get ........................................................................................................................ getgrent(3C) group file; check ...........................................................................................................................
Index All Volumes Description Entry Name(Section) machine ....................................................................................................... gss_export_sec_context(3) gss_get_mic() - calculate a cryptographic message integrity code (MIC) for a message and return in a token ............................................................................................................. gss_get_mic(3) gss_import_name() - convert a printable name to an internal form ...........................
Index All Volumes Description Entry Name(Section) hardware model information; print ........................................................................................................ model(1) hardware partitionable complex; display information about a .......................................................... parstatus(1) hardware path ................................................................................................................................
Index All Volumes Description Entry Name(Section) HFS file systems; mount and unmount ....................................................................................... mount_hfs(1M) HFS file systems; quota consistency checker ...................................................................... quotacheck_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) Hop-by-Hop and Destination options manipulation functions, IPv6 ......................................... net6_opt_init(3N) host access control files; format .................................................................................................. hosts_access(5) host access control language extensions .................................................................................... hosts_options(5) host access file, ftpd ........................
Index All Volumes Description Entry Name(Section) HP-UX bootstrap for Itanium-based systems .................................................................................. hpux.efi(1M) HP-UX compartments files ...................................................................................................... compartments(4) HP-UX documentation, introduction to ...................................................................................................
Index All Volumes Description Entry Name(Section) hyperbolic tangent functions ................................................................................................................. tanh(3M) hyphen - find hyphenated words ......................................................................................................... hyphen(1) hyphenated words, find .......................................................................................................................
Index All Volumes Description Entry Name(Section) ID for job control, set process group .................................................................................................... setpgid(2) ID of running program or start program in particular memory window; change window ... setmemwindow(1M) id - print user and group IDs and names ..................................................................................................... id(1) ID to file path; map device .................................
Index All Volumes Description Entry Name(Section) image file; main memory ......................................................................................................................... mem(7) images of running processes; get core ..................................................................................................... gcore(1) imaxabs() - return long integer absolute value ......................................................................................
Index All Volumes Description Entry Name(Section) inetd.conf - configuration file for inetd ..................................................................................... inetd.conf(4) inetd.sec - optional inetd security file ......................................................................................... inetd.sec(4) inetsvcs.confconfiguration file for secure internet services ................................................... inetsvcs.
Index All Volumes Description Entry Name(Section) initial system configuration plus DHCP support command ....................................................... auto_parms(1M) initial system loader ................................................................................................................................. isl(1M) initialisation functions for screen .......................................................................................................
Index All Volumes Description Entry Name(Section) insdelln() - delete or insert lines into a window .......................................................................... insdelln(3X) insert a complex character and rendition into a window .................................................................. ins_wch(3X) insert a multi-byte character into a window ......................................................................................
Index All Volumes Description Entry Name(Section) interactively write (talk) to another user ................................................................................................ write(1) interactively; query name servers .................................................................................................... nslookup(1) interchange format; DOS .........................................................................................................................
Index All Volumes Description Entry Name(Section) Internet user datagram protocol ........................................................................................................... UDP(7P) Internet user name directory service ..................................................................................................... whois(1) Internet; send mail over the .........................................................................................................
Index All Volumes Description Entry Name(Section) io_error() - interface for interacting with kernel I/O subsystem ....................................................... libIO(3X) io_get_devs() - interface for interacting with kernel I/O subsystem ................................................. libIO(3X) io_get_legacy_mode() - interface for interacting with kernel I/O subsystem ................................... libIO(3X) io_get_mapping() - interface for interacting with kernel I/O subsystem ...........
Index All Volumes Description Entry Name(Section) IPC system-wide semaphore identifiers, number of System V ............................................................ semmni(5) IPC system-wide semaphore undo structures, number of System V .................................................. semmnu(5) IPC undo entries per process, maximum number of System V ........................................................... semume(5) ipcrm - remove a message queue, semaphore set, or shared memory identifier ........
Index All Volumes Description Entry Name(Section) iswupper() - character is uppercase ............................................................................................... wctype(3C) iswxdigit() - character is a hexadecimal digit ............................................................................... wctype(3C) isxdigit() - character is a hexadecimal digit ....................................................................................
Index All Volumes Description Entry Name(Section) kernel logging, control ............................................................................................................................... kl(1M) kernel memory pages are dumped when a kernel panic occurs, defines which classes of ............ alwaysdump(5) kernel memory pages are not dumped when a kernel panic occurs, defines which classes of ........................................................................................................
Index All Volumes Description Entry Name(Section) keys in Network Information Service map, print the values of selected ............................................ ypmatch(1) keyserv process, talk to the .......................................................................................................... keyenvoy(1M) keyserv - server for storing private encryption keys ...................................................................... keyserv(1M) keyset signing tool for DNSSEC ....................
Index All Volumes Description Entry Name(Section) lang - description of supported languages ................................................................................................ lang(5) langinfo - language information constants ...................................................................................... langinfo(5) language information constants .........................................................................................................
Index All Volumes Description Entry Name(Section) ldexpl() - scale exponent of a floating-point number (long double) ................................................... ldexp(3M) ldexpq() - scale exponent of a floating-point number (quad) .............................................................. ldexp(3M) ldexpw() - scale exponent of a floating-point number (extended) ....................................................... ldexp(3M) ldfcvt(), (_ldfcvt()) - convert long double to string ................
Index All Volumes Description Entry Name(Section) libraries linked into each process, including shared objects explicitly attached using dlopen()/shl_load(); list the dynamic .................................................................................... pldd(1) libraries on Integrity systems; list dynamic dependencies of executable files or shared .......................... ldd_ia(1) libraries on PA-RISC systems; list dynamic dependencies of executable files or shared .........................
Index All Volumes Description Entry Name(Section) lifls - list contents of a LIF directory ..................................................................................................... lifls(1) lifrename - rename LIF files ........................................................................................................ lifrename(1) lifrm - remove a LIF file .......................................................................................................................
Index All Volumes Description Entry Name(Section) link directories using symbolic links ............................................................................................................ ln(1) link editor .................................................................................................................................................... ld(1) link editor and assembler output format ................................................................................................. a.
Index All Volumes Description Entry Name(Section) lists (ACLs); introduction to HFS access control .......................................................................................... acl(5) lists (ACLs); introduction to JFS access control ......................................................................................... aclv(5) lists and execute command; construct argument ....................................................................................
Index All Volumes Description Entry Name(Section) localedef - format and semantics of locale definition file ............................................................... localedef(4) localedef - generate a locale environment ................................................................................. localedef(1M) localedef scripts; symbolic translation file for .................................................................................... charmap(4) locality domain IDs, determined ...........
Index All Volumes Description Entry Name(Section) log1pf() - natural logarithm of one-plus-argument function (float) ................................................... log1p(3M) log1pl() - natural logarithm of one-plus-argument function (long double) ........................................ log1p(3M) log1pq() - natural logarithm of one-plus-argument function (quad) ................................................... log1p(3M) log1pw() - natural logarithm of one-plus-argument function (extended) ...........
Index All Volumes Description Entry Name(Section) login name, get .................................................................................................................................. logname(1) login on the system; modify a user ................................................................................................. usermod(1M) login password and associated attributes; change ................................................................................
Index All Volumes Description Entry Name(Section) LP spooler performance analysis information; display ......................................................................... lpana(1M) LP spooler requests on a remote system; print status of ................................................................... rlpstat(1M) LP spooling system; configure the ..................................................................................................
Index All Volumes Description Entry Name(Section) LVM logical volumes; merge two into one logical volume ................................................................ lvmerge(1M) LVM physical volume group information file ....................................................................................... lvmpvg(4) LVM physical volume to other physical volumes, move allocated physical extents from ................... pvmove(1M) LVM volume group and its associated logical volumes; export ..............
Index All Volumes Description Entry Name(Section) magic number ................................................................................................................................. glossary(9) magic numbers for HP-UX implementations .......................................................................................... magic(4) magnetic tape dump and restore protocol module, remote ......................................................................
Index All Volumes Description Entry Name(Section) make local NFS file systems available for mounting by remote systems ....................................... share_nfs(1M) make local NFS file systems unavailable for mounting by remote systems .............................. unshare_nfs(1M) make local resource available for mounting by remote systems ........................................................... share(1M) make local resource unavailable for mounting by remote systems ...........................
Index All Volumes Description Entry Name(Section) manipulation routines, Internet address ............................................................................................... inet6(3N) manpage information by keywords; find ................................................................................................... man(1) manpage, macro package for formatting ................................................................................................... man(5) manpage; print out a .....
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 .......................................................................................................
Index All Volumes Description Entry Name(Section) math: round functions ........................................................................................................................ round(3M) math: round to long int functions ...................................................................................................... lround(3M) math: round to long long functions ..................................................................................................
Index All Volumes Description Entry Name(Section) maxrsessiz - maximum size (in bytes) of the RSE stack for any user process ............................. maxrsessiz(5) maxrsessiz_64bit - maximum size (in bytes) of the RSE stack for any user process ................. maxrsessiz(5) maxssiz - maximum size (in bytes) of the stack for any user process ................................................. maxssiz(5) maxssiz_64bit - maximum size (in bytes) of the stack for any user process ...........................
Index All Volumes Description Entry Name(Section) memory segment, get shared ............................................................................................................... shmget(2) memory segment, maximum size (in bytes) for a System V shared .................................................... shmmax(5) memory segments per process, maximum number of System V shared ............................................... shmseg(5) memory statistics, report virtual .................................
Index All Volumes Description Entry Name(Section) message processing system; interactive mail .......................................................................................... mailx(1) message queue descriptor, close ....................................................................................................... mq_close(2) message queue identifier (msqid) ................................................................................................
Index All Volumes Description Entry Name(Section) mkmsgs - create message files for use by gettxt() ................................................................................ mkmsgs(1) mknod - create special and FIFO files ............................................................................................... mknod(1M) mknod() - make a directory, special, or ordinary file ........................................................................... mknod(2) mknod.
Index All Volumes Description Entry Name(Section) modifying Network Information Service passwd database; daemon for ...................................... yppasswdd(1M) modload() - load kernel modules on demand ................................................................................... modload(2) modpath() - change global search path for dynamically loadable kernel modules ............................ modpath(2) modprpw - modify protected password database ...........................................
Index All Volumes Description Entry Name(Section) mouse, PS/2 device driver .......................................................................................................................... ps2(7) move a directory (requires super-user) ............................................................................................... mvdir(1M) move allocated physical extents from one LVM physical volume to other physical volumes ............. pvmove(1M) move file to new location .......................
Index All Volumes Description Entry Name(Section) multiple file systems, mount and unmount ................................................................................... mountall(1M) multiple files, split file into ..................................................................................................................... csplit(1) multiple line-feeds, remove from output .....................................................................................................
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 list; get entries from .................................................................................................................... nlist(3C) Name Lookup Cache (DNLC); number of locks for the Directory ......................................... dnlc_hash_locks(5) name of a file, change .................................................................................................................................
Index All Volumes Description Entry Name(Section) nan() - string to NaN conversion function ............................................................................................. nan(3M) NaN, test for ....................................................................................................................................... isnan(3M) nanf() - string to NaN conversion function (float) .................................................................................
Index All Volumes Description Entry Name(Section) network file system device files ................................................................................................................... nfs(7) Network File System (NFS) .......................................................................................................... glossary(9) Network File System statistics .........................................................................................................
Index All Volumes Description Entry Name(Section) networks - network name database ................................................................................................ networks(4) new commands, install ...................................................................................................................... install(1M) new file system; construct a ................................................................................................................
Index All Volumes Description Entry Name(Section) ............................................................................................................................. nfs2_max_threads(5) NFS version 3 client; control the number of kernel threads that perform asynchronous I/O for .............................................................................................................................
Index All Volumes Description Entry Name(Section) nftw2() - walk a file tree executing a function ....................................................................................... ftw(3C) nftw64() - file sysmmaptem API to support large files ................................................................ fgetpos64(3S) nice - alter command priority ...................................................................................................................
Index All Volumes Description Entry Name(Section) nodehostnamesize - size of node name and host name .................................................. nodehostnamesize(5) nodelay() - enable or disable block during read ............................................................................. nodelay(3X) noecho() - enable/disable terminal echo ............................................................................................... echo(3X) nohup - ignore hangups during command execution .........
Index All Volumes Description Entry Name(Section) numa_policy - physical memory allocation policy on cell-based HP-UX servers ........................ numa_policy(5) number generator, strong random ...................................................................................................... random(7) number of BSD pseudo terminals (ptys), maximum ................................................................................. npty(5) number of Buffer Cache Pages used by sendfile, maximum .........
Index All Volumes Description Entry Name(Section) (OBSOLETED); audio tools available through HP VUE ......................................................................... Audio(5) OBSOLETED; control access to audio on a workstation; ................................................................. asecure(1M) obtain and cache the Kerberos ticket-granting ticket ............................................................................... kinit(1) obtain source information from ELF files ...............
Index All Volumes Description Entry Name(Section) open64() - non-POSIX standard API interfaces to support large files ................................................ creat64(2) open; determines whether to reserve a tape device on ............................................................ st_ats_enabled(5) open_secdef() - security defaults configuration file routines ..............................................................
Index All Volumes Description Entry Name(Section) osdd - print or check documents formatted with the mm macros ................................................................ mm(1) OSPF gateways; monitor ....................................................................................................... ospf_monitor(1M) ospf_monitor - monitor OSPF gateways ............................................................................
Index All Volumes Description Entry Name(Section) packed-decimal library, HP 3000-mode ............................................................................................... hppac(3X) packet filter specification file format; PPP ...................................................................................... ppp.Filter(4) packet forwarding database; kernel .....................................................................................................
Index All Volumes Description Entry Name(Section) pam_get_user() - PAM routine to retrieve user name ........................................................... pam_get_user(3) pam_hpsec - extended authentication, account, password, and session service module for HP-UX ......................................................................................................................................... pam_hpsec(5) pam_ldap - authentication, account, session, and password management PAM modules for LDAP .
Index All Volumes Description Entry Name(Section) partition; create a new ................................................................................................................. parcreate(1M) partition; modify an existing ....................................................................................................... parmodify(1M) partition; remove an existing .....................................................................................................
Index All Volumes Description Entry Name(Section) path name corresponding to i-number, list .......................................................................................... ff_hfs(1M) path name of an open file, get the full ..................................................................................................... pstat(2) path name of parent directory ......................................................................................................
Index All Volumes Description Entry Name(Section) per-mechanism information about a credential, provide the calling application .. gss_inquire_cred_by_mech(3) per-process accounting file format ............................................................................................................. acct(4) per-process file descriptor table; get the size of the ...................................................................
Index All Volumes Description Entry Name(Section) physical page number, validate whether dumped ............................................................................ cr_isaddr(3) physical volume for use in LVM volume group; create ................................................................... pvcreate(1M) physical volume group information file (LVM) .....................................................................................
Index All Volumes Description Entry Name(Section) poll() - monitor I/O conditions on multiple file descriptors ..................................................................... poll(2) poll - monitor I/O conditions on multiple file descriptors ......................................................................... poll(7) pool size, System V IPC hashed spinlock ..............................................................................
Index All Volumes Description Entry Name(Section) post events to the EVM daemon ........................................................................................................ evmpost(1) posters, make in large letters .............................................................................................................. banner(1) PostScript print filter; internationalized .........................................................................................
Index All Volumes Description Entry Name(Section) prealloc() - preallocate fast disk storage ....................................................................................... prealloc(2) prealloc64() - non-POSIX standard API interfaces to support large files ........................................ creat64(2) preallocate fast disk storage ...............................................................................................................
Index All Volumes Description Entry Name(Section) print process accounting files; search and ....................................................................................... acctcom(1M) print request server; PC-NFS ............................................................................................................ pcnfsd(1M) print requests on an LP printer ....................................................................................................................
Index All Volumes Description Entry Name(Section) privedit - let authorized users edit files that are under access control ......................................... privedit(1M) privgrp() - format of privileged values ............................................................................................ privgrp(4) privgrp - HP-UX group privileges ..................................................................................................... privgrp(5) privgrp, get special attributes for group ..
Index All Volumes Description Entry Name(Section) privset_union() - privilege manipulation operations for checking and debugging purposes ........................................................................................................................................... privileges(3) PRM ...................................................................................................................... see Process Resource Manager PRM ................................................................
Index All Volumes Description Entry Name(Section) process’s alarm clock, set ....................................................................................................................... alarm(2) process’s expected paging behavior, advise system of ......................................................................... madvise(2) process, change priority of a .....................................................................................................................
Index All Volumes Description Entry Name(Section) processor self test ................................................................................................................................... pdc(1M) processor set assignment; change ................................................................................................. pset_assign(2) processor set attributes; manage .................................................................................................
Index All Volumes Description Entry Name(Section) prompt ............................................................................................................................................. glossary(9) propagation of Network Information Service database; force ........................................................... yppush(1M) protect terminal from use by others ..........................................................................................................
Index All Volumes Description Entry Name(Section) pset_destroy() - destroy processor set ................................................................................... pset_destroy(2) pset_getattr() - get processor set attributes .......................................................................... pset_getattr(2) pset_setattr() - set processor set attributes ..........................................................................
Index All Volumes Description Entry Name(Section) pthread_attr_getprocessor_np() - get the processor and binding_type attributes .............................................................. pthread_attr_getdetachstate(3T) pthread_attr_getrsestacksize_np() - get the rse stack size attribute pthread_attr_getdetachstate(3T) pthread_attr_getschedparam() - get the schedparam attribute ............ pthread_attr_getdetachstate(3T) pthread_attr_getschedpolicy() - get the schedpolicy attribute ...........
Index All Volumes Description Entry Name(Section) pthread_mutex_destroy() - destroy a mutex ......................................................... pthread_mutex_init(3T) pthread_mutex_disable_handoff_np() - disable process-wide mutex handoff mode .................................................................................................... pthread_mutexattr_getspin_np(3T) pthread_mutex_getprioceiling() - get the prioceiling of a mutex .....
Index All Volumes Description Entry Name(Section) pthread_setconcurrency() - set concurrency level of unbound threads ......... pthread_getconcurrency(3T) pthread_setschedparam() - set the scheduling policy and associated parameters .............................................................................................. pthread_getschedparam(3T) pthread_setschedprio() - sets scheduling priority of a thread ...........................
Index All Volumes Description Entry Name(Section) pututsline() - access and update routines for user-accounting database maintained by utmpd ....... getuts(3C) pututxline() - update or create entry in a utmpx file ..................................................................... getutx(3C) putw() - put word (integer) on a stream ................................................................................................ putc(3S) putwc(), fputwc() - put wide character on a stream ....................
Index All Volumes Description Entry Name(Section) queued signals that can be allocated, system-wide limit of ....................................................... ksi_alloc_max(5) queuedefs - queue description file for at, batch, and crontab ................................................... queuedefs(4) queues (IDs) allowed, maximum number of system-wide System V IPC message ............................... msgmni(5) quick batch mail interface .............................................................
Index All Volumes Description Entry Name(Section) RBAC databases; noninteractive editing of role-related information in ........................................... roleadm(1M) RBAC - role-based access control ............................................................................................................... rbac(5) rbacdbchk - verify the syntax of the Role-Based Access Control (RBAC) database files ............. rbacdbchk(1M) rc - general purpose sequencer invoked upon entering new run level ...
Index All Volumes Description Entry Name(Section) readable shared memory in a process core dump, determines the inclusion of ............ core_addshmem_read(5) readdir() - get pointer to current entry in open directory .......................................................... directory(3C) readdir_r() - initialize a dirent structure ................................................................................ directory(3C) reading, open file for ..........................................................
Index All Volumes Description Entry Name(Section) reconfiguring, EVM channel manager ........................................................................................ evmreload(1M) reconfiguring, EVM daemon ....................................................................................................... evmreload(1M) reconfiguring, EVM logger ..........................................................................................................
Index All Volumes Description Entry Name(Section) reject/select lines common to two sorted files ......................................................................................... comm(1) relational database, join two relations in ................................................................................................... join(1) relative path name .........................................................................................................................
Index All Volumes Description Entry Name(Section) remote user communication server ...................................................................................................... talkd(1M) remote user information server ........................................................................................................ fingerd(1M) remote user, verify as a local user ........................................................................................................
Index All Volumes Description Entry Name(Section) renditions of characters in a window, change ....................................................................................... chgat(3X) renice - alter priority of running processes ...................................................................................... renice(1M) reopen a stream file .............................................................................................................................
Index All Volumes Description Entry Name(Section) resolution protocol, address ..................................................................................................................... arp(7P) resolution time, get high .............................................................................................................. gethrtime(3C) resolv.conf - resolver configuration file .........................................................................................
Index All Volumes Description Entry Name(Section) .............................................................................................................................. uname_eoverflow(5) return ABI and context code from current context ........................................... uwx_get_abi_context_code(3X) return asynchronous I/O status ..................................................................................................... aio_return(2) return character back into input stream .......
Index All Volumes Description Entry Name(Section) RIPng routing daemon for IPv6 ........................................................................................................ ripngd(1M) ripngd - RIPng routing daemon for IPv6 ......................................................................................... ripngd(1M) ripoffline() - reserve a line for a dedicated purpose ................................................................. ripoffline(3X) ripquery - query RIP gateways ...........
Index All Volumes Description Entry Name(Section) route - kernel packet forwarding database ......................................................................................... route(7P) route - manipulate routing tables manually ....................................................................................... route(1M) router Advertisement daemon for IPv6 ...........................................................................................
Index All Volumes Description Entry Name(Section) RPC servers ............................................................................................................................ automountd(1M) RPC version, get information on mechanisms and .............................................. rpc_gss_get_mechanisms(3N) rpc, CLIENT handles, library routines for dealing with creation and manipulation of ........
Index All Volumes Description Entry Name(Section) rpcb_set() - library routines for RPC bind service ........................................................................ rpcbind(3N) rpcb_unset() - library routines for RPC bind service .................................................................... rpcbind(3N) rpcbind() - library routines for RPC bind service ..........................................................................
Index All Volumes Description Entry Name(Section) samlog_viewer - tool for viewing and saving the SAM logfile ............................................... samlog_viewer(1) sar - system activity reporter ................................................................................................................. sar(1M) save a crash dump of the operating system .................................................................................
Index All Volumes Description Entry Name(Section) SCCS (Source Code Control System) ........................................................................................... glossary(9) sccs - utility program for SCCS commands ............................................................................................. sccs(1) SCCS: make a delta (change) to an SCCS file ..........................................................................................
Index All Volumes Description Entry Name(Section) script - make typescript of terminal session ........................................................................................ script(1) script programming .............................................................................................................................. kermit(1) script to set up user’s environment at login, shell .................................................................................
Index All Volumes Description Entry Name(Section) second kind; Bessel functions of the .......................................................................................................... y0(3M) second, scheduling interval in clock ticks per .................................................................................... timeslice(5) secondary prompt ..........................................................................................................................
Index All Volumes Description Entry Name(Section) select - execute a shell select list .................................................................................................... sh-posix(1) select method of handling signal .......................................................................................................... sigset(3C) select() - STREAMS enhancements to standard system calls ...........................................................
Index All Volumes Description Entry Name(Section) send a message simultaneously to all users ........................................................................................... wall(1M) send a message to a message queue .................................................................................................. mq_send(2) send a signal to a process or a group of processes ................................................................................ sigsend(2) send a signal to a thread .....
Index All Volumes Description Entry Name(Section) serially with other processes; force target process to run ................................................................... serialize(2) server configuration file, PPPoE (Point to Point Protocol over Ethernet) ................................... pppoesd.conf(4) server control utility; name ......................................................................................................................
Index All Volumes Description Entry Name(Section) ...................................................................................................................... pam_sm_open_session(3) service provider implementation for pam_setcred() ......................................................... pam_sm_setcred(3) Service Provider Interface; ACPS ...................................................................................................... acps_spi(3) service rights ...............................
Index All Volumes Description Entry Name(Section) set name of current NIS domain; get or ............................................................................... getdomainname(2) set network entry ......................................................................................................................... getnetent(3N) set network group entry ............................................................................................................
Index All Volumes Description Entry Name(Section) set-user-ID bit ................................................................................................................................. glossary(9) set/display audit trail information ..................................................................................................... audsys(1M) set: file creation (permissions) mask, set and get ..................................................................................
Index All Volumes Description Entry Name(Section) setprdfent() - rewind default control file for system default database for trusted system .......... getprdfent(3) setpriority() - set process priority .......................................................................................... getpriority(2) setprivgrp() - set special attributes for group ........................................................................... getprivgrp(2) setprivgrp - set special privileges for groups ...................
Index All Volumes Description Entry Name(Section) sh-posix - standard and restricted POSIX.2-conformant command shells ........................................... sh-posix(1) shadow password entries; access .................................................................................................... getspent(3C) shadow password file .......................................................................................................................... shadow(4) shadow - shadow password file .......
Index All Volumes Description Entry Name(Section) shell layer manager .................................................................................................................................... shl(1) shell procedures for system accounting .............................................................................................. acctsh(1M) shell program .................................................................................................................................
Index All Volumes Description Entry Name(Section) show all remote mounts ........................................................................................................... showmount(1M) show current number of users for each class ..................................................................................... ftpcount(1) show current process information for each ftp user .............................................................................. ftpwho(1) show disk usage ...................
Index All Volumes Description Entry Name(Section) signal, suspend process until .................................................................................................................. pause(2) signal, wait for a ........................................................................................................................... sigsuspend(2) signal.h - description of signals ..........................................................................................................
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) slk_color() - soft label functions .............................................................................................. slk_attroff(3X) slk_init() - soft label functions ................................................................................................ slk_attroff(3X) slk_label() - soft label functions ..............................................................................................
Index All Volumes Description Entry Name(Section) smfi_setconn() - sets the socket for filter to communicate with sendmail ........................... smfi_setconn(3N) smfi_setdbg() - sets the debugging level for the Milter library for sendmail ......................... smfi_setdbg(3N) smfi_setmlreply() - sets default SMTP error reply code to a multi-line response ..............................................................................................................................
Index All Volumes Description Entry Name(Section) software products, modify in target root or depot ......................................................................... swmodify(1M) software products, package into target depot or tape ................................................................. swpackage(1M) software products, remove and unconfigure ................................................................................ swremove(1M) software products; verify ..............................
Index All Volumes Description Entry Name(Section) specified name-type, list the mechanisms that support .................................. gss_inquire_mechs_for_name(3) specified remote machines, write to ..................................................................................................... rwall(3N) specify minimum value for process IDs (PIDs) ....................................................................... process_id_min(5) specify source of screen size information ..................
Index All Volumes Description Entry Name(Section) stack, lock in memory ............................................................................................................................. plock(2) stacks are executable by default, controls whether program ............................................... executable_stack(5) stacksize., change the default ............................................................... pthread_default_rsestacksize_np(3T) stacksize; change default .....................
Index All Volumes Description Entry Name(Section) state with its state on disk, synchronize a file’s in-core ............................................................................ fsync(2) state, PAM routines to maintain module specific state .............................................................. pam_set_data(3) statfs(), fstatfs() - get file system statistics .................................................................................. statfs(2) statfsdev() - get file system statistics .
Index All Volumes Description Entry Name(Section) stop the Event Manager ................................................................................................................. evmstop(1M) stop the LP request scheduler ......................................................................................................... lpsched(1M) stop then reboot the system ..............................................................................................................
Index All Volumes Description Entry Name(Section) streamio - STREAMS ioctl commands ............................................................................................ streamio(7) streampipes - force all pipes to be STREAMS-based ................................................................ streampipes(5) STREAMS Administrative Driver ..............................................................................................................
Index All Volumes Description Entry Name(Section) string pointer for ELF files, make ................................................................................................ elf_strptr(3E)) string (restartable); convert a character string to a wide-character ............................................. mbsrtowcs(3C) string to a wide-character string (restartable); convert a character ............................................. mbsrtowcs(3C) string to floating-point number; convert ...............
Index All Volumes Description Entry Name(Section) structure, HFS file system only; convert string form to access control list (ACL) .............................. strtoacl(3C) structure; allocate and deallocate unwind library data ................................. _UNW_createContextForSelf(3X) structure; allocate transport function library ........................................................................................ t_alloc(3) structure; manipulate values in unwind library data ..................
Index All Volumes Description Entry Name(Section) suspend execution for a time interval ...................................................................................................... sleep(1) suspend execution for an interval ......................................................................................................... usleep(2) suspend execution for interval ..............................................................................................................
Index All Volumes Description Entry Name(Section) swap the left-to-right text character sequence in each line of a file ............................................................. rev(1) swap volume, remove LVM logical volume link ............................................................................. lvrmboot(1M) swap, determines when swapmap structures are allocated for filesystem .....................
Index All Volumes Description Entry Name(Section) synchronize stale mirrors in LVM logical volumes ............................................................................. lvsync(1M) synchronize the system clock; correct the time to ............................................................................... adjtime(2) synchronize transport library for transport endpoint (X/OPEN TLI-XTI) .............................................. t_sync(3) synchronous I/O multiplexing ...........................
Index All Volumes Description Entry Name(Section) system file, create a kernel .................................................................................................... create_sysfile(1M) system for paging; enable device or file ............................................................................................ swapon(1M) system function to return [EOVERFLOW] if values do not fit in fields; causes uname() ...................................................................................
Index All Volumes Description Entry Name(Section) System V shared memory segment identifiers in the system, number of ............................................ shmmni(5) System V shared memory segment, get information for a ....................................................................... pstat(2) System V shared memory segment, maximum size (in bytes) for a .................................................... shmmax(5) System V shared memory segments per process, maximum number of ................
Index All Volumes Description Entry Name(Section) occurs on Integrity .......................................................................................... dump_concurrent_on(5) systems; execution startup routines for Integrity ................................................................................. crt0_ia(3) systems; execution startup routines for PA-RISC ................................................................................
Index All Volumes Description Entry Name(Section) tables, binary search routine for sorted ............................................................................................ bsearch(3C) tables, determines the size of the networking hash ......................................................................... tcphashsz(5) tables, hash search, manage ............................................................................................................
Index All Volumes Description Entry Name(Section) TCP connection, identify user ........................................................................................................... idlookup(1) TCP - Internet Transmission Control Protocol ........................................................................................ TCP(7P) tcp wrapper configuration ..................................................................................................................
Index All Volumes Description Entry Name(Section) Terminal Emulator, number of scrollable lines used by the Internal ............................................. scroll_lines(5) terminal emulator; call another (UNIX) system, .......................................................................................... cu(1) terminal identification program ...........................................................................................................
Index All Volumes Description Entry Name(Section) terminate a per-process timer ......................................................................................................... rmtimer(3C) terminate a process ................................................................................................................................... exit(2) terminate a process ....................................................................................................................................
Index All Volumes Description Entry Name(Section) tgetflag() - emulate /usr/share/lib/termcap access routines ......................................................... termcap(3X) tgetflag() - get availability of compiled boolean terminal capability ............................................ termcap(3X) tgetnum() - emulate /usr/share/lib/termcap access routines ........................................................... termcap(3X) tgetnum() - get numeric value of compiled terminal capability ............
Index All Volumes Description Entry Name(Section) time - print elapsed time used by a pipeline ...................................................................................... sh-posix(1) time - print summary of time used by shell and children ........................................................................... csh(1) time profile, execution ............................................................................................................................
Index All Volumes Description Entry Name(Section) TLI function; initiate orderly release at transport endpoint ............................................................... t_sndrel(3) TLI function; listen for connect request ............................................................................................... t_listen(3) TLI function; look at current event on transport endpoint .....................................................................
Index All Volumes Description Entry Name(Section) transfer files for the uucp system ...................................................................................................... uucico(1M) transfer files using XMODEM-protocol ................................................................................................ umodem(1) transfer NIS database from server to local node ..................................................................................
Index All Volumes Description Entry Name(Section) trigonometric complex arcsine functions .............................................................................................. casin(3M) trigonometric complex arctangent functions ........................................................................................ catan(3M) trigonometric complex argument functions ...........................................................................................
Index All Volumes Description Entry Name(Section) trusted systems; terminal control database file for .................................................................................... ttys(4) truth value about processor type; provide ............................................................................................ machid(1) tryfrom - utility programs for TCP Wrappers ...................................................................................
Index All Volumes Description Entry Name(Section) u370 - is processor an IBM 370? .......................................................................................................... machid(1) u3b - is processor a U3B? .................................................................................................................... machid(1) u3b10 - is processor a U3B10? ............................................................................................................
Index All Volumes Description Entry Name(Section) underflow mode: getting floating-point ............................................................................. fegetflushtozero(3M) underflow mode: setting floating-point .............................................................................. fesetflushtozero(3M) underlining on terminal, convert underscores to ...........................................................................................
Index All Volumes Description Entry Name(Section) unmount remote NFS resources; mount and .............................................................................. mount_nfs(1M) unpack - expand Huffman-coded files ...................................................................................................... pack(1) unprintable characters in a file, make visible or invisible ............................................................................
Index All Volumes Description Entry Name(Section) upshifting ........................................................................................................................................ glossary(9) uptime - show how long system has been up ....................................................................................... uptime(1) urandom - strong random number generator ...................................................................................... random(7) usage, summarize disk ..
Index All Volumes Description Entry Name(Section) user name: in elm aliases ................................................................................................................. newalias(1) user of a particular TCP connection, identify .................................................................................... idlookup(1) user or group IDs, set real, effective, and/or saved ...........................................................................
Index All Volumes Description Entry Name(Section) ustat() - get mounted file system statistics .......................................................................................... ustat(2) UTC (Coordinated Universal Time) ............................................................................................. glossary(9) utility ...............................................................................................................................................
Index All Volumes Description Entry Name(Section) uusched - schedule uucp transport files ........................................................................................ uusched(1M) uusnap output, sort and embellish ................................................................................................. uusnaps(1M) uusnap - show snapshot of the UUCP system ...................................................................................
Index All Volumes Description Entry Name(Section) value, return integer absolute ................................................................................................................. abs(3C) values do not fit in fields; causes uname() system function to return [EOVERFLOW] if .............................................................................................................................. uname_eoverflow(5) values in a Network Information Service map, print all .......................
Index All Volumes Description Entry Name(Section) 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 ................................ vgchgid(1M) vgimport - import an LVM volume group onto the system ..........................................................
Index All Volumes Description Entry Name(Section) volume group; handle physical volume size changes and modify configuration parameters of an existing LVM ......................................................................................................................................... vgmodify(1M) volume group; remove physical volumes from an LVM ................................................................. vgreduce(1M) volume groups (LVM), synchronize stale logical volume mirrors ...............
Index All Volumes Description Entry Name(Section) wait for child process to change state .................................................................................................... waitid(2) wait for child process to stop or terminate ................................................................................................ wait(2) wait for interrupt, atomically release blocked signals and ..............................................................
Index All Volumes Description Entry Name(Section) wcstoumax() - convert wide character string to long integer ..................................................... wcstoimax(3C) wcswcs() - process wide string of text tokens ............................................................................... wcstring(3C) wcswidth() - return number of columns required for wide character ........................................... wcstring(3C) wcsxfrm() - process wide string of text tokens .........................
Index All Volumes Description Entry Name(Section) wide-character string and rendition; set cchar_t from a ............................................................... setcchar(3X) wide-character string from a stream file; get ...................................................................................... fgetws(3C) wide-character string (restartable); convert a character string to a ............................................. mbsrtowcs(3C) wide-character string to a character string; convert ...
Index All Volumes Description Entry Name(Section) winnstr() - input a multi-byte character string from a window ........................................................ innstr(3X) winnwstr() - input a string of wide characters from a window ....................................................... innwstr(3X) wins_nwstr() - insert a wide-character string into a window ..................................................... ins_nwstr(3X) wins_wch() - insert a complex character and rendition into a window .......
Index All Volumes Description Entry Name(Section) write/read file pointer, move ................................................................................................................... lseek(2) writes, and lists archive files; copies files and directory hierarchies; extracts, ............................................ pax(1) writev() - STREAMS enhancements to standard system calls ...........................................................
Index All Volumes Description Entry Name(Section) X/OPEN Transport Layer Interface - TLI; error message function ....................................................... t_error(3) X/OPEN Transport Layer Interface - TLI; establish connection with another transport user ........... t_connect(3) X/OPEN Transport Layer Interface - TLI; establish transport endpoint ................................................ t_open(3) X/OPEN Transport Layer Interface - TLI; free library structure ...........................
Index All Volumes Description Entry Name(Section) xdr_quadruple() - library routines for external data representation ...................................... xdr_simple(3N) xdr_reference() - library routine for external data representation ..................................... xdr_complex(3N) xdr_rejected_reply() - write noncontiguous data to a file ......................................................... rpc_xdr(3N) xdr_rejected_reply() - XDR library routines for remote procedure calls ....................
Index All Volumes Description Entry Name(Section) y0() - Bessel functions of the second kind ................................................................................................ y0(3M) y0f() - Bessel functions of the second kind (float) .................................................................................... y0(3M) y1() - Bessel functions of the second kind ................................................................................................
Notes 512 Hewlett-Packard Company HP-UX 11i Version 3: February 2007