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

##### Functions

    nodev             X
    nonet             X
    nulldev           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:  *	@(#)subr_xxx.c	1.1 (2.10BSD Berkeley) 12/1/86
       7:  */
       8:
       9: #include "param.h"
      10: #include "user.h"
      11:
      12: /*
      13:  * Routine placed in illegal entries in the bdevsw and cdevsw tables.
      14:  */
      15: nodev()
      16: {
      17:
      18:     return (ENODEV);
      19: }
      20:
      21: /*
      22:  * Null routine; placed in insignificant entries
      23:  * in the bdevsw and cdevsw tables.
      24:  */
      25: nulldev()
      26: {
      27:
      28:     return (0);
      29: }
      30:
      31: /*
      32:  * socket(2) and socketpair(2) if networking not available.
      33:  */
      34: #ifndef INET
      35: nonet()
      36: {
      37:     u.u_error = EPROTONOSUPPORT;
      38:     return(EPROTONOSUPPORT);
      39: }
      40: #endif

#### Defined functions

nodev defined in line 15; used 164 times

- in /usr/src/sys/h/systm.h line 69
- in /usr/src/sys/pdp/conf.c line 21, 30-32(3), 40-43(4), 51-54(3), 63-67(4), 77-80(3), 88-91(4), 100-103(4), 111-114(4), 121-124(4), 133-136(3), 145-150(5), 158-161(4), 169-171(3), 224-226(3), 235-241(7), 251-256(6), 267-277(11), 285-288(4), 297-303(7), 313-319(7), 326-333(7), 345-353(7), 366, 381-382(3), 414, 422, 434, 442, 449, 465-467(7)
- in /usr/src/sys/sys/tty_conf.c line 18, 42-64(38)

nonet defined in line 35; used 2 times

- in /usr/src/sys/sys/init_sysent.c line 82-84(2)

nulldev defined in line 25; used 66 times

- in /usr/src/sys/GENERIC/ioconf.c line 18-19(2)
- in /usr/src/sys/pdp/conf.c line 20, 28, 53, 66, 75-79(2), 99, 131-135(2), 148, 156, 167, 176-185(4), 194, 200, 212, 347, 362-463(37)
- in /usr/src/sys/sys/tty_conf.c line 19, 42-45(2), 51-54(2), 61(2)

Last modified: 1992-12-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 663 |