Skip to content

Commit 3a98ffa

Browse files
committed
limits.h: Add _XOPEN_NAME_MAX and _XOPEN_PATH_MAX values
These have fixed values in the POSIX spec. Signed-off-by: Keith Packard <[email protected]>
1 parent c0c3f83 commit 3a98ffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

newlib/libc/include/sys/syslimits.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101

102102
#ifdef _XOPEN_SOURCE
103103
#define _XOPEN_IOV_MAX 16
104+
#define _XOPEN_NAME_MAX 255
105+
#define _XOPEN_PATH_MAX 1024
104106
#endif
105107

106108
#if __MISC_VISIBLE

0 commit comments

Comments
 (0)