DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

cdevsw - Display the character device switch entry

SYNOPSIS

cdevsw cdevsw cdevsw+ cdevsw cdevsw#

DESCRIPTION

The cdevsw macro can be used to view all the character device switch tables. Every module and driver on the system must be indentified by either cdevsw[] or fmodsw[].

Typical output looks like this:

S> cdevsw cdevsw d_open D00DDD80(ucsdopen) d_close D00DE2B0(ucsdclose) d_read D00DE560(ucsdread) d_write D00DE5A0(ucsdwrite) d_ioctl D00DE610(ucsdioctl) d_mmap D004BD30(nodev) d_segmap D004BD30(nodev) d_xpoll D004BD30(nodev) d_xhalt D004BD30(nodev) d_ttys 00000000 d_str 00000000 d_name ucsdisk d_flag 00000110 d_cpu FFFFFFFF

DEFINED IN

device.k

SEE ALSO

bdevsw, fmodsw

APPENDIX A: Alphabetic Index of Macros