[erlang-questions] Passing parameters to a port driver

Sebastian Bello sebastian.bello@REDACTED
Mon Jan 28 16:27:46 CET 2008

Hi list,

is there a way to pass parameters (maybe in the form of an Erlang term) 
to a port driver while creating it (open_port)? My understanding is that 
open_port launches the function
    static ErlDrvData driver_start(ErlDrvPort port, char *buff)

on the port; what does "char *buff" contain?

More information about the erlang-questions mailing list