#pragma once int hw_interface_write(int fd, const char *ptr, int len); int hw_interface_read(int fd, char *ptr, int len);