Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
03120aca
Commit
03120aca
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
C Library: Clean-up buffer selections in Kconfig
parent
889ff4b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libc/Kconfig
+12
-3
12 additions, 3 deletions
libc/Kconfig
with
12 additions
and
3 deletions
libc/Kconfig
+
12
−
3
View file @
03120aca
...
...
@@ -6,16 +6,23 @@
comment "Standard C Library Options"
config STDIO_DISABLE_BUFFERING
bool "Disable I
/
O Buffering"
bool "Disable
STD
IO Buffering"
default n
---help---
Tiny systems may need to disable all support for I/O buffering in
order to minimum footprint.
NOTE that even if STDIO buffering is enabled, you can still disable
buffer by setting CONFIG_STDIO_BUFFER_SIZE=0 or dynamically through
the setvbuf() interface. In these case, however, there is no
reduction in code size. Only setting CONFIG_STDIO_DISABLE_BUFFERING
will reduce code size.
if !STDIO_DISABLE_BUFFERING
config STDIO_BUFFER_SIZE
int "
C
STDIO buffer size"
int "STDIO buffer size"
default 64
depends on !STDIO_DISABLE_BUFFERING
---help---
Size of buffers using within the C buffered I/O interfaces (printf,
putchar, fwrite, etc.). This function sets the initial I/O buffer
...
...
@@ -31,6 +38,8 @@ config STDIO_LINEBUFFER
sets the initial default behavior of all streams. The behavior of
an individual stream can be changed via setvbuf().
endif # !STDIO_DISABLE_BUFFERING
config NUNGET_CHARS
int "Number unget() characters"
default 2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment