user and server unbound variables
Wed Dec 18 14:13:22 CET 2002
On Wed, 18 Dec 2002, Eduardo Figoli wrote:
> Good morning,
> What does spawn_link(user, server, [self()]) mean ?
> I get this line from the code attached (telnet to erlang console).
> I don't know from where do user and server variables come from.
> Eduardo Figoli
user and server are not variables they are atoms (because they start
with small letters) - so this means
spawn the process user:server(self()) and create a link to the
What does this do?
> erl -man user
Should tell you the answer - but this is an undocumented function :-)
You could read the code to find out:
The code is in the ../src directory relative to the object code
$ less /usr/local/lib/erlang/lib/kernel-2.8.0/src/user.erl
What is appears is make all termoinal io operations go to the
More information about the erlang-questions