Simple character device file.
To use:
make and load with make testmknod /dev/example c <MAJOR> 0, replacing <MAJOR> with major number returned in the kernel buffer.cat /dev/examplerm /dev/example and unload the module with rmmod exampleFollowed along from here.