diff options
author | msmith <msmith@FreeBSD.org> | 1998-10-31 02:48:29 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-10-31 02:48:29 +0000 |
commit | e6108119c4a18c3dd11e5fda0bbd6b84a63a923f (patch) | |
tree | 77ffcdb32b212aed315a6b8b4ea9e120a4452dff /lib/libstand/stand.h | |
parent | 02030ba04b7d957e3218848bb30779ab2dbd82b1 (diff) | |
download | FreeBSD-src-e6108119c4a18c3dd11e5fda0bbd6b84a63a923f.zip FreeBSD-src-e6108119c4a18c3dd11e5fda0bbd6b84a63a923f.tar.gz |
Add a new field to the devsw structure; dv_print, to print all valid units
etc. associated with the device entry.
Consider EOF an 'error' for fgetstr if we haven't read anything yet.
You *MUST* recompile and reinstall libstand before rebuilding the bootstrap.
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r-- | lib/libstand/stand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 251e7e8..3a05490 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stand.h,v 1.7 1998/10/06 19:23:57 msmith Exp $ + * $Id: stand.h,v 1.8 1998/10/19 09:08:40 dfr Exp $ * From $NetBSD: stand.h,v 1.22 1997/06/26 19:17:40 drochner Exp $ */ @@ -137,6 +137,7 @@ struct devsw { int (*dv_open)(struct open_file *f, ...); int (*dv_close)(struct open_file *f); int (*dv_ioctl)(struct open_file *f, u_long cmd, void *data); + void (*dv_print)(int verbose); /* print device information */ }; extern int errno; |