Re: printk and \n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mohit verma wrote:
can u please write a code to prove urself( in user space)?
coz till now what i have code ,i have never seen this.( or may be not noticed this)

See this really simple bit of code below, it probably doesn't do what you expect.


#include <stdio.h>

int main(void)
{
	int i;
	for (i=0; i< 5; i++) {
		printf("hello");
		sleep(30);
	}
	printf("display output\n");
}


Phil

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux