[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: How to decrease the buffer size
I think you have two options.
printf("Linux India \n");
OR
printf("Linux India ");
flush(stdout); // or was that fflush(stdout);
The '\n' flushes the o/p buffer.
regards
shourya
------------------------------------
Hi,
While writing a C programme manier time it happen that the printf
does not function at the place it should in simple statements like----
printf("Linux India"); as the o/p buffer is not full.
How can i reduce the buffer size in unix to a char so as to make this
statement work.
Sumit