>On 8/10/07, Frank Hofmann <[EMAIL PROTECTED]> wrote:
>> On Fri, 10 Aug 2007, S h i v wrote:
>>
>> > Hi,
>> >
>> > A linux app that I want to build on SX using sunpro uses "struct
>> > dirent" that has non-standard gcc extensions (ex: d_type) that are not
>> > available in sunpro.
>>
>> Not gcc extensions. Linux and/or BSD specifics.
>>
>
>Why do you say so? I ask since these functions are part of the gnu c library.


The data provided comes more or less directly from the kernel; as such the
library has little say in it as it is often coded for maximum efficiency
(i.e., not converting the kernel dirent type to a different userland type)


If the information is not available (the filesystem does not provide the
redundant type information in directory entries) than the library may still
export the field but cannot fill it in and needs to make sure it has a 
"UNKNOWN" value.

Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to