variable arguments

1999-02-18 Thread Anubhav Hanjura
I was just wondering, how is the case of variable arguments eg. in printf/scanf etc. implemented in linux? Also please suggest any good book on Unix/Linux internals. regds, Anubhav

Re: variable arguments

1999-02-18 Thread Glynn Clements
Anubhav Hanjura wrote: I was just wondering, how is the case of variable arguments eg. in printf/scanf etc. implemented in linux? The function call is compiled in the same way as any other functions, i.e. the function's arguments are pushed onto the stack, from right to left (so

Re: variable arguments

1999-02-18 Thread James
On Thu, 18 Feb 1999, Anubhav Hanjura wrote: # I was just wondering, how is the case of variable arguments eg. in printf/scanf etc. implemented in linux? here's the mail i got when i posted a similar thing to this list... -- +++ Beware of programmers who carry screwdrivers