Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

exec(2)

wait(2)

system(3)



  system(3)                           CLIX                           system(3)



  NAME

    system - Issues a shell command from FORTRAN

  LIBRARY

    Math Library (libap_m.a)

  SYNOPSIS

    character*N c

    call system(c)

  PARAMETERS

    *N   The number of characters input.

    c    A character string.

  DESCRIPTION

    The function described in this reference manual entry is based in the
    FORTRAN Math Library (libap_m.a).  For information about the system()
    function based in the Standard C Library (libc.a), see the other system(3)
    reference manual entry.

    The system() function causes its character argument to be given to sh as
    input, as if the string had been typed at a terminal.  The current process
    waits until the shell has completed.

  RETURN VALUES

    The function returns the exit status of the shell, as returned by the
    wait() function.

  RELATED INFORMATION

    Commands:  sh(1)

    Functions:  exec(2), wait(2), system(3)













  2/94 - Intergraph Corporation                                              1




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