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

1.1       root        1: \File{grind2a\-2c.c},{22:23},{Jun 12 1988}
                      2: \L{\LB{...}}
                      3: \L{\LB{}}
                      4: \L{\LB{\K{static} \K{int}  ros\_work (fd)}}
                      5: \L{\LB{\K{int}}\Tab{8}{fd;}}
                      6: \L{\LB{\{}}
                      7: \L{\LB{    \K{int}}\Tab{8}{    result;}}
                      8: \L{\LB{    \K{struct} AcSAPindication  acis;}}
                      9: \L{\LB{    \K{struct} RoSAPindication  rois;}}
                     10: \L{\LB{    \K{register} \K{struct} RoSAPindication *roi = \&rois;}}
                     11: \L{\LB{    \K{register} \K{struct} RoSAPpreject   *rop = \&roi \-\> roi\_preject;}}
                     12: \L{\LB{}}
                     13: \L{\LB{    \K{switch} (setjmp (toplevel)) \{}}
                     14: \L{\LB{}\Tab{8}{\K{case} OK: }}
                     15: \L{\LB{}\Tab{8}{    \K{break};}}
                     16: \L{\LB{}}
                     17: \L{\LB{}\Tab{8}{\K{default}: }}
                     18: \L{\LB{}\Tab{8}{    (\K{void}) AcUAbortRequest (fd, NULLPEP, 0, \&acis);}}
                     19: \L{\LB{}\Tab{8}{    \K{return} NOTOK;}}
                     20: \L{\LB{    \}}}
                     21: \L{\LB{}}
                     22: \L{\LB{    \K{switch} (result = RoWaitRequest (fd, OK, roi)) \{}}
                     23: \L{\LB{}\Tab{8}{\K{case} NOTOK: }}
                     24: \L{\LB{}\Tab{8}{    \K{if} (rop \-\> rop\_reason == ROS\_TIMER)}}
                     25: \L{\LB{}\Tab{16}{\K{break};}}
                     26: \L{\LB{}\Tab{8}{\K{case} OK: }}
                     27: \L{\LB{}\Tab{8}{\K{case} DONE: }}
                     28: \L{\LB{}\Tab{8}{    ros\_indication (fd, roi);}}
                     29: \L{\LB{}\Tab{8}{    \K{break};}}
                     30: \L{\LB{}}
                     31: \L{\LB{}\Tab{8}{\K{default}: }}
                     32: \L{\LB{}\Tab{8}{    fatal (NULLCP, \S{}\"unknown return from RoWaitRequest=\%d\"\SE{}, result);}}
                     33: \L{\LB{    \}}}
                     34: \L{\LB{}}
                     35: \L{\LB{    \K{return} OK;}}
                     36: \L{\LB{\}}}
                     37: \L{\LB{}}
                     38: \L{\LB{...}}

unix.superglobalmegacorp.com

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