3.8 Example 7

  3428 stime ()
       {
         if (suser()) {
           time[0] = u.u_ar0[R0];
           time[1] = u.u_ar0[R1];
           wakeup (tout);
         }
       }

In this example, you should note that the procedure “suser” returns a value which is used for the “if” test. The three statements whose execution depends on this value are enclosed in the brackets “{” and “}”.

Note that a call on a procedure with no parameters must still be written-with a set of empty parentheses, sic.

    suser ()