> >I just realized that this does not help given the current behavior of
> > mman.h. __EXTENSIONS__ does not cause mincore() to be defined. So my
> > original question stand, albeit modified with __EXTENSIONS__.
>
> It wants you to include <unistd.h>, it seems.

Just for completeness in the ML archives (I will file a bug):

madvise() has the same problem as mincore(), except madvise() is *NOT* in 
unistd.h.

A recursive find of all .h files in /usr/include show that mman.h is the only 
header file in /usr/include to declare madvice(), and it is strucutred such 
that _D__EXTENSIONS__ will NOT cause it to be declared, as previously noted 
for mincore().

So unless I am once again missing something further, this too is a bug.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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

Reply via email to