HomeFreeBSD

linuxkpi: Add `strscpy_pad()` to <linux/string.h>

Description

linuxkpi: Add strscpy_pad() to <linux/string.h>

It's the same as strscpy() except that it fills the rest of the
destination buffer with zeroes if the source buffer is shorter.

Reviewed by: manu
Approved by: manu

Details

Provenance
dumbbellAuthored on Feb 14 2023, 11:46 PM
Parents
rG4dac88cd150b: linuxkpi: Define `debugfs_initialized()`
Branches
Unknown
Tags
Unknown