Annotation of 43BSDReno/contrib/isode-beta/doc/manual/grind2a-2c.c, revision 1.1

1.1     ! root        1: ...
        !             2: 
        !             3: static int  ros_work (fd)
        !             4: int    fd;
        !             5: {
        !             6:     int            result;
        !             7:     struct AcSAPindication  acis;
        !             8:     struct RoSAPindication  rois;
        !             9:     register struct RoSAPindication *roi = &rois;
        !            10:     register struct RoSAPpreject   *rop = &roi -> roi_preject;
        !            11: 
        !            12:     switch (setjmp (toplevel)) {
        !            13:        case OK: 
        !            14:            break;
        !            15: 
        !            16:        default: 
        !            17:            (void) AcUAbortRequest (fd, NULLPEP, 0, &acis);
        !            18:            return NOTOK;
        !            19:     }
        !            20: 
        !            21:     switch (result = RoWaitRequest (fd, OK, roi)) {
        !            22:        case NOTOK: 
        !            23:            if (rop -> rop_reason == ROS_TIMER)
        !            24:                break;
        !            25:        case OK: 
        !            26:        case DONE: 
        !            27:            ros_indication (fd, roi);
        !            28:            break;
        !            29: 
        !            30:        default: 
        !            31:            fatal (NULLCP, "unknown return from RoWaitRequest=%d", result);
        !            32:     }
        !            33: 
        !            34:     return OK;
        !            35: }
        !            36: 
        !            37: ...

unix.superglobalmegacorp.com

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