Semaphores : semget

2 questions :

1/ I have a very simple source code where I used semget function call.It
seems I have some difficulties to link the code. Looking around, I’m not
able to find out a solution…
Any advise about the use of semget under QNX ?

2/ I look at the documentation coming with the excelent Help file. What is
best ? Using semget and other “regular” function calls or use the one coming
with RTP ? Then how people use to solve portability issues ?

Many thanks to all

Feel free to visit :