5 #include "sysvipc_sem.h"
7 extern char sysvipc_userland
;
8 extern int __sys_semop(int, struct sembuf
*, unsigned);
10 int semop(int semid
, struct sembuf
*sops
, unsigned nsops
)
12 if (sysvipc_userland
) {
13 return (sysvipc_semop(semid
, sops
, nsops
));
15 return (__sys_semop(semid
, sops
, nsops
));