mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
13 lines
228 B
C
13 lines
228 B
C
#include <semaphore.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
for (int i = 1; i < argc; i++) {
|
|
int ret = sem_unlink(argv[i]);
|
|
if (ret)
|
|
fprintf(stderr, "Failed to unlink: %s\n", argv[i]);
|
|
}
|
|
|
|
return 0;
|
|
}
|