jag

jagWrite_c

public

library to write to files for my games

Star0
Watch0
82c2bdb279879c9fd7fc736710fde72956b49bde
1
ssh://git@git.jaglekon.de:30/jag/jagWrite_c.git
include/jag_write.hC32 lines500 B
1
#ifndef WRITE_H
2
#define WRITE_H
3
4
#include <unistd.h>
5
6
#include <stdbool.h>
7
#include <stdint.h>
8
#include <stdio.h>
9
#include <stdlib.h>
10
11
#include <sys/ioctl.h>
12
#include <sys/stat.h>
13
14
#include <errno.h>
15
16
#include <ctype.h>
17
#include <string.h>
18
19
#include <limits.h>
20
21
22
#define LOCAL "/.local"
23
#define SHARE "/share"
24
25
26
uint8_t make_folder(char *path);
27
28
uint8_t create_xdg_folder(char folder_path[PATH_MAX]);
29
30
uint8_t create_folder(char *folder_name, char *folder_path, char output_path[PATH_MAX]) {
31
32
#endif