No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
/* * hello−1.c − The simplest kernel module. */ #include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/module.h" /* Needed by all modules */ #include "/usr/src/linux-headers-2.6.31-16-generic/include/linux/kernel.h" /* Needed for KERN_INFO */ //#include "/usr/include/linux/module.h" //#include "/usr/include/linux/kernel.h" int init_module(void) { printk(KERN_INFO "Hello world 1.\n"); /* * A non 0 return means init_module failed; module can't be loaded. */ return … | |
can a device like a hyperterminal(ttyUSB) be written and then accessed using cat command. for example command:cat /dev/ttyUSB0 throw some light on it if it's possible Thanks in advance... | |
Re: [QUOTE=MrNoob;909215]Hey i m reading tutrial about rucursion and got code whish isnt complicated or anything but i dunno why it prints the way it does [code] /* recur.c -- recursion illustration */ #include <stdio.h> void up_and_down(int); int main(void) { up_and_down(1); return 0; } void up_and_down(int n) { printf("Level %d: n … |
The End.