A macro that sets errno
#include <qh/error.h>
#define QH_SET_ERRNO(errno)
Because what is passed in to the macro is only evaluated once, it is safe to execute operations as part of calling the macro.