File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / manual / grind2a-2c.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

...

static int  ros_work (fd)
int	fd;
{
    int	    result;
    struct AcSAPindication  acis;
    struct RoSAPindication  rois;
    register struct RoSAPindication *roi = &rois;
    register struct RoSAPpreject   *rop = &roi -> roi_preject;

    switch (setjmp (toplevel)) {
	case OK: 
	    break;

	default: 
	    (void) AcUAbortRequest (fd, NULLPEP, 0, &acis);
	    return NOTOK;
    }

    switch (result = RoWaitRequest (fd, OK, roi)) {
	case NOTOK: 
	    if (rop -> rop_reason == ROS_TIMER)
		break;
	case OK: 
	case DONE: 
	    ros_indication (fd, roi);
	    break;

	default: 
	    fatal (NULLCP, "unknown return from RoWaitRequest=%d", result);
    }

    return OK;
}

...

unix.superglobalmegacorp.com

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