Introduction
Introduction Statistics Contact Development Disclaimer Help
util.h - ics2txt - convert icalendar .ics file to plain text
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws…
Log
Files
Refs
Tags
README
---
util.h (697B)
---
1 #ifndef UTIL_H
2 #define UTIL_H
3
4 #include <stddef.h>
5 #include <stdio.h>
6 #include <stdarg.h>
7 #include <time.h>
8
9 #define LEN(x) (sizeof (x) / sizeof *(x))
10
11 extern char *arg0;
12
13 void err(int, char const *fmt, ...);
14 void warn(char const *fmt, ...);
15 void debug(char const *fmt, ...);
16 size_t strlcpy(char *, char const *, size_t);
17 char *strsep(char **, char const *);
18 void strchomp(char *);
19 char *strappend(char **, char const *);
20 size_t strlcat(char *, char const *, size_t);
21 long long strtonum(const char *, long long, long long, const char **);
22 size_t strsplit(char *, char **, size_t, char const *);
23 void *reallocarray(void *, size_t, size_t);
24 time_t tztime(struct tm *, char const *);
25
26 #endif
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.