Re: [Yaffs] yaffs/direct: R_OK and friends, S_IREAD and frie…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rutger Hofman
Date:  
To: Emmanuel Blot
CC: yaffs@lists.aleph1.co.uk
Subject: Re: [Yaffs] yaffs/direct: R_OK and friends, S_IREAD and friends
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 <unistd.h>.

I'm not sure that Posix prescribes the macro values.

Rutger