> mincore() is not defined in a standard; newer standards add the
> <sys/mman.h> include and so it is tested for additional definitions which
> the standard disallows.

Ah. I was not aware that the standard disallowed anything not explicitly 
allowed.

> <sys/types.h> is the wrong include; it probably dates from the time
> that system headers included few prototypes and all you really needed
> were the definitions of the types used in the prototypes.

Ok. Should I file a bug? The man page definitely states that <sys/types.h> is 
the the required header.

> You should not ask for POSIX levels unless you want to compile a strictly
> conforming programs; if you want to confirm strictly to the interfaces
> but also need to use non-portable extensions, then you need to add
> -D__EXTENSIONS__ on the compilation command line.

Thank you; will do.

-- 
/ 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