[erlang-questions] Wrong doc for erl_encode

Alex Vazquez alexvazquezfente@REDACTED
Mon Mar 3 14:23:35 CET 2008


Please, someone could clarify what erl_encode(ETERM *term, uint8_t *buffer)
returns?

Documentation(erl_interface.pdf and man pages) says it returns 0 if succeed
or 1 in case of error, but my tests seem to say that it returns the number
of bytes written on the buffer. Is this correct? In that case, could someone
correct the docs?

Regards,

-- 
Alejandro Vazquez Fente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080303/d2e0b542/attachment.htm>


More information about the erlang-questions mailing list