# 2.11BSD#431 - /usr/src/sys/sys/kern_xxx.c

##### Functions

    reboot            X

##### struct's

    a                 X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)kern_xxx.c	1.2 (2.11BSD) 2000/2/20
       7:  */
       8:
       9: #include "param.h"
      10: #include "user.h"
      11: #include "signal.h"
      12: #include "reboot.h"
      13: #include "kernel.h"
      14: #include "systm.h"
      15: #include "fs.h"
      16:
      17: reboot()
      18: {
      19:     register struct a {
      20:         int opt;
      21:     };
      22:
      23:     if (suser())
      24:         boot(rootdev, ((struct a *)u.u_ap)->opt);
      25: }

#### Defined functions

reboot defined in line 17; used 2 times

- in /usr/src/sys/sys/init_sysent.c line 51, 165

#### Defined struct's

a defined in line 19; used 2 times

- in line 24(2)

Last modified: 2000-02-21 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 511 |