Home
last modified time | relevance | path

Searched hist:"046 a37bd53f479915bcd5041e0834dad576371a2" (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/include/
H A Dvsprintf.h046a37bd53f479915bcd5041e0834dad576371a2 Wed Nov 02 04:52:08 CDT 2011 Sonny Rao <sonnyrao@chromium.org> Add safe vsnprintf and snprintf library functions

From: Sonny Rao <sonnyrao@chromium.org>

These functions are useful in U-Boot because they allow a graceful failure
rather than an unpredictable stack overflow when printf() buffers are
exceeded.

Mostly copied from the Linux kernel. I copied vscnprintf and
scnprintf so we can change printf and vprintf to use the safe
implementation but still return the correct values.

(Simon Glass <sjg@chromium.org> modified this commit a little)

Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
/openbmc/u-boot/lib/
H A Dvsprintf.c046a37bd53f479915bcd5041e0834dad576371a2 Wed Nov 02 04:52:08 CDT 2011 Sonny Rao <sonnyrao@chromium.org> Add safe vsnprintf and snprintf library functions

From: Sonny Rao <sonnyrao@chromium.org>

These functions are useful in U-Boot because they allow a graceful failure
rather than an unpredictable stack overflow when printf() buffers are
exceeded.

Mostly copied from the Linux kernel. I copied vscnprintf and
scnprintf so we can change printf and vprintf to use the safe
implementation but still return the correct values.

(Simon Glass <sjg@chromium.org> modified this commit a little)

Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
/openbmc/u-boot/
H A DREADME046a37bd53f479915bcd5041e0834dad576371a2 Wed Nov 02 04:52:08 CDT 2011 Sonny Rao <sonnyrao@chromium.org> Add safe vsnprintf and snprintf library functions

From: Sonny Rao <sonnyrao@chromium.org>

These functions are useful in U-Boot because they allow a graceful failure
rather than an unpredictable stack overflow when printf() buffers are
exceeded.

Mostly copied from the Linux kernel. I copied vscnprintf and
scnprintf so we can change printf and vprintf to use the safe
implementation but still return the correct values.

(Simon Glass <sjg@chromium.org> modified this commit a little)

Signed-off-by: Sonny Rao <sonnyrao@chromium.org>