💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Vgmi › files › 4826f1a1ecb963669723248d1e750… captured on 2023-11-04 at 12:19:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

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

Go Back

0 /* See LICENSE file for copyright and license details. */

1 #define MAX(X, Y) (X > Y ? Y : X) /* if X is greater than Y return Y */

2 #define STRCMP(X, Y) strncmp(X, Y, sizeof(X))

3 #define STARTWITH(X, Y) !strncmp(X, Y, MAX(sizeof(Y) - 1, sizeof(X)))

4 #define STRNLEN(X) strnlen(X, sizeof(X))

5 #define STRLCPY(X, Y) strlcpy(X, Y, sizeof(X))

6 #ifndef PATH_MAX

7 #define PATH_MAX 1024

8 #endif

9