1 /* 2 * Copyright 2008, Salvatore Benedetto, salvatore.benedetto@gmail.com. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef SYSTEM_XSI_SEM_H 6 #define SYSTEM_XSI_SEM_H 7 8 /* 9 * Shared union used by the semctl option argument. 10 * The user should declare it explicitly 11 */ 12 union semun { 13 int val; 14 struct semid_ds *buf; 15 unsigned short *array; 16 }; 17 18 #endif 19