Blender V4.3
utf_winfunc.hh File Reference
#include <stdio.h>

Go to the source code of this file.

Functions

FILE * ufopen (const char *filename, const char *mode)
 
int uopen (const char *filename, int oflag, int pmode)
 
int uaccess (const char *filename, int mode)
 
int urename (const char *oldname, const char *newname, const bool do_replace)
 
char * u_alloc_getenv (const char *varname)
 
void u_free_getenv (char *val)
 
int uput_getenv (const char *varname, char *value, size_t buffsize)
 
int uputenv (const char *name, const char *value)
 
int umkdir (const char *pathname)
 

Function Documentation

◆ u_alloc_getenv()

char * u_alloc_getenv ( const char * varname)

Definition at line 109 of file utf_winfunc.cc.

References alloc_utf_8_from_16(), str, UTF16_ENCODE, and UTF16_UN_ENCODE.

◆ u_free_getenv()

void u_free_getenv ( char * val)

Definition at line 122 of file utf_winfunc.cc.

References free().

◆ uaccess()

int uaccess ( const char * filename,
int mode )

Definition at line 61 of file utf_winfunc.cc.

References UTF16_ENCODE, and UTF16_UN_ENCODE.

◆ ufopen()

FILE * ufopen ( const char * filename,
const char * mode )

Definition at line 19 of file utf_winfunc.cc.

References NULL, printf, UTF16_ENCODE, and UTF16_UN_ENCODE.

◆ umkdir()

int umkdir ( const char * pathname)

Definition at line 94 of file utf_winfunc.cc.

References NULL, UTF16_ENCODE, and UTF16_UN_ENCODE.

Referenced by dir_create_recursive().

◆ uopen()

int uopen ( const char * filename,
int oflag,
int pmode )

Definition at line 41 of file utf_winfunc.cc.

References oflag, printf, UTF16_ENCODE, and UTF16_UN_ENCODE.

◆ uput_getenv()

int uput_getenv ( const char * varname,
char * value,
size_t buffsize )

Definition at line 127 of file utf_winfunc.cc.

References conv_utf_16_to_8(), str, UTF16_ENCODE, and UTF16_UN_ENCODE.

◆ uputenv()

int uputenv ( const char * name,
const char * value )

Definition at line 151 of file utf_winfunc.cc.

References NULL, UTF16_ENCODE, and UTF16_UN_ENCODE.

Referenced by BLI_setenv().

◆ urename()

int urename ( const char * oldname,
const char * newname,
const bool do_replace )

Definition at line 75 of file utf_winfunc.cc.

References UTF16_ENCODE, and UTF16_UN_ENCODE.

Referenced by BLI_rename(), and BLI_rename_overwrite().