1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef AOCUTILS_H_INCLUDED
#define AOCUTILS_H_INCLUDED
int text2array(int **dst, const char *r);
size_t slurp(char **dst, const char *filename);
int max3(int a, int b, int c);
double fmax3(double a, double b, double c);
long max3l(long a, long b, long c);
int min3(int a, int b, int c);
double fmin3(double a, double b, double c);
long min3l(long a, long b, long c);
#endif
|
|
|
<
|
|
<
<
|
1
2
3
4
5
6
7
8
9
10
|
#ifndef AOCUTILS_H_INCLUDED
#define AOCUTILS_H_INCLUDED
size_t text2array(unsigned **dst, const char *txt);
size_t slurp(char **dst, const char *filename);
unsigned distance(unsigned a, unsigned b);
unsigned max3u(unsigned a, unsigned b, unsigned c);
unsigned min3u(unsigned a, unsigned b, unsigned c);
#endif
|