strncpy(3): Slightly more consistency about NUL vs '\0' in the text.

This commit is contained in:
riastradh 2023-08-11 12:26:59 +00:00
parent 6a5dfcb3ba
commit dfb89f3791
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93
.\" $NetBSD: strncpy.3,v 1.2 2023/08/11 11:51:54 riastradh Exp $
.\" $NetBSD: strncpy.3,v 1.3 2023/08/11 12:26:59 riastradh Exp $
.\"
.Dd August 11, 2023
.Dt STRNCPY 3
@ -100,7 +100,7 @@ If
does not terminate
.Fa dst
with a
.Dv NUL
.Ql \e0
character, it instead returns a pointer to
.Fa dst Ns Li "[" Fa len Ns Li "]" Ns ,
which may be one past the last element of an array.