erlang:open_port_prim

Matthias Lang <>
Thu Feb 13 22:15:18 CET 2003


Bob Holmes writes:

 > open_port eventually calls erlang:open_port_prim, which I don't find in
 > erlang.erl.  Where can I find it?

Many of the functions in the 'erlang' module are "builtin",
i.e. they're implemented in C inside the VM. open_port_prim is such a
function. You can ask the system about this:

  1> erlang:is_builtin(lists, sort, 1).
  false
  3> erlang:is_builtin(erlang, open_port_prim, 2).
  true

Matthias



More information about the erlang-questions mailing list