[ee122] [Question] CR and Newline

Jonathan D. Ellithorpe jde at berkeley.edu
Thu Oct 18 18:58:49 PDT 2007


What is the difference between carriage return and newline?

Should we be worried about using \r\n as the CRLF sequence? I've read 
that C doesn't guarantee that \r and \n map to the ASCII LF and CR 
control characters.

Jonathan


More information about the ee122 mailing list