Implemented ioctl(2) only for master file.
Fixed the prototype to follow style(9).
Fixed the style of nasm comment.