commit | 1240d29209c1e1bac556113485a894f6ef4ae0af | [log] [tgz] |
---|---|---|
author | Aaron Durbin <adurbin@chromium.org> | Mon Mar 10 14:13:27 2014 -0500 |
committer | Aaron Durbin <adurbin@google.com> | Tue Mar 11 19:43:17 2014 +0100 |
tree | 41bd1d56565b9c9a39f5f5ab6ea7f8021e3fd796 | |
parent | 01650045f471bbe7ca1ca36868c82a47df8decd3 [diff] |
cbfstool: add bputs() to store a byte stream to a buffer There was already a bgets() function which operates on a buffer to copy a byte stream. Provide bputs() to store a byte stream to a buffer, thus making the API symmetrical. Change-Id: I6166f6b68eacb822da38c9da61a3e44f4c67136d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5366 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>