Search results

  1. U

    printf on Mac

    The things is i don't have a Mac. Here's an excerpt for Windows, which appears to be true for 2K, and XP: "For example, on MS-DOS systems in text mode (which is the default), every time you output a newline character ('\n'), the file system actually outputs two characters, a...
  2. U

    printf on Mac

    If one does printf("something\n"); on a Mac, does that print the right line-termination sequence for Mac OS? I am not sure, but i recall reading that the sequence was \n\r for earlier Mac releases. If so will the line above print \r\n into the stream? Basically, i'm trying to determine if...
Back
Top