[erlang-questions] Equivalent C call (in erl_driver) to the NIF enif_inspect_iolist_as_binary?
ノートン ジョーセフ ウェイ ン
norton@REDACTED
Wed Mar 6 01:22:18 CET 2013
Zabrane -
You will more than likely have to write your own function.
Please see the following link for a related thread of discussion with the OTP team:
http://erlang.org/pipermail/erlang-patches/2011-October/002431.html
The links contained in the above thread have been moved to the following location:
https://github.com/norton/lets/blob/master/c_src/lets_impl_drv_lib.cc#L410
https://github.com/norton/lets/blob/master/c_src/lets_impl_drv.cc#L515
regards,
Joe N.
On Mar 6, 2013, at 07:45 , Zabrane Mickael <zabrane3@REDACTED> wrote:
> 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
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130306/134ed028/attachment.htm>
More information about the erlang-questions
mailing list