ttyslot man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

ttyslot(3C)							   ttyslot(3C)

NAME
       ttyslot() - find the slot in the utmpx file of the current user

SYNOPSIS
DESCRIPTION
       returns	the  index  of	the current user's entry in the file.  This is
       accomplished by scanning for the name of the terminal  associated  with
       the standard input, standard output, or standard error (file descriptor
       0, 1 or 2).

RETURN VALUE
       returns −1 if an error was encountered while searching for the terminal
       name  or	 if  none  of file descriptors 0, 1, or 2 is associated with a
       terminal device.

WARNINGS
   Obsolescent Interfaces
       is to be obsoleted at a future date.

FILES
SEE ALSO
       getutx(3C), ttyname(3C), thread_safety(5).

STANDARDS CONFORMANCE
				TO BE OBSOLETED			   ttyslot(3C)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net