cmake HAVE_SHM_OPEN_SHM_UNLINK examples

qt/qtbase cmake/FindWrapRt.cmake :34

check_cxx_source_compiles("
#include <sys/types.h>
#include <sys/mman.h>
#include <fcntl.h>

int main(int, char **) {
    shm_open(\"test\", O_RDWR | O_CREAT | O_EXCL, 0666);
    shm_unlink(\"test\");
    return 0;
}
" HAVE_SHM_OPEN_SHM_UNLINK)