diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-22 11:08:52 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-25 08:28:05 +0100 |
commit | 94e561b3648a2c921a6c8faa6c79201c78f8ecfe (patch) | |
tree | 6ca0b382a90456d568e3bca358f74a95f826b281 /common/uimage.c | |
parent | 3f86edfc2b942e57d452feca0450a6fb14066fbd (diff) | |
download | barebox-94e561b3648a2c921a6c8faa6c79201c78f8ecfe.tar.gz barebox-94e561b3648a2c921a6c8faa6c79201c78f8ecfe.tar.xz |
libfile: implement make_temp
Create a make_temp() function which creates a name for a temporary file.
Since we do not have any concurrency in barebox we do not need to create
the file right away and can leave that to the caller. Unlike unix
mktemp the resulting filename is dynamically allocated and must be
freed by the caller.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/uimage.c')
0 files changed, 0 insertions, 0 deletions