*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/pxfctermid (3)              
Title
Content
Arch
Section
 

Contents


PXFCTERMID(3F)					      Last changed: 2-24-98

NAME    [Toc]    [Back]

     PXFCTERMID	- Generates terminal pathname

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFCTERMID (s, ilen, ierror)
     CHARACTER*n s
     INTEGER ilen, ierror

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     IEEE standard interface for FORTRAN 77

DESCRIPTION    [Toc]    [Back]

     On	IRIX systems, this routine is in libfortran.so which is	linked by
     default when compiling programs with the MIPSpro 7	Fortran	90 compiler
     or	when compiling programs	with the -craylibs option to the MIPSpro
     7.2 F77 compiler.

     The PXFCTERMID subroutine uses the	ctermid	function to generate a
     string which is the pathname for the current process' controlling
     terminal.	If the pathname	for the	controlling terminal cannot be
     determined, the ilen variable is set to zero.

     When using	the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
     UNICOS, UNICOS/mk,	or IRIX	systems, all arguments must be of default
     kind unless documented otherwise.	On UNICOS and UNICOS/mk, default
     kind is KIND=8 for	integer, real, complex,	and logical arguments; on
     IRIX, the default kind is KIND=4.

     The following is a	list of	valid arguments	for this subroutine:

     s	       An output character array or character element variable for
	       the pathname for	the current process' controlling terminal.
	       The maximum length of s is defined by the L_ctermid constant
	       found in	<stdio.h>.

     ilen      An output interger variable for the length of s.

     ierror    An output integer variable for the completion status of
	       PXFCTERMID. ierror may contain zero if PXFCTERMID was
	       successful or nonzero if	PXFCTERMID was not successful.

     PXFCTERMID	may return the ETRUNC error value if the output	variable s
     cannot contain the	pathname for the current process' controlling
     terminal, causing the pathname to be truncated.

EXAMPLES    [Toc]    [Back]

	  program pxftest
	  integer ilen,	ierror
	  character*20 s

	  CALL PXFCTERMID(s,ilen,ierror)
	  print	*,'controlling terminal	is ',s
	  end

SEE ALSO    [Toc]    [Back]

      
      
     ctermid(3S) on IRIX systems
     ctermid(3C) on UNICOS and UNICOS/mk systems

     Application Programmer's Library Reference	Manual,	publication
     SR-2165, for the printed version of this man page.
PXFCTERMID(3F)					      Last changed: 2-24-98

NAME    [Toc]    [Back]

     PXFCTERMID	- Generates terminal pathname

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	PXFCTERMID (s, ilen, ierror)
     CHARACTER*n s
     INTEGER ilen, ierror

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     IEEE standard interface for FORTRAN 77

DESCRIPTION    [Toc]    [Back]

     On	IRIX systems, this routine is in libfortran.so which is	linked by
     default when compiling programs with the MIPSpro 7	Fortran	90 compiler
     or	when compiling programs	with the -craylibs option to the MIPSpro
     7.2 F77 compiler.

     The PXFCTERMID subroutine uses the	ctermid	function to generate a
     string which is the pathname for the current process' controlling
     terminal.	If the pathname	for the	controlling terminal cannot be
     determined, the ilen variable is set to zero.

     When using	the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
     UNICOS, UNICOS/mk,	or IRIX	systems, all arguments must be of default
     kind unless documented otherwise.	On UNICOS and UNICOS/mk, default
     kind is KIND=8 for	integer, real, complex,	and logical arguments; on
     IRIX, the default kind is KIND=4.

     The following is a	list of	valid arguments	for this subroutine:

     s	       An output character array or character element variable for
	       the pathname for	the current process' controlling terminal.
	       The maximum length of s is defined by the L_ctermid constant
	       found in	<stdio.h>.

     ilen      An output interger variable for the length of s.

     ierror    An output integer variable for the completion status of
	       PXFCTERMID. ierror may contain zero if PXFCTERMID was
	       successful or nonzero if	PXFCTERMID was not successful.

     PXFCTERMID	may return the ETRUNC error value if the output	variable s
     cannot contain the	pathname for the current process' controlling
     terminal, causing the pathname to be truncated.

EXAMPLES    [Toc]    [Back]

	  program pxftest
	  integer ilen,	ierror
	  character*20 s

	  CALL PXFCTERMID(s,ilen,ierror)
	  print	*,'controlling terminal	is ',s
	  end

SEE ALSO    [Toc]    [Back]

      
      
     ctermid(3S) on IRIX systems
     ctermid(3C) on UNICOS and UNICOS/mk systems

     Application Programmer's Library Reference	Manual,	publication
     SR-2165, for the printed version of this man page.
[ Back ]
 Similar pages
Name OS Title
ctermid FreeBSD generate terminal pathname
ctermid NetBSD generate terminal pathname
ctermid_r FreeBSD generate terminal pathname
ctermid OpenBSD generate terminal pathname
ctermid Tru64 Generate the pathname for the controlling terminal
tty Tru64 Returns pathname of terminal device
namei Linux follow a pathname until a terminal point is found
ssh-keygen2 Tru64 On a Secure Shell server, generates the host key pair. On a Secure Shell client, generates the authe...
ssh-keygen Tru64 On a Secure Shell server, generates the host key pair. On a Secure Shell client, generates the authe...
termios Linux get and set terminal attributes, line control, get and set baud rate, get and set terminal foregroun...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service