1 #include <common.h> 2 3 int 4 main(void) { 5 int retval = 0; 6 7 (void)sem_unlink(TEST_PATH); 8 retval = sem_open_should_fail(TEST_PATH, O_CREAT, 0777, 9 SEM_VALUE_MAX+1U, EINVAL); 10 11 return retval; 12 } 13