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
nonet defined in line 35; used 2 times
nulldev defined in line 25; used 66 times
Last modified: 1992-12-25
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 205
Valid CSS Valid XHTML 1.0 Strict