diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-22 20:24:54 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-22 20:38:01 +0000 |
| commit | cc7b0a438199a08276f1381d14d5caf0530084c2 (patch) | |
| tree | e77661f0182496756d801f99c6864ff27931970e /util/nvmutil/include | |
| parent | df99f345dc410fdfdaeee5b4c1078f7544c31886 (diff) | |
WIP cleanup: split mkhtemp
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/include')
| -rw-r--r-- | util/nvmutil/include/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/nvmutil/include/common.h b/util/nvmutil/include/common.h index 930150df..b47e5f4b 100644 --- a/util/nvmutil/include/common.h +++ b/util/nvmutil/include/common.h @@ -480,6 +480,13 @@ const char *getnvmprogname(void); char *new_tmpfile(int *fd); char *new_tmplate(int *fd); +static int mkhtemp_try_create(int dirfd, + struct stat *st_dir_initial, + char *fname_copy, + char *p, + size_t xc, + int *fd, + struct stat *st); int mkhtemp(int *fd, struct stat *st, char *template, int dirfd, const char *fname, struct stat *st_dir_initial); |
