pxfisatty man page on IRIX

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

PXFISATTY(3F)					       Last changed: 1-6-98

NAME
     PXFISATTY - Determines if file descriptor corresponds to a valid file
     descriptor

SYNOPSIS
     SUBROUTINE PXFISATTY (ifildes, isatty, ierror)
     INTEGER ifildes, ierror
     LOGICAL isatty

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

STANDARDS
     IEEE standard interface for FORTRAN 77

DESCRIPTION
     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 PXFISATTY routine uses isatty(3C) to determine if ifildes is a
     valid file descriptor for a terminal.

     When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
     UNICOS, UNICOS/mk, or IRIX, 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 routine:

     ifildes   An input integer variable containing the file descriptor to
	       be checked for an associated terminal.

     isatty    An output logical variable which is .TRUE.  when ifildes is
	       a file descriptor with an associated terminal. Otherwise
	       isatty is .FALSE..

     ierror    An output integer variable for the PXFISATTY completion
	       status. ierror contains zero if PXFISATTY was successful.

EXAMPLES
	  program pxftest
	  integer len, ifildes, ierror, O_RDONLY
	  character*20 path
	  logical isatty
	  CALL PXFCTERMID(path,len,ierror)
	  CALL PXFCONST('O_RDONLY',O_RDONLY,error)
	  CALL PXFOPEN(path,len,O_RDONLY,400,ifildes,error)
	  CALL PXFISATTY(ifildes,isatty,ierror)
	  print *,isatty
	  end

SEE ALSO
     PXFCONST(3F), PXFOPEN(3F)
     ttyname(3C)

     Application Programmer's Library Reference Manual, publication SR-
     2165, for the printed version of this man page.

[top]

List of man pages available for IRIX

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