POSIX: add _SC_TTY_NAME_MAX

Change-Id: Ifa24f68535d7a4a4c5fe3f01e63fe2c87adcc429
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3340
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Jérôme Duval
2020-10-23 07:08:03 +00:00
parent 4cd33fec63
commit d504f219f4
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -135,6 +135,7 @@
#define _SC_REGEXP 62
#define _SC_SYMLOOP_MAX 63
#define _SC_SHELL 64
#define _SC_TTY_NAME_MAX 65
/* confstr() constants */
+2
View File
@@ -87,6 +87,8 @@ __sysconf(int name)
return STREAM_MAX;
case _SC_SYMLOOP_MAX:
return SYMLOOP_MAX;
case _SC_TTY_NAME_MAX:
return TTY_NAME_MAX;
case _SC_TZNAME_MAX:
return TZNAME_MAX;
case _SC_VERSION: