Mako 8.2.0 API
MakoCore SDK API Documentation
Loading...
Searching...
No Matches
platform_utils.h File Reference
#include <stdio.h>
#include <stdarg.h>
#include <edl/edlnamespaces.h>
#include <edl/edltypes.h>
Include dependency graph for platform_utils.h:

Go to the source code of this file.

Functions

_BEGIN_EDL_NAMESPACE EDL_API int edlMkdir (const char *dir)
 Creates a subdirectory path (including parents) in an existing directory tree.
EDL_API int edlRmdir (const char *dir)
 Removes a subdirectory, if it is empty.
EDL_API char * edlGetTemporaryDirectory (void)
 Get the platform-specific temporary directory path. This is created by consulting platform specific APIs or through the TEMP or TMP environment variables.
EDL_API int edlGetProcessId ()
 Gets the process id of the calling process. This is useful if the user wants to provide separate temporary directories for each instance of EDL.
EDL_API FILE * edlFopen (const char *filename, const char *mode)
 Open a file as per fopen, handling UTF8 file names on all platforms.
EDL_API int edlVsnprintf (char *buffer, size_t n, const char *format, va_list ap)
 Implementation of vsnprintf that always uses the C locale, to write formatted data from variable argument list to sized buffer Parameters as per vsnprintf()
EDL_API int edlSnprintf (char *buffer, size_t n, const char *format,...)
 Implementation of snprintf that always uses the C locale. Parameters as per snprintf().
EDL_API double edlStrtod (const char *str, char **endptr)
 Implementation of strtod that always uses the C locale to parse the C string str interpreting its content as a floating point number as per strtod()