19#ifndef AVUTIL_FILE_OPEN_H
20#define AVUTIL_FILE_OPEN_H
28#define avpriv_fopen_utf8 ff_fopen_utf8
29#define avpriv_open ff_open
30#define avpriv_tempfile ff_tempfile
#define flags(name, subs,...)
av_warn_unused_result int avpriv_open(const char *filename, int flags,...)
A wrapper for open() setting O_CLOEXEC.
FILE * avpriv_fopen_utf8(const char *path, const char *mode)
Open a file using a UTF-8 filename.
int avpriv_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx)
Wrapper to work around the lack of mkstemp() on mingw.
Macro definitions for various function/variable attributes.
#define av_warn_unused_result