[Settings] show_setting() functions return snprintf()-style length.
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Mar 2008 00:48:23 +0000 (00:48 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 18 Mar 2008 00:48:23 +0000 (00:48 +0000)
commit5a08b434c7ddecb9cab0f8aedd9db679ca35395c
tree661b193f21aeaf89aafaf8d92d28ae39444f85aa
parent08b19abf94dacc85db18e75b91f29adcb7a33e93
[Settings] show_setting() functions return snprintf()-style length.

show_setting() and related functions now return an "actual length" in the
style of snprintf().  This is to allow consumers to allocate buffers large
enough to hold the formatted setting.
src/core/settings.c
src/hci/commands/nvo_cmd.c
src/hci/tui/settings_ui.c
src/include/gpxe/settings.h