diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-17 09:46:46 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 12:52:10 +0200 |
commit | 13d9ed111f326a1fa4c38e44617cb74a8ab474d2 (patch) | |
tree | b65a486b1cdfa2d00900ae12890509b1e6fb1c43 /Documentation | |
parent | 09fd5267dfb934f0850c372727453bee6b029d7e (diff) | |
download | barebox-13d9ed111f326a1fa4c38e44617cb74a8ab474d2.tar.gz barebox-13d9ed111f326a1fa4c38e44617cb74a8ab474d2.tar.xz |
libfile: Document that read_file() returns a terminated buffer
read_file() and read_file_2() return a '\0' terminated buffer to make
sure the buffer is usable as a string. Other code like read_file_line()
depends on this behaviour, so document it explicitly.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions