SVID msg funcs?

Barry Clarkson
Mon Apr 18 10:27:00 GMT 2005


We are porting come code to Linux using gcc...

gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)

Some of our code includes <sys/msg.h> for the
definition of 'msgbuf' but it doesn't compile unless
you use D_GNU_SOURCE.  

I thought that this was SVID functionality?
Should we be using <linux/msg.h>?
When should you use <linux/...h> as opposed to



Send instant messages to your online friends 

More information about the Gcc-help mailing list