jag

jagWrite_c

public

library to write to files for my games

Star0
Watch0
ssh://git@git.jaglekon.de:30/jag/jagWrite_c.git
source/jag_write.cC12 lines153 B
1
#include <jag_write.h>
2
3
uint8_t make_folder(char *path) {
4
 
5
  errno = 0;
6
  if (mkdir(path, 0755) && errno != EEXIST) {
7
    return 0;
8
  }
9
10
  return 1;
11
}
12