File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / doc / practical-osi1 / figureA-57.tex
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

\File{figureA\-57.c},{20:14},{Jun 19 1989}
\L{\LB{\Proc{do\_error}do\_error (sd, id, error, parameter, roi)}}
\L{\LB{\K{int}}\Tab{8}{sd;}}
\L{\LB{\K{int}}\Tab{8}{id,}}
\L{\LB{}\Tab{8}{error;}}
\L{\LB{caddr\_t parameter;}}
\L{\LB{\K{struct} RoSAPindication *roi;}}
\L{\LB{\{}}
\L{\LB{    \K{switch} (error) \{}}
\L{\LB{}\Tab{8}{\K{case} RY\_REJECT:}}
\L{\LB{}\Tab{8}{\{}}
\L{\LB{}\Tab{8}{    \K{int}}\Tab{16}{    reason = (\K{int}) parameter;}}
\L{\LB{}}
\L{\LB{}\Tab{8}{    \C{}\/* do something with ``reason\'\' here... *\/\CE{}}}
\L{\LB{}}
\L{\LB{}\Tab{8}{    \K{break};}}
\L{\LB{}\Tab{8}{\}}}
\L{\LB{}\Tab{8}{}}
\L{\LB{...}}
\L{\LB{}}

unix.superglobalmegacorp.com

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