driver_send_term question.

Rodolphe Duge de Bernonville rod@REDACTED
Tue Oct 30 12:15:02 CET 2001


Hello !

My question is about the argument of driver_send_term
(to send result of a driver to another process) and 
his second argument (receiver) : 

int driver_send_term(ErlDrvPort port, 
		     ErlDriverTerm receiver, 
		     ErlDriverTerm* term, int n)

My driver works but I had to make a not really nice "cut/paste"
of the macro "make_pid" from erl_term.h (and the order of
the arguments of this macro is different from the order 
displayed by the pid of a process.)

So is there a better way to do that ?



More information about the erlang-questions mailing list