File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / cookbook / figure19.tex
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

\File{figure19.c},{10:50},{Feb 28 1988}
\L{\LB{\C{}\/* do something with ``arg\'\' here and decide if won... *\/\CE{}}}
\L{\LB{}}
\L{\LB{\Proc{if}    \K{if} (won) \{}}
\L{\LB{}\Tab{8}{\K{register} \K{struct} type\_MODULE\_result *res;}}
\L{\LB{}}
\L{\LB{\C{}\/* allocate and initialize the result ``res\'\' here... *\/\CE{}}}
\L{\LB{}}
\L{\LB{}\Tab{8}{\K{if} (RyDsResult (sd, rox \-\> rox\_id, (caddr\_t) res, ROS\_NOPRIO, roi)}}
\L{\LB{}\Tab{16}{== NOTOK)}}
\L{\LB{}\Tab{8}{    ros\_adios (\&roi \-\> roi\_preject, \S{}\"RESULT\"\SE{});}}
\L{\LB{}}
\L{\LB{}\Tab{8}{free\_MODULE\_result (res);}}
\L{\LB{    \}}}

unix.superglobalmegacorp.com

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