]> git.ipfire.org Git - thirdparty/u-boot.git/commit
abuf: Add a function to copy a buffer
authorSimon Glass <sjg@chromium.org>
Fri, 2 May 2025 14:46:03 +0000 (08:46 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 30 May 2025 08:49:31 +0000 (09:49 +0100)
commitd58cebbbc7617fbc45e604c883e8501a58d25e62
tree86b85edc452fc6efef46b3a37dfd63d04dec2a3b
parent97b586695cd80821455ae06ee178c6c8cf759ce6
abuf: Add a function to copy a buffer

It is useful to be able to copy an abuf, to allow changes while
preserving the original. Add a function for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/abuf.h
lib/abuf.c
test/lib/abuf.c