Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought






























































                         Printed 1/15/91                   Page 1





INTRO(3F-SysV)      RISC/os Reference Manual       INTRO(3F-SysV)



NAME
     intro - introduction to FORTRAN library functions

DESCRIPTION
     This section describes functions that are in the Fortran
     runtime library.

     The math intrinsics required by the 1977 Fortran standard
     are available, although not described here.  In addition,
     the abs, sqrt, exp, log, sin, and cos intrinsics have been
     extended for double complex values.  They can be referenced
     using the generic names listed above, or they can be refer-
     enced using their specific names that consist of the generic
     names preceded by either cd or z.  For example, if zz is
     double complex, then sqrt(zz), zsqrt(zz), or cdsqrt(zz) com-
     pute the square root of zz.  The dcmplx intrinsic forms a
     double complex value from two double precision variables or
     expressions, and the name of the specific function for the
     conjugate of a double complex value is dconjg.

     Most of these functions are in libU77.a. Some are in
     libF77.a or libI77.a.

     For efficiency, the SCCS ID strings are not normally
     included in the a.out file. To include them, simply declare

          external f77lid

     in any f77 module.

LIST OF FUNCTIONS
     Name    Appears on Page    Description

     abort     abort.3f     abnormal termination
     access    access.3f    determine accessibility of a file
     alarm     alarm.3f     execute a subroutine after a specified time
     chdir     chdir.3f     change default directory
     chmod     chmod.3f     change mode of a file
     ctime     time.3f      return system time
     dtime     etime.3f     return elapsed execution time
     etime     etime.3f     return elapsed execution time
     fdate     fdate.3f     return date and time in an ASCII string
     fgetc     getc.3f      get a character from a logical unit
     flush     flush.3f     flush output to a logical unit
     fork      fork.3f      create a copy of this process
     fputc     putc.3f      write a character to a fortran logical unit
     fseek     fseek.3f     reposition a file on a logical unit
     fstat     stat.3f      get file status
     ftell     fseek.3f     reposition a file on a logical unit
     gerror    perror.3f    get system error messages
     getarg    getarg.3f    return command line arguments
     getc      getc.3f      get a character from a logical unit
     getcwd    getcwd.3f    get pathname of current working directory



                         Printed 1/15/91                   Page 1




INTRO(3F-SysV)      RISC/os Reference Manual       INTRO(3F-SysV)



     getenv    getenv.3f    get value of environment variables
     getgid    getuid.3f    get user or group ID of the caller
     getlog    getlog.3f    get user's login name
     getpid    getpid.3f    get process id
     getuid    getuid.3f    get user or group ID of the caller
     gmtime    time.3f      return system time
     iargc     getarg.3f    return command line arguments
     idate     idate.3f     return date or time in numerical form
     ierrno    perror.3f    get system error messages
     irand     rand.3f      return random values
     isatty    ttynam.3f    find name of a terminal port
     itime     idate.3f     return date or time in numerical form
     kill      kill.3f      send a signal to a process
     len       len.3f       tell about character objects
     link      link.3f      make a link to an existing file
     loc       loc.3f       return the address of an object
     ltime     time.3f      return system time
     perror    perror.3f    get system error messages
     putc      putc.3f      write a character to a fortran logical unit
     qsort     qsort.3f     quick sort
     rand      rand.3f      return random values
     signal    signal.3f    change the action for a signal
     sleep     sleep.3f     suspend execution for an interval
     stat      stat.3f      get file status
     system    system.3f    execute a UNIX command
     time      time.3f      return system time
     ttynam    ttynam.3f    find name of a terminal port
     unlink    unlink.3f    remove a directory entry
     wait      wait.3f      wait for a process to terminate


























 Page 2                  Printed 1/15/91



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