Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

flush(3)

f77initio(3)



  fnum(3)                             CLIX                             fnum(3)



  NAME

    fnum - Returns the file descriptor associated with a FORTRAN logical unit

  LIBRARY

    FORTRAN Library (libap_f.a)

  SYNOPSIS

    fnum(lun)
    integer lun

  PARAMETERS

    lun   An integer representing the file descriptor of a FORTRAN logical
          unit

  DESCRIPTION

    The fnum() function accepts a logical unit number as input and returns the
    associated file descriptor.  The file descriptor is suitable for use in
    subsequent file-related functions such as read(), write(), and lseek().

  RETURN VALUES

    Upon successful completion, the FORTRAN logical unit number is returned.
    Otherwise, a value of -1 is returned.

  RELATED INFORMATION

    Functions:  flush(3), f77initio(3)






















  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026