Annotation of researchv10dc/dist/man/v3/man3/switch.3, revision 1.1.1.1

1.1       root        1: .pa 1
                      2: .he 'SWITCH (III)'3/15/72'SWITCH (III)'
                      3: .ti 0
                      4: NAME           switch  --  switch on value
                      5: .sp
                      6: .ti 0
                      7: SYNOPSIS       (switch value in r0)
                      8: .br
                      9: jsr    r5,switch; swtab
                     10: .br
                     11: (not-found return)
                     12: .br
                     13: .li
                     14: ...
                     15: .ti -7
                     16: swtab: val1; lab1;
                     17: .br
                     18: .li
                     19: ...
                     20: .br
                     21: valn; labn
                     22: .br
                     23: .li
                     24: ..;  0
                     25: .sp
                     26: .ti 0
                     27: DESCRIPTION    switch______
                     28: compares the value of r0 against each of the val\di\u; if
                     29: a match is found, control is transferred to the corresponding
                     30: lab\di\u (after popping the stack once).
                     31: If no match has been found by the time a null lab\di\u
                     32: occurs, switch______ returns.
                     33: .sp
                     34: .ti 0
                     35: FILES          kept in /lib/liba.a
                     36: .sp
                     37: .ti 0
                     38: SEE ALSO       --
                     39: .sp
                     40: .ti 0
                     41: DIAGNOSTICS    --
                     42: .sp
                     43: .ti 0
                     44: BUGS           --

unix.superglobalmegacorp.com

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