This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix argument passing in sysvipc/test-sysvsem


On 12/30/2016 09:43 PM, Tulio Magno Quites Machado Filho wrote:
+/* Confirm if sys/sem.h defines semun.  */
+#ifdef _SEM_SEMUN_UNDEFINED
+union semun
+{
+  int val;
+  struct semid_ds *buf;
+    unsigned short int *array;
+  struct seminfo *__buf;
+};
+#endif

Sorry, I don't understand the comment. Why is this definition not provided by the installed headers if IPC_STAT needs it?

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]