[erlang-questions] Equivalent C call (in erl_driver) to the NIF enif_inspect_iolist_as_binary?

Zabrane Mickael <>
Tue Mar 5 23:45:40 CET 2013


Hi guys,

I'm wondering if there's an equivalent C function (in erl_driver) to the NIF call  "enif_inspect_iolist_as_binary":
http://www.erlang.org/doc/man/erl_nif.html#enif_inspect_iolist_as_binary

I'd like to quickly concatenate some ErlDrvBinary(s) in my linked-in driver.
Currently, I'm doing a lot of copying (+freeing) to get the job done.
Maybe there's a clever alternative to that.

Regards,
Zabrane



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130305/8ba42335/attachment.html>


More information about the erlang-questions mailing list