Add LINE_MAX configuration
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
parent
c6c89ac262
commit
f8377f8666
2 changed files with 11 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
|||
#define _POSIX_PIPE_BUF 512
|
||||
#define _POSIX_STREAM_MAX 16
|
||||
#define _POSIX_TZNAME_MAX 3
|
||||
#define _POSIX2_LINE_MAX 80
|
||||
#define _POSIX2_LINE_MAX CONFIG_LINE_MAX
|
||||
|
||||
#ifdef CONFIG_SMALL_MEMORY
|
||||
|
||||
|
|
|
@ -1412,6 +1412,16 @@ config PATH_MAX
|
|||
---help---
|
||||
The maximum size of path name.
|
||||
|
||||
config LINE_MAX
|
||||
int "Maximum size of line"
|
||||
default 64 if DEFAULT_SMALL
|
||||
default 80 if !DEFAULT_SMALL
|
||||
---help---
|
||||
The maximum size of line. Unless otherwise noted, the maximum length, in bytes,
|
||||
of a utility's input line (either standard input or another file), when the
|
||||
utility is described as processing text files. The length includes room for
|
||||
the trailing newline.
|
||||
|
||||
endmenu # Files and I/O
|
||||
|
||||
menuconfig PRIORITY_INHERITANCE
|
||||
|
|
Loading…
Reference in a new issue