Friday, 23 August 2013

Does the kernel have a main() function?

Does the kernel have a main() function?

I am learning device drivers and Kernel programming. According to Jonathan
Corbet's book, there is no main() function in device drivers.
So I two questions:
Why don't we need a main() function in device drivers?
Does the kernel itself have a main() function?
Can someone explain this to me?

No comments:

Post a Comment