Semids, Semun and various define added to sem.h, created a test for checking the actual presence of the syscalls
This commit is contained in:
@@ -85,6 +85,7 @@ set(TESTS
|
||||
t_kill.c
|
||||
t_itimer.c
|
||||
t_gid.c
|
||||
t_semget.c
|
||||
)
|
||||
|
||||
foreach(TEST ${TESTS})
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
//testtt
|
||||
#include <ipc/sem.h>
|
||||
int main()
|
||||
{
|
||||
long i = semget(0,0,0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user