David Turner <dtur...@twosigma.com> writes: > If the full hostname doesn't fit in the buffer supplied to > gethostname, POSIX does not specify whether the buffer will be > null-terminated, so to be safe, we should do it ourselves. Introduce
The name of the character whose ASCII value is '\0' is NUL, not null (similarly for in-code comment).