This repository has been archived on 2024-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
probotic/include/utils.h
2023-08-02 09:09:34 -06:00

11 lines
218 B
C

#ifndef UTILS_H_
#include <stdio.h>
#define ERR(ret,msg) do { fputs(msg "\n", stderr); return (ret); } while (0)
#define ERRMSG(msg) fputs(msg "\n", stderr)
#define PERROR(name) perror(name)
#define UTILS_H_
#endif