💾 Archived View for gemini.rmf-dev.com › repo › Vaati › gmi_proxy › files › fb329d4ee07e4a9314ac3f52… captured on 2023-04-19 at 23:46:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

0 #define bool unsigned char

1 #define true 1

2 #define false 0

3 #define SIZEOF(X) (sizeof(X) / sizeof(*X))

4 #define STRCPY(X, Y) strlcpy(X, Y, sizeof(X))

5 #define PZERO(X) memset(X, 0, sizeof(*X))

6 #define RZERO(X) memset(&X, 0, sizeof(X))

7 #define ERRNO_IF_NULL(X) (X ? X : strerror(errno))

8 #define STRSIZE(X) X, sizeof(X)

9 #define MAX(X, Y) ((X) > (Y) ? (Y) : (X))

10