Annotation of 43BSDReno/contrib/isode-beta/rosap/rosapwait.c, revision 1.1

1.1     ! root        1: /* rosapwait.c - ROPM: wait for an indication */
        !             2: 
        !             3: #ifndef        lint
        !             4: static char *rcsid = "$Header: /f/osi/rosap/RCS/rosapwait.c,v 6.0 89/03/18 23:42:33 mrose Rel $";
        !             5: #endif
        !             6: 
        !             7: /* 
        !             8:  * $Header: /f/osi/rosap/RCS/rosapwait.c,v 6.0 89/03/18 23:42:33 mrose Rel $
        !             9:  *
        !            10:  * Based on an TCP-based implementation by George Michaelson of University
        !            11:  * College London.
        !            12:  *
        !            13:  *
        !            14:  * $Log:       rosapwait.c,v $
        !            15:  * Revision 6.0  89/03/18  23:42:33  mrose
        !            16:  * Release 5.0
        !            17:  * 
        !            18:  */
        !            19: 
        !            20: /*
        !            21:  *                               NOTICE
        !            22:  *
        !            23:  *    Acquisition, use, and distribution of this module and related
        !            24:  *    materials are subject to the restrictions of a license agreement.
        !            25:  *    Consult the Preface in the User's Manual for the full terms of
        !            26:  *    this agreement.
        !            27:  *
        !            28:  */
        !            29: 
        !            30: 
        !            31: /* LINTLIBRARY */
        !            32: 
        !            33: #include <stdio.h>
        !            34: #include <signal.h>
        !            35: #include "ropkt.h"
        !            36: 
        !            37: /*    RO-WAIT.REQUEST (pseudo) */
        !            38: 
        !            39: int    RoWaitRequest (sd, secs, roi)
        !            40: int    sd;
        !            41: int    secs;
        !            42: struct RoSAPindication *roi;
        !            43: {
        !            44:     SBV            smask;
        !            45:     int     result;
        !            46:     register struct assocblk   *acb;
        !            47: 
        !            48:     missingP (roi);
        !            49: 
        !            50:     smask = sigioblock ();
        !            51: 
        !            52:     rosapXsig (acb, sd);
        !            53: 
        !            54:     result =  (*acb -> acb_rowaitrequest) (acb, NULLIP, secs, roi);
        !            55: 
        !            56:     (void) sigiomask (smask);
        !            57: 
        !            58:     return result;
        !            59: }

unix.superglobalmegacorp.com

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