ESP-IDF
history_max_len
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
history_max_len
history_max_len variable
Syntax
Show:
Summary
Declaration
from
linenoise.c:141
static
int
history_max_len
=
LINENOISE_DEFAULT_HISTORY_MAX_LEN
;
Examples
References
from
examples
Code
Location
Referrer
static
int
history_max_len
=
LINENOISE_DEFAULT_HISTORY_MAX_LEN
;
linenoise.c:141
if
(
history_max_len
==
0
)
return
0
;
linenoise.c:1229
linenoiseHistoryAdd()
history
=
malloc
(
sizeof
(
char
*
)
*
history_max_len
)
;
linenoise.c:1233
linenoiseHistoryAdd()
memset
(
history
,
0
,
(
sizeof
(
char
*
)
*
history_max_len
)
)
;
linenoise.c:1235
linenoiseHistoryAdd()
if
(
history_len
==
history_max_len
)
{
linenoise.c:1245
linenoiseHistoryAdd()
memmove
(
history
,
history
+
1
,
sizeof
(
char
*
)
*
(
history_max_len
-
1
)
)
;
linenoise.c:1247
linenoiseHistoryAdd()
history_max_len
=
len
;
linenoise.c:1281
linenoiseHistorySetMaxLen()
if
(
history_len
>
history_max_len
)
linenoise.c:1282
linenoiseHistorySetMaxLen()
history_len
=
history_max_len
;
linenoise.c:1283
linenoiseHistorySetMaxLen()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
history_max_len
is written by 1 function and is read by 2 functions:
linenoiseHistorySetMaxLen()
All items filtered out
history_max_len
linenoiseHistoryAdd()
linenoiseHistorySetMaxLen()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out