[OpenIndiana-discuss] struct msghdr and _XPG4_2

Alan Coopersmith alan.coopersmith at oracle.com
Wed May 25 15:34:36 UTC 2016


On 05/25/16 12:15 AM, Alexander Pyhalov wrote:
> Hi.
> It seems illumos/Solaris is the only OS which doesn't have msg_control and
> msg_controllen in struct msghdr by default.

For Solaris 11.x & earlier, yes.

> Is it because of some standard requirements or just historical artifact? Can we
> somehow alleviate this issue?

When the change was first added for XPG 4.2, the choice was made to prefer
compatibility with the old SunOS headers and only enable the new members
upon request.

	-alan-



More information about the openindiana-discuss mailing list