LMMS
Loading...
Searching...
No Matches
IoHelper.h File Reference
#include <cstdio>
#include <limits>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  lmms

Functions

std::FILE * lmms::fopenUtf8 (const std::string &filename, const char *mode)
 std::fopen wrapper that expects UTF-8 encoded filename and mode
int lmms::fileToDescriptor (std::FILE *file, bool closeFile=true)
 Returns the POSIX file descriptor of the given FILE.