fatbase

portable OpenBSD tools
git clone git://git.2f30.org/fatbase
Log | Files | Refs

util.h (303B)


      1 #include <sys/stat.h>
      2 #include <stdio.h>
      3 #include <stddef.h>
      4 
      5 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
      6 
      7 char *fgetln(FILE *, size_t *);
      8 
      9 void *reallocarray(void *, size_t, size_t);
     10 
     11 size_t strlcat(char *, const char *, size_t);
     12 size_t strlcpy(char *, const char *, size_t);