]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Add Str_Strncpy
authorOliver Kurth <okurth@vmware.com>
Wed, 15 Nov 2017 21:32:54 +0000 (13:32 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 15 Nov 2017 21:32:54 +0000 (13:32 -0800)
commit2795cc29fb5243f0dd91bbe233ea267a0f5ff764
tree35710bbcca24fdb8cf1239175e14a491a808b9a0
parent36627cdec863b57cfbc544d489075891982aaec7
Add Str_Strncpy

Add a Str_Strncpy function that, unlike strncpy, guarantees
NUL-termination.
open-vm-tools/lib/include/str.h
open-vm-tools/lib/string/str.c