J
junky_fellow
Hi guys,
I want to write a null terminated string to the standard output. I
don't want to use
printf as it may be costly. I am using "puts" library function, but it
appends the
newline to the end of string which I do not want. Is there any library
function which
does not append the newline character ?
Also, any idea why does puts appends newline to the input string ?
There's another library function "fputs" that does not append the
newline character.
I was wondering why puts appends newline but fputs does not ? Is there
any special
reason for this ?
thanks a lot for any help in advance ...
I want to write a null terminated string to the standard output. I
don't want to use
printf as it may be costly. I am using "puts" library function, but it
appends the
newline to the end of string which I do not want. Is there any library
function which
does not append the newline character ?
Also, any idea why does puts appends newline to the input string ?
There's another library function "fputs" that does not append the
newline character.
I was wondering why puts appends newline but fputs does not ? Is there
any special
reason for this ?
thanks a lot for any help in advance ...