This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
MathLink Mathematica Functions
MathLink is a protocol for exchanging symbolic expressions. The Mathematica-level MathLink functions can be used with any MathLink-enabled external program, including Mathematica itself.
LinkLaunch launch an external program and open a MathLink connection to it
LinkCreate create a MathLink link for another program to connect to
LinkConnect connect to an existing MathLink link
LinkClose close a MathLink link
-mathlink command-line option for launching Mathematica in MathLink mode
Links list all currently open MathLink links
$ParentLink the MathLink link that called the current Mathematica kernel
LinkRead, LinkWrite read or write an expression to a link
LinkReadyQ test whether expressions are ready to be read from one or more links
LinkInterrupt send an interrupt to a link