> Yes, that is exactly why I "need" the #include <unistd.h>.
You still need the conversion functions though, if you want to use a
YAFFS2 creation tool on a host for example.
> I'm not sure that Posix prescribes the macro values.
I search for this information before writing the conversion functions
(back and forth ecos and YAFFS2), but it seems the values are not
defined in POSIX. Let me know if you find otherwise.
Cheers,
Manu