Tech Mahindra Interview Question

How do you access kernel functions of the operating system?