Annotation of researchv9/X11/src/X.V11R1/lib/X/XCrPixmap.c, revision 1.1

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XCrPixmap.c,v 11.5 87/09/11 08:02:35 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #include "Xlibint.h"
        !             7: 
        !             8: Pixmap XCreatePixmap (dpy, d, width, height, depth)
        !             9:     register Display *dpy;
        !            10:     Drawable d;
        !            11:     unsigned int width, height, depth;
        !            12: {
        !            13:     Pixmap pid;
        !            14:     register xCreatePixmapReq *req;
        !            15: 
        !            16:     LockDisplay(dpy);
        !            17:     GetReq(CreatePixmap, req);
        !            18:     req->drawable = d;
        !            19:     req->width = width;
        !            20:     req->height = height;
        !            21:     req->depth = depth;
        !            22:     pid = req->pid = XAllocID(dpy);
        !            23:     UnlockDisplay(dpy);
        !            24:     SyncHandle();
        !            25:     return (pid);
        !            26: }
        !            27: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.