When you have a sub that's not "our", it will not show up in the module's namespace. Since you export the sub, it'll be available without LIBCIO:: before its name.
I suggest you pass Str (the String type object) instead of 'libc' for the native trait, as the symbol is pretty much guaranteed to already be loaded in the program. HTH - Timo