Formerly ../mach/devstream.c.~17~
authorroland <roland>
Tue, 24 May 1994 02:57:40 +0000 (02:57 +0000)
committerroland <roland>
Tue, 24 May 1994 02:57:40 +0000 (02:57 +0000)
mach/devstream.c

index cb1dfb6..43660a5 100644 (file)
@@ -228,6 +228,8 @@ mach_open_devstream (mach_port_t dev, const char *mode)
   stream->__room_funcs.__input = input;
   stream->__room_funcs.__output = output;
   stream->__io_funcs.__close = (__io_close_fn *) device_close;
+  stream->__io_funcs.__seek = NULL; /* Cannot seek.  */
+  stream->__io_funcs.__fileno = NULL; /* No corresponding POSIX.1 fd.  */
   stream->__seen = 1;
 
   return stream;