Hi all.

I was wondering why we have a struct mymsg in <sys/msg.h>, when many
utilities defined their own version of it.  I am curious about this
because our stock version of struct mymsg:

struct mymsg {
  long mtype;           /* message type */
  char mtext[1];        /* message body */
};

Why do we have a value of [1] in the mtext array?  Are we meant to
define a struct mymsg at all!?

Thanks.
Regards.

-- 
Hiten Pandya
http://www.unixdaemons.com/~hiten
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to