Emmanuel Blot wrote: > Rutger Hofman wrote: >> 1. R_OK and friends >> >> in yaffs/direct/yaffsfs.[ch], there is a usage and optional define of >> R_OK, W_OK, X_OK, F_OK. If I read the man pages correctly (on Linux, >> Solaris and eCos), these macros must be defined in unistd.h. > > BTW: eCos does not use the same values than common OSes for these macros... Yes, that is exactly why I "need" the #include . I'm not sure that Posix prescribes the macro values. Rutger