\n to \r\n in stdout

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

 



Hi all!

I've looked at so many places that I'm thinking it won't have ways to resolve
this problem. Then I remembered that exists this discussion list.

So, here is my question:

Please, but please... How can I prevent the compiler of substituting the
character '\n' for the characters "\r\n"?

I'm trying to open a binary file and print it to the stdout, but substituting
'\n' for "\r\n", the file generated is corrupted.

Thanks you all!

Gratefully,
Thales Medeiros.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux