commit | 06bd5862b18e0b750a709f7f8a1d277f1f6d0c99 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Jul 28 16:27:49 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Jul 28 16:34:38 2017 -0700 |
tree | f6d0db8de8f67383aa97056e6c73fb2c7be1b402 | |
parent | bafa1985eccaac231ade6f15d340759f44928524 [diff] [blame] |
POSIX getlogin_r/LOGIN_NAME_MAX/TTY_NAME_MAX. Bug: N/A Test: ran tests Change-Id: I97c8ecc82fb09c3fa4bb5e6f000d46f04f3d1702
diff --git a/libc/include/limits.h b/libc/include/limits.h index 157f7a6..51f4fad 100644 --- a/libc/include/limits.h +++ b/libc/include/limits.h
@@ -137,6 +137,8 @@ #include <bits/posix_limits.h> #define HOST_NAME_MAX _POSIX_HOST_NAME_MAX +#define LOGIN_NAME_MAX 256 +#define TTY_NAME_MAX 32 #define _POSIX_VERSION 200809L #define _POSIX2_VERSION _POSIX_VERSION