ctermid man page on OPENSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
OPENSTEP logo
[printable version]


CTERMID(3P)							   CTERMID(3P)

NAME
       ctermid - (POSIX only) generate the pathname associated with a terminal

SYNOPSIS
       #include <stdio.h>

       char *ctermid(char *s);

DESCRIPTION
       The   information   in	this   specification  applies  only  to	 POSIX
       applications.

       The ctermid function generates a strings that, when used as a pathname,
       refers to the current controlling terminal for the calling process.

RETURN VALUE
       A  pointer  to  a  string  is returned.	The string is static.  A empty
       string is returned if the controlling terminal cannot be determined.

SEE ALSO
       ttyname(3P)

4th Berkeley Distribution	August 1, 1992			   CTERMID(3P)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OPENSTEP

List of man pages available for OPENSTEP

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