According to this answer, TeX's standard end-of-line character is ASCII 13 (Carriage Return) with catcode 5.
How does TeX recognize the end of a line on systems with a different end-of-line character, e.g. on Unix systems, whose end-of-line character is ASCII 10 (Line Feed), which on my Mac has catcode 12 like the letters of the alphabet?
* I'm interested in pdfTeX, LuaTeX and XeTex.
\endlinecharas character code.