Lines Matching refs:NUL
120 NUL or newline terminated.
131 the destination, but rather a count of non-NUL bytes copied (or negative
134 strncpy() on NUL-terminated strings
137 be NUL terminated. This can lead to various linear read overflows and
138 other misbehavior due to the missing termination. It also NUL-pads
141 for callers using only NUL-terminated strings.
143 When the destination is required to be NUL-terminated, the replacement is
146 destination, but rather a count of non-NUL bytes copied (or negative
147 errno when it truncates). Any cases still needing NUL-padding should
150 If a caller is using non-NUL-terminated strings, strtomem() should be
154 NUL-padding, strtomem_pad() can be used.
161 if a source string is not NUL-terminated. The safe replacement is strscpy(),