chardev.c

The codes on the post are from the Linux kernel module programming guide 1.

  1. Peter Jay Salzman, Micheal Burian and Ori Pomerantz, “The Linux Kernel Module Programming Guide,” 2001. 

More …