OpenOCD
remove_char()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
remove_char()
remove_char() function
Removes the char at 'pos'. Returns 1 if the line needs to be refreshed, 2 if not and 0 if nothing was removed
Syntax
from
linenoise.c:1573
static
int
remove_char
(
struct
current
*
current
,
int
pos
)
;
Arguments
current
pos
References
Location
Referrer
Text
linenoise.c:1573
static
int
remove_char
(
struct
current
*
current
,
int
pos
)
linenoise.c:1711
remove_chars()
while
(
n
--
&&
remove_char
(
current
,
pos
)
)
{
linenoise.c:1912
linenoiseEdit()
if
(
remove_char
(
current
,
current
->
pos
-
1
)
==
1
)
{
linenoise.c:1925
linenoiseEdit()
if
(
remove_char
(
current
,
current
->
pos
)
==
1
)
{
linenoise.c:1957
linenoiseEdit()
remove_char
(
current
,
current
->
pos
-
fixer
)
;
linenoise.c:1970
linenoiseEdit()
remove_char
(
current
,
current
->
pos
-
1
)
;
Call Tree
Functions calling
remove_char()
Functions called by
remove_char()
remove_chars()
linenoiseEdit()
all items filtered out
remove_char()
outputChars()
refreshShowHints()
sb_chars()
sb_str()
sb_delete()
all items filtered out
Data read by
remove_char()
Data written by
remove_char()
current::buf
current::pos
current::colsright
current::colsleft
current::output
remove_char()::current
remove_char()::pos
remove_char()::offset
remove_char()::nbytes
remove_char()::rc
remove_char()::last
all items filtered out
remove_char()
current::pos
current::colsright
current::colsleft
remove_char()::rc
all items filtered out