B
bashcommando
Guest
How do I use the Linux kernel in C?
There are sayings / quotes at the beginning of each chapter. The quote that starts chapter 2 is a classic from Dennis Ritchie, and worth half the price of the book.
Hi,
I am still a beginner, and Im probably wrong.
Anyway...
You question mean nothing for me. As I understand linux, its open source and mostly write in C... So you have the source, you have vi and bcc...?
But I have the feeling that what you are looking for are linux system call
take a look at :
[ I dont have suffisant privilege to add a link :'( ]
so :
Google search for linux system call in C
How do I use the Linux kernel in C?
I have to agree. Doing direct calls to hardware is not exactly safe...Generally, you don't make calls into the system, you use the user-space libraries. If you want to communicate with various devices (or more properly their device drivers) you use ioctl().
Generally, you don't make calls into the system, you use the user-space libraries. If you want to communicate with various devices (or more properly their device drivers) you use ioctl().
Hello Everyone
How to make new system calls and modify the existing one?
Where exactly we have to enter in the directory of Kernel ?
Thank u
By system calls do you mean shell script? You can do that in C by using:Hello Everyone
How to make new system calls and modify the existing one?
Where exactly we have to enter in the directory of Kernel ?
Thank u
#include <studio.h>
int main(void)
{
system("echo 'Hi'");
}