[erlang-questions] prim_file and its functions

Alessandro Sivieri <>
Wed Dec 22 17:03:39 CET 2010


2010/12/21 Björn-Egil Dahlberg <>

> erts/emulator/beam/erl_unicode.c
>
> They are static native implemented functions.
>
>
Thanks!
Now I'm looking at these functions, in particular the name2native, and I
want to port it from C to Java; in my execution tests, it receives as input
a list, which is the path of a file, and I have to translate this list
(which is actually a string) to the local encoding of my system, and return
its binary representation: am I getting it correctly?

-- 
Sivieri Alessandro

http://www.chimera-bellerofonte.eu/
http://www.poul.org/


More information about the erlang-questions mailing list