Searched refs:shm_open_should_fail (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/tools/regression/posixshm/
H A Dposixshm.c52 shm_open_should_fail(const char *path, int flags, mode_t mode, int error) function
271 shm_open_should_fail(TEST_PATH, O_RDONLY, 0777, ENOENT);
279 shm_open_should_fail("blah", O_RDONLY, 0777, EINVAL);
287 shm_open_should_fail(TEST_PATH, O_WRONLY, 0777, EINVAL);
295 shm_open_should_fail(TEST_PATH, O_RDONLY | O_DIRECT, 0777, EINVAL);
318 shm_open_should_fail(SHM_ANON, O_RDONLY, 0777, EINVAL);
326 shm_open_should_fail((char *)1024, O_RDONLY, 0777, EFAULT);
338 shm_open_should_fail(page, O_RDONLY, 0777, ENAMETOOLONG);
347 shm_open_should_fail("/notreallythere", O_RDONLY, 0777, ENOENT);
363 shm_open_should_fail("/tm
[all...]

Completed in 83 milliseconds