Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sh(3F) — Sun WorkShop 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

execve(2)

wait(2)

system(3)

SH(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

sh − fast execution of an sh shell command

SYNOPSIS

integer function sh (string)
character∗(∗) string

DESCRIPTION

The function sh gives string to th sh shell as input, as if the string had been typed as a command.  The shell is always the Bourne shell, sh(1)

The current process waits until the command terminates.  The returned value will be the exit status of the shell.  See wait(2) for an explanation of this value. For output files, the buffer is flushed to the actual file.
For input files, the position of the pointer is unpredictable.

FILES

libF77.a

SEE ALSO

execve(2), wait(2), system(3)

BUGS

string can not be longer than 1024 characters. 

Sun Release 4.1  —  Last change: 26 July 1992

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