News for hackers. Stuff that matters.
Re:Getting the ^D by layer8 on Monday April 10, 2023 @08:13AM (#35511389)
The NUL byte has no special meaning in file I/O, or the terminal. (Historically, the only special meaning was as a no-op character that does nothing.) The convention of using NUL as a termination character only exists for in-memory strings in C, and has no connection to file I/O.

There are no comments on this comment yet.