Re: struct msghr

Alan Cox (
Thu, 4 Jul 1996 09:08:31 +0100 (BST)

> I'm currently trying to compile a toolkit that makes heavy use of struct
> msghdr in <linux/socket.h>. The problem is that I need msg_accrights
> members which are no more present in the structure. A comment near the
> definition of the struct talk about a mysterious emulation of the
> missing members. Has someone informations about that ?

msg_accrights is obsolete. 4.4BSD made this msg_control and
msg_controllen. I don't know why 4.3BSD-> 4.4BSD and derivatives chose
to gratutiously do this.