Logo Search packages:      
Sourcecode: magicrescue version File versions  Download package

util.h

#ifndef _UTIL_H

#include <sys/types.h>
#include <limits.h>

#ifndef PATH_MAX
# define PATH_MAX 4096
#endif

struct string {
    char *s;
    size_t l;
};

int hex2num(char c);
long long hextoll(const char *str);
long atol_calc(const char *str);
off_t rich_seek(int fd, const char *string);

void string_init(struct string *dst, const char *src);
void string_destroy(struct string *string);

#define _UTIL_H
#endif /* _UTIL_H */

Generated by  Doxygen 1.6.0   Back to index