diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-01-03 15:52:19 -0500 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-01-03 19:53:07 -0500 |
commit | 4910ff05c06b70f25e4799705913c4e282abfd86 (patch) | |
tree | 92986b561302e85635db8a1012d2db4d9123e227 /test/ipa/ipa_interface_test.cpp | |
parent | 1acad98f7d162ee4e9d5f869489b0c3b17ad80aa (diff) |
libcamera: utils: Add strlcpy
strlcpy is available in libbsd, bionic, musl, and ulibc, but not in glibc.
Instead of checking for strlcpy availability and modifying dependencies,
implement it in utils, as a wrapper around strncpy.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/ipa/ipa_interface_test.cpp')
0 files changed, 0 insertions, 0 deletions