equivalent of chomp in perl



Hi,
Is there an equivalent to the perl command chomp in C? And if there is
no exact equivalent command, how would I go about removing the "\n" at
the end of a stdin?

Thank you,
Natalie

.



Relevant Pages

  • Re: equivalent of chomp in perl
    ... Is there an equivalent to the perl command chomp in C? ... there is no exact equivalent command, ... removing the "\n" at the end of a stdin? ... int flushln{ ...
    (comp.lang.c)
  • Re: equivalent of chomp from perl in C
    ... no exact equivalent command, how would I go about removing the "\n" at ... the end of a stdin? ... char *command; ...
    (comp.lang.misc)
  • equivalent of chomp from perl in C
    ... Is there an equivalent to the perl command chomp in C? ... no exact equivalent command, how would I go about removing the "\n" at ...
    (comp.lang.misc)