4.3BSD-UWisc/man/cat3/intro.3f




INTRO(3F)           UNIX Programmer's Manual            INTRO(3F)



NAME
     intro - introduction to FORTRAN library functions

DESCRIPTION
     This section describes those functions that are in the For-
     tran run time library.  The functions listed here provide an
     interface from _f_7_7 programs to the system in the same manner
     as the C library does for C programs.  They are automati-
     cally loaded as needed by the Fortran compiler _f_7_7(1),
     except for the graphics interface routines.  Those must be
     explicitly requested, see _p_l_o_t(3f).

     The math intrinsics required by the 1977 Fortran standard
     are available, although not described here.  In addition,
     the _a_b_s, _s_q_r_t, _e_x_p, _l_o_g, _s_i_n, and _c_o_s intrinsics have been
     extended for double complex values.  They may be referenced
     using the generic names listed above, or they may be refer-
     enced using their specific names that consist of the generic
     names preceded by either _c_d or _z.  For example, if _z_z is
     double complex, then _s_q_r_t(_z_z), _z_s_q_r_t(_z_z), or _c_d_s_q_r_t(_z_z) com-
     pute the square root of _z_z.  The _d_c_m_p_l_x 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 _d_c_o_n_j_g.

     Most of these functions are in libU77.a. Some are in
     libF77.a or libI77.a.  A few intrinsic functions are
     described for the sake of completeness.

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

          external f77lid

     in any _f_7_7 module.

LIST OF FUNCTIONS
     _N_a_m_e    _A_p_p_e_a_r_s _o_n _P_a_g_e    _D_e_s_c_r_i_p_t_i_o_n
9     abort     abort.3f     abnormal termination
     access    access.3f    determine accessibility of a file
     alarm     alarm.3f     execute a subroutine after a specified time
     and       bit.3f       bitwise and
     arc       plot.3f      f77 interface to plot(3x)
     bessel    bessel.3f    bessel functions of two kinds for integer orders
     box       plot.3f      f77 interface to plot(3x)
     chdir     chdir.3f     change default directory
     chmod     chmod.3f     change mode of a file
     circle    plot.3f      f77 interface to plot(3x)
     clospl    plot.3f      f77 interface to plot(3x)
     cont      plot.3f      f77 interface to plot(3x)
     ctime     time.3f      return system time
     dffrac    flmin.3f     return extreme values



Printed 12/27/86          May 27, 1986                          1


9


INTRO(3F)           UNIX Programmer's Manual            INTRO(3F)



     dflmax    flmin.3f     return extreme values
     dflmin    flmin.3f     return extreme values
     drand     rand.3f      return random values
     drandm    random.3f    better random number generator
     dtime     etime.3f     return elapsed execution time
     erase     plot.3f      f77 interface to plot(3x)
     etime     etime.3f     return elapsed execution time
     exit      exit.3f      terminate process with status
     falloc    malloc.3f    memory allocator
     fdate     fdate.3f     return date and time in an ASCII string
     ffrac     flmin.3f     return extreme values
     fgetc     getc.3f      get a character from a logical unit
     flmax     flmin.3f     return extreme values
     flmin     flmin.3f     return extreme values
     flush     flush.3f     flush output to a logical unit
     fork      fork.3f      create a copy of this process
     fpecnt    trpfpe.3f    trap and repair floating point faults
     fputc     putc.3f      write a character to a fortran logical unit
     free      malloc.3f    memory allocator
     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
     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
     hostnm    hostnm.3f    get name of current host
     iargc     getarg.3f    return command line arguments
     idate     idate.3f     return date or time in numerical form
     ierrno    perror.3f    get system error messages
     index     index.3f     tell about character objects
     inmax     flmin.3f     return extreme values
     ioinit    ioinit.3f    change f77 I/O initialization
     irand     rand.3f      return random values
     irandm    random.3f    better random number generator
     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
     label     plot.3f      f77 interface to plot(3x)
     len       index.3f     tell about character objects
     line      plot.3f      f77 interface to plot(3x)
     linemd    plot.3f      f77 interface to plot(3x)
     link      link.3f      make a link to an existing file
     lnblnk    index.3f     tell about character objects
     loc       loc.3f       return the address of an object
     long      long.3f      integer object conversion



Printed 12/27/86          May 27, 1986                          2






INTRO(3F)           UNIX Programmer's Manual            INTRO(3F)



     lshift    bit.3f       left shift
     lstat     stat.3f      get file status
     ltime     time.3f      return system time
     malloc    malloc.3f    memory allocator
     move      plot.3f      f77 interface to plot(3x)
     not       bit.3f       bitwise complement
     openpl    plot.3f      f77 interface to plot(3x)
     or        bit.3f       bitwise or
     perror    perror.3f    get system error messages
     point     plot.3f      f77 interface to plot(3x)
     putc      putc.3f      write a character to a fortran logical unit
     qsort     qsort.3f     quick sort
     rand      rand.3f      return random values
     random    random.3f    better random number generator
     rename    rename.3f    rename a file
     rindex    index.3f     tell about character objects
     rshift    bit.3f       right shift
     short     long.3f      integer object conversion
     signal    signal.3f    change the action for a signal
     sleep     sleep.3f     suspend execution for an interval
     space     plot.3f      f77 interface to plot(3x)
     stat      stat.3f      get file status
     symlnk    symlnk.3f    make a symbolic link
     system    system.3f    execute a UNIX command
     tclose    topen.3f     f77 tape I/O
     time      time.3f      return system time
     topen     topen.3f     f77 tape I/O
     traper    traper.3f    trap arithmetic errors
     trapov    trapov.3f    trap and repair floating point overflow
     tread     topen.3f     f77 tape I/O
     trewin    topen.3f     f77 tape I/O
     trpfpe    trpfpe.3f    trap and repair floating point faults
     tskipf    topen.3f     f77 tape I/O
     tstate    topen.3f     f77 tape I/O
     ttynam    ttynam.3f    find name of a terminal port
     twrite    topen.3f     f77 tape I/O
     unlink    unlink.3f    remove a directory entry
     wait      wait.3f      wait for a process to terminate
     xor       bit.3f       bitwise exclusive or
















Printed 12/27/86          May 27, 1986                          3