RE: where is the printf source for busybox?

2014-03-13 Thread Kim Chan
Cc : Mohan L , kernelnewbies@kernelnewbies.org Subject : Re: where is the printf source for busybox? Hi, On Tue, Mar 11, 2014 at 11:55 PM, Kim Chan mailto:c...@etri.re.kr>> wrote: Wow, that was it. I'm happy to hear that because I thought it should end up with a system call anyway.

Re: where is the printf source for busybox?

2014-03-12 Thread Dave Hylands
Hi, On Tue, Mar 11, 2014 at 11:55 PM, Kim Chan wrote: > > Wow, that was it. I'm happy to hear that because I thought it should end > up with a system call anyway. > Then isn't there some codes making the system call? Or is it that the > compiler understands that 'write' is a system call and ins

RE: where is the printf source for busybox?

2014-03-12 Thread Kim Chan
tself? Thanks in adv. Chan From : "Mohan L" Sent : 2014-03-12 15:31:24 ( +09:00 ) To : Kim Chan Cc : Dave Hylands , kernelnewbies@kernelnewbies.org Subject : Re: where is the printf source for busybox? ssize_t attribute_hidden _cs_write(void *c

Re: where is the printf source for busybox?

2014-03-11 Thread Mohan L
> ssize_t attribute_hidden _cs_write(void *cookie, const char *buf, size_t > bufsize) > { > return write(*((int *) cookie), (char *) buf, bufsize); > } > what does cs stand for here? (Hm.. seems like custom streams..in the > code) and I couldn't follow past write above. Where is the functi

RE: where is the printf source for busybox?

2014-03-11 Thread Kim Chan
ase correct me. Thanks and regards, Chan From : "Dave Hylands" Sent : 2014-03-12 13:39:11 ( +09:00 ) To : Kim Chan Cc : kernelnewbies@kernelnewbies.org Subject : Re: where is the printf source for busybox? Hi, On Tue, Mar 11, 2014 at 6:44 PM, Kim Chan mailto:c...@etri.re.kr>&g

Re: where is the printf source for busybox?

2014-03-11 Thread Mohan L
On Wed, Mar 12, 2014 at 10:09 AM, Dave Hylands wrote: > Hi, > > > On Tue, Mar 11, 2014 at 6:44 PM, Kim Chan 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

Re: where is the printf source for busybox?

2014-03-11 Thread Dave Hylands
Hi, On Tue, Mar 11, 2014 at 6:44 PM, Kim Chan 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 t

RE: where is the printf source for busybox?

2014-03-11 Thread Kim Chan
Hi, Mohan, Thanks! so the printf is name chagned to _printf by the compiler. I missed that. Chan From : "Mohan L" Sent : 2014-03-12 11:07:45 ( +09:00 ) To : Kim Chan Cc : kernelnewbies@kernelnewbies.org Subject : Re: where is the printf source f

Re: where is the printf source for busybox?

2014-03-11 Thread Mohan L
On Wed, Mar 12, 2014 at 7:14 AM, Kim Chan 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 t