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

  man pages->IRIX man pages -> ftn/maplun (3)              


MAPLUN(3F)							    MAPLUN(3F)

NAME    [Toc]    [Back]

     maplun - returns the integer file descriptor for a	Fortran	logical	unit

SYNOPSIS    [Toc]    [Back]

     maplun (lun)
     integer*4 lun

DESCRIPTION    [Toc]    [Back]

     This function returns the file descriptor given a Fortran logical unit

DIAGNOSTICS    [Toc]    [Back]

     Success is	indicated by a non-negative return value.  A negative return
     value indicates an	error.	The value of errno can be examined to
     determine the cause of the	error.

NOTES    [Toc]    [Back]

     This function cannot be used on indexed files since each Fortran indexed
     file is represented by two	physical files and this	function cannot	map a
     single Fortran logical unit to two	file descriptors. Also,	the indexed
     file internal format is proprietary and cannot be modified	by the user
     directly so this function,	or a similar function, will not	help in	that

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pxffileno IRIX Returns the file descriptor for a specified unit
putc IRIX write a character to a fortran logical unit
asnqfile IRIX Returns the assign options currently in effect for a file name or unit number
setbuf IRIX assign buffering to a stream logical unit FORTRAN SYNOPSIS #include character *(BUFSIZ+8) buf intege
fseek IRIX reposition a file on a logical unit
radix IRIX Returns the base number from the real or integer number models
bit_size IRIX Returns the number of bits in an integer in the bit manipulation model
huge IRIX Returns the largest number in the integer or real numeric model
range IRIX Returns the decimal exponent range of a number according to the real or integer model
getc IRIX get a character from a logical unit
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service