Page MenuHomeFreeBSD

LinuxKPI: string.h implement memcpy_and_pad()
ClosedPublic

Authored by bz on Oct 31 2022, 10:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 21, 4:51 AM
Unknown Object (File)
May 2 2025, 4:29 AM
Unknown Object (File)
Apr 27 2025, 11:06 AM
Unknown Object (File)
Feb 25 2025, 9:49 PM
Unknown Object (File)
Feb 13 2025, 5:31 PM
Unknown Object (File)
Feb 11 2025, 11:00 PM
Unknown Object (File)
Feb 5 2025, 5:00 PM
Unknown Object (File)
Feb 4 2025, 2:17 AM
Subscribers

Details

Summary

Add a memcpy variant which takes length of source and destination
buffers and a padding character in case there is free space in the
destination. This is used by a wireless driver.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable