mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 05:30:20 +00:00
libc/unistd: move NAME_MAX/LINE_MAX/PATH_MAX define to unistd
These options are unistd-specific and should not be filesystem dependent, and also not suitable for define in the sched directory. Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
71a37b4f2d
commit
dedb57cb2d
2 changed files with 22 additions and 22 deletions
|
|
@ -117,3 +117,25 @@ config LIBC_OPEN_MAX
|
|||
---help---
|
||||
The maximum number of files that a process can have open
|
||||
at any time. Must not be less than _POSIX_OPEN_MAX.
|
||||
|
||||
config NAME_MAX
|
||||
int "Maximum size of a file name"
|
||||
default 32
|
||||
---help---
|
||||
The maximum size of a file name.
|
||||
|
||||
config PATH_MAX
|
||||
int "Maximum size of path name"
|
||||
default 256
|
||||
---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.
|
||||
|
|
|
|||
|
|
@ -1400,28 +1400,6 @@ config FILE_STREAM
|
|||
---help---
|
||||
Enable the standard buffered input/output support
|
||||
|
||||
config NAME_MAX
|
||||
int "Maximum size of a file name"
|
||||
default 32
|
||||
---help---
|
||||
The maximum size of a file name.
|
||||
|
||||
config PATH_MAX
|
||||
int "Maximum size of path name"
|
||||
default 256
|
||||
---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…
Add table
Add a link
Reference in a new issue