Home
last modified time | relevance | path

Searched refs:semctl (Results 1 – 25 of 47) sorted by relevance

12

/openbsd/src/regress/sys/kern/sysvsem/
Dsemtest.c145 if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
154 if (semctl(sender_semid, 0, IPC_SET, sun) == -1)
160 if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
189 i = semctl(sender_semid, 0, GETNCNT);
201 if (semctl(sender_semid, 0, SETVAL, sun) == -1)
259 if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
281 if (semctl(sender_semid, 0, IPC_RMID) == -1) in cleanup()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
D20010724-1.c49 if (semctl (semid, 0, SETVAL, su) != 0) in main()
52 if (semctl (semid, 0, GETVAL) != 10) in main()
55 if (semctl (semid, 0, IPC_RMID) != 0) in main()
/openbsd/src/gnu/usr.bin/perl/t/io/
Dsemctl.t20 my $test = (semctl(-1,0,0,0))[0];
21 ok(!defined $test, "erroneous semctl list slice yields undef");
24 is(scalar @warnings, 0, "no warnings from erroneous semctl list slice")
/openbsd/src/gnu/usr.bin/gcc/gcc/config/mips/
Dirix6-libc-compat.c128 extern machreg_t semctl PARAMS ((machreg_t, machreg_t, machreg_t, machreg_t));
140 semctl (machreg_t semid, machreg_t semnum, machreg_t cmd, machreg_t arg) in semctl() function
/openbsd/src/gnu/usr.bin/perl/cpan/IPC-SysV/t/
Dipcsysv.t239 ok(semctl($sem, 0, IPC_STAT, $data), 'sem data call');
243 ok(semctl($sem, 0, SETALL, pack("s$N*", (0) x $nsem)), 'set all sems');
246 ok(semctl($sem, 0, GETALL, $data), 'get all sems');
260 ok(semctl($sem, 0, SETALL, pack("s$N*", @data)), 'poke it');
263 ok(semctl($sem, 0, GETALL, $data), 'and get it back');
348 semctl($sem, 0, IPC_RMID, 0) if defined $sem;
/openbsd/src/lib/libc/hidden/sys/
Dsem.h23 PROTO_DEPRECATED(semctl);
/openbsd/src/lib/libc/sys/
Dsemctl.c38 semctl(int semid, int semnum, int cmd, ...) in semctl() function
DMakefile.inc19 SRCS+= ptrace.c semctl.c \
196 rename.2 revoke.2 rmdir.2 sched_yield.2 select.2 semctl.2 semget.2 \
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/noncompile/
D971104-1.c22 if(semctl(semid, sb.sem_num, 12 , semctl_arg) == 0) in up()
/openbsd/src/sys/sys/
Dsem.h185 int semctl(int, int, int, ...);
/openbsd/src/usr.bin/ipcrm/
Dipcrm.c102 return (semctl(id, 0, IPC_RMID, arg)); in semrm()
/openbsd/src/regress/lib/libpthread/dlopen/
Ddlopen.c521 semctl(semid, 0, SETALL, semarg); in semop_init()
540 semctl(semid, 0, IPC_RMID, NULL); in semop_fini()
/openbsd/src/gnu/usr.bin/perl/hints/
Ddarwin.sh411 *** due to problems with the 64-bit versions of msgctl, semctl,
/openbsd/src/gnu/gcc/libmudflap/
Dmf-runtime.h216 #pragma redefine_extname semctl __mfwrap_semctl
Dmf-hooks2.c1764 WRAPPER2(int, semctl, int semid, int semnum, int cmd, union semun arg) in WRAPPER2() argument
1795 return semctl (semid, semnum, cmd, arg); in WRAPPER2()
DChangeLog540 * mf-hooks2.c (semctl): Add cygwin porting hack.
716 * mf-hooks2.c (semctl): Tolerate FreeBSD.
846 (semop, semctl, shmctl, shmat, shmdt): New hooks.
/openbsd/src/gnu/usr.bin/perl/pod/
Dperl5222delta.pod293 Perl now only tests C<semctl()> if we have everything needed to use it. In
294 FreeBSD the C<semctl()> entry point may exist, but it can be disabled by
Dperl5340delta.pod1294 L<semctl()|perlfunc/semctl>, L<msgctl()|perlfunc/msgctl>, and
1301 C<semctl()>, C<msgctl()>, and C<shmctl()> now attempt to downgrade the C<ARG>
1307 In cases where C<semctl()>, C<msgctl()> or C<shmctl()> would treat the C<ARG>
/openbsd/src/gnu/usr.bin/perl/lib/B/
DDeparse-core.t624 semctl 4 p
/openbsd/src/gnu/usr.bin/perl/t/porting/
Dknown_pod_issues.dat308 semctl(2)
/openbsd/src/gnu/usr.bin/perl/regen/
Dopcodes501 semctl semctl ck_fun imst@ S S S S
/openbsd/src/lib/libc/
DSymbols.list394 semctl
/openbsd/src/gnu/gcc/gcc/
Dsys-protos.h922 extern int semctl(int, int, int, ...);
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dsys-protos.h922 extern int semctl(int, int, int, ...);
/openbsd/src/gnu/usr.bin/perl/
Dperl.h8027 # define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun)
8030 # define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun.buff)
8032 # define Semctl(id, num, cmd, semun) semctl(id, num, cmd, semun.buf)

12