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

1.1     ! root        1: #include "copyright.h"
        !             2: 
        !             3: /* $Header: XGetPCnt.c,v 11.9 87/09/11 08:04:20 toddb Exp $ */
        !             4: /* Copyright    Massachusetts Institute of Technology    1986  */
        !             5: 
        !             6: #define NEED_REPLIES
        !             7: #include "Xlibint.h"
        !             8: 
        !             9: XGetPointerControl(dpy, accel_numer, accel_denom, threshold)
        !            10:      register Display *dpy;
        !            11:      /* the following are return only vars */
        !            12:      int *accel_numer, *accel_denom;
        !            13:      int *threshold;
        !            14: {       
        !            15:     xGetPointerControlReply rep;
        !            16:     xReq *req;
        !            17:     LockDisplay(dpy);
        !            18:     GetEmptyReq(GetPointerControl, req);
        !            19:     (void) _XReply (dpy, (xReply *)&rep, 0, xTrue);
        !            20:     *accel_numer = rep.accelNumerator;
        !            21:     *accel_denom = rep.accelDenominator;
        !            22:     *threshold = rep.threshold;
        !            23:     UnlockDisplay(dpy);
        !            24:     SyncHandle();
        !            25: }
        !            26: 

unix.superglobalmegacorp.com

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