Blender  V2.93
utf_winfunc.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2012 Blender Foundation.
17  * All rights reserved.
18  *
19  */
20 
21 #ifndef __UTF_WINFUNC_H__
22 #define __UTF_WINFUNC_H__
23 
24 #ifndef WIN32
25 # error "This file can only compile on windows"
26 #endif
27 
28 #include <stdio.h>
29 
30 FILE *ufopen(const char *filename, const char *mode);
31 int uopen(const char *filename, int oflag, int pmode);
32 int uaccess(const char *filename, int mode);
33 int urename(const char *oldname, const char *newname);
34 
35 char *u_alloc_getenv(const char *varname);
36 void u_free_getenv(char *val);
37 
38 int uput_getenv(const char *varname, char *value, size_t buffsize);
39 int uputenv(const char *name, const char *value);
40 
41 int umkdir(const char *pathname);
42 
43 #endif /* __UTF_WINFUNC_H__ */
ATTR_WARN_UNUSED_RESULT const BMFlagLayer const short oflag
int uput_getenv(const char *varname, char *value, size_t buffsize)
Definition: utf_winfunc.c:134
int uputenv(const char *name, const char *value)
Definition: utf_winfunc.c:158
int umkdir(const char *pathname)
Definition: utf_winfunc.c:101
void u_free_getenv(char *val)
Definition: utf_winfunc.c:129
FILE * ufopen(const char *filename, const char *mode)
Definition: utf_winfunc.c:30
int uopen(const char *filename, int oflag, int pmode)
Definition: utf_winfunc.c:52
int uaccess(const char *filename, int mode)
Definition: utf_winfunc.c:72
int urename(const char *oldname, const char *newname)
Definition: utf_winfunc.c:86
char * u_alloc_getenv(const char *varname)
Definition: utf_winfunc.c:116