where is the printf source for busybox?

Dave Hylands dhylands at gmail.com
Wed Mar 12 00:39:08 EDT 2014


Hi,

On Tue, Mar 11, 2014 at 6:44 PM, Kim Chan <ckim at etri.re.kr> wrote:
>
>
> Hi,
> I've had this question for some time past and I would like to know the
answer now..
> I wanted to follow a printf in busybox but couldn't find the source of
the printf function.
> Then I throught probably the printf is provided by the system library
where printf is connected to proper linux system call. (Is it printk?)

busybox is typically built using uclibc, which is here:
http://www.uclibc.org/

The printf source code within uclibc is here:
http://git.uclibc.org/uClibc/tree/libc/stdio/printf.c

It eveentually winds up in _vfprintf here:
http://git.uclibc.org/uClibc/tree/libc/stdio/_vfprintf.c

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140311/afa9ec8d/attachment.html 


More information about the Kernelnewbies mailing list