Re: sysv ipc msg functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sjhill@xxxxxxxxxxxxxxxxxx wrote:

[ Charset ISO-8859-1 unsupported, converting... ]


I needed this glibc patch to get the sysv ipc msgctl functions to work correctly. This looks a bit hackish to me, so I wanted to run it past everybody here before filing it with glibc.



Perhaps is ignorance on my part, but I thought the compiler would
handle the endianness with regards to the structure members. Did
you have problems with big and little endian such that you had to
do all of the ugly #ifdef'ing?


yes. Take a look at the kernel structure it is mapping to.

in
asm-mips/msgbuf.h

struct msqid64_ds

Greg Weeks


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux