From 6d93c1eb921d92c0331689ff937bf22eda8603af Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 10 Jul 2023 10:45:05 +0300 Subject: [PATCH] LibC: add NAME_MAX to limits.h This is defined to 255 which is _XOPEN_NAME_MAX, smallest value for XOPEN compliance --- libc/include/limits.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/include/limits.h b/libc/include/limits.h index bb6c9b72..98307aa6 100644 --- a/libc/include/limits.h +++ b/libc/include/limits.h @@ -12,6 +12,7 @@ __BEGIN_DECLS // and posix constants #define OPEN_MAX 64 +#define NAME_MAX 255 __END_DECLS