Belle II Software
release-05-01-25
util.h
1
/* util.h */
2
3
4
#ifndef UTIL_H
5
#define UTIL_H
6
7
#include <stdio.h>
8
#include <errno.h>
9
10
#define ERROR(func) { fprintf(stderr, "[ERROR] %s:%d: "#func"(): %s\n", __FILE__, __LINE__, strerror(errno));}
11
12
extern
void
dump_binary(FILE* fp,
const
void
* ptr,
const
size_t
size);
13
14
15
#endif
/* UTIL_H */
16
daq
roisend
include
util.h
Generated on Fri Nov 5 2021 03:49:49 for Belle II Software by
1.8.17