Logo Search packages:      
Sourcecode: qt4-x11 version File versions

mitshm.cpp

#include <X11/Xlib.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>

int main(int, char **)
{
    Display *dpy = 0;
    int minor;
    int major;
    int pixmaps;
    if (dpy && XShmQueryVersion(dpy, &major, &minor, &pixmaps)) {
        minor = 0;
        major = 0;
        pixmaps = 0;
    }
    return 0;
}

Generated by  Doxygen 1.6.0   Back to index