summaryrefslogtreecommitdiff
path: root/lib_nios
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-10-25 15:12:54 -0500
committerWolfgang Denk <wd@denx.de>2009-10-27 20:58:25 +0100
commitecc5500ee487170d8af6ff893fd1e0082380a01a (patch)
treeec205cb583ada1338205f8b250e975932e42910a /lib_nios
parentf923943843cd617d681387e7fe81a48060cc6401 (diff)
downloadu-boot-imx-ecc5500ee487170d8af6ff893fd1e0082380a01a.zip
u-boot-imx-ecc5500ee487170d8af6ff893fd1e0082380a01a.tar.gz
u-boot-imx-ecc5500ee487170d8af6ff893fd1e0082380a01a.tar.bz2
readline(): Add ability to modify a string buffer
If the 'buf' parameter is a non-0-length string, its contents will be edited. Previously, the initial contents of 'buf' were ignored and the user entered its contents from scratch. This change is necessary to support the upcoming "editenv" command but could also be used for future commands which require a user to modify an existing string. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib_nios')
0 files changed, 0 insertions, 0 deletions