X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/deff9ab3d0c1c5d17f215f440b88dde9cf983418..ef40de9569d6b74e953808d9f9eb3095aa7c38ab:/tools/cmake/test_prog/prog_sem_open.c diff --git a/tools/cmake/test_prog/prog_sem_open.c b/tools/cmake/test_prog/prog_sem_open.c deleted file mode 100644 index 59ad72bad1..0000000000 --- a/tools/cmake/test_prog/prog_sem_open.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (c) 2010-2018. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#include -#include -#include -#include -#include - -#ifndef SEM_FAILED -#define SEM_FAILED (-1) -#endif - -int main(void) { -#ifdef WIN32 - int s; -#else - sem_t * s; -#endif - s = sem_open("/0", O_CREAT, 0644, 10); - if (s == SEM_FAILED){ -// printf("sem_open failed\n"); - return 1; - } -// printf("sem_open succeeded\n"); - return 0; -}