#ifndef KNOB_BLOCK_H #define KNOB_BLOCK_H #include #include void blockcpy(void *to, const void *from, uint32_t size); bool blockequ(const void *a, const void *b, uint32_t size) __attribute__ ((__pure__)); //returns length without null-terminator uint32_t strcpy(char *to, const char *from); //allocates new memory char *strdup(const char *from); #endif