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

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

Contents


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

NAME    [Toc]    [Back]

     ASNQFILE, ASNQUNIT	- Returns the assign options currently in effect
     for a file	name or	unit number

SYNOPSIS    [Toc]    [Back]

     CALL ASNQFILE(file, attr, istat)

     CALL ASNQUNIT(iun,	attr, istat)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

DESCRIPTION    [Toc]    [Back]

     This routine is supported on IRIX systems for programs compiled with
     the MIPSpro 7 Fortran 90 compiler or compiled with	the -craylibs
     option to the MIPSpro 7.2 F77 compiler.

     ASNQFILE queries the assign environment for any assign options
     currently in effect for a file name.  ASNQUNIT queries the	assign
     environment for any assign	options	currently in effect for	a unit
     number.  The assign options may have been established earlier by the
     assign(1) command or the ASSIGN, ASNUNIT, or ASNFILE (see ASSIGN(3F))
     library routines.

     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.

     file      A character variable or array element containing	the file
	       name.

     attr      A character variable or array element that receives the
	       option's	value in the form of a character string.  If the
	       options exceed the length of attr, istat	is set to a
	       positive	error code.  If	no assign options are found for	the
	       specified unit or file, ' ' is returned in attr.

     istat     An integer variable or array element that receives one of
	       the following return statuses:

	       0    Options were found for the specified file or iun

	       -1   No options were found for the specified file or iun.

	       >0   An error condition was encountered.	 Use the explain(1)
		    command to obtain information about	a particular error
		    code.

     iun       An integer variable or array element containing the unit
	       number.

SEE ALSO    [Toc]    [Back]

      
      
     ASNCTL(3F), ASSIGN(3F)

     assign(1) in the Application Programmer's I/O Guide, publication SG2168


     explain(1)	in the UNICOS User Commands Reference Manual, publication
     SR-2011

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

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

NAME    [Toc]    [Back]

     ASNQFILE, ASNQUNIT	- Returns the assign options currently in effect
     for a file	name or	unit number

SYNOPSIS    [Toc]    [Back]

     CALL ASNQFILE(file, attr, istat)

     CALL ASNQUNIT(iun,	attr, istat)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

DESCRIPTION    [Toc]    [Back]

     This routine is supported on IRIX systems for programs compiled with
     the MIPSpro 7 Fortran 90 compiler or compiled with	the -craylibs
     option to the MIPSpro 7.2 F77 compiler.

     ASNQFILE queries the assign environment for any assign options
     currently in effect for a file name.  ASNQUNIT queries the	assign
     environment for any assign	options	currently in effect for	a unit
     number.  The assign options may have been established earlier by the
     assign(1) command or the ASSIGN, ASNUNIT, or ASNFILE (see ASSIGN(3F))
     library routines.

     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.

     file      A character variable or array element containing	the file
	       name.

     attr      A character variable or array element that receives the
	       option's	value in the form of a character string.  If the
	       options exceed the length of attr, istat	is set to a
	       positive	error code.  If	no assign options are found for	the
	       specified unit or file, ' ' is returned in attr.

     istat     An integer variable or array element that receives one of
	       the following return statuses:

	       0    Options were found for the specified file or iun

	       -1   No options were found for the specified file or iun.

	       >0   An error condition was encountered.	 Use the explain(1)
		    command to obtain information about	a particular error
		    code.

     iun       An integer variable or array element containing the unit
	       number.

SEE ALSO    [Toc]    [Back]

      
      
     ASNCTL(3F), ASSIGN(3F)

     assign(1) in the Application Programmer's I/O Guide, publication SG2168


     explain(1)	in the UNICOS User Commands Reference Manual, publication
     SR-2011

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

[ Back ]
 Similar pages
Name OS Title
maplun IRIX returns the integer file descriptor for a Fortran logical unit number
pxffileno IRIX Returns the file descriptor for a specified unit
setbuf IRIX assign buffering to a stream logical unit FORTRAN SYNOPSIS #include character *(BUFSIZ+8) buf intege
device_get_unit FreeBSD access the unit number of a device
devclass_get_device FreeBSD translate unit number to device
devclass_get_maxunit FreeBSD find the maximum unit number in the class
devclass_get_softc FreeBSD translate unit number to driver private structure
radix IRIX Returns the base number from the real or integer number models
precision IRIX Returns the decimal precision of a number in the real number model
fseek IRIX reposition a file on a logical unit
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service