definition:
|
storeServerPortNumber :: Int -> IO ()
storeServerPortNumber portnum = do
mypid <- getPID
serverPortFileName <- getServerPortFileName
writeFile serverPortFileName (show (portnum,mypid))
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Stores the current server port number together with the pid of
--- the server process.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> _}
|
name:
|
storeServerPortNumber
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
Prelude.Int -> Prelude.IO ()
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|