Hi Ben,
    Thanks for the information.

    I have searched exhaustively with no luck for the location of stdargs.h
directory.  I don;t find it anywhere in any of code warrior directories.

    For your information i use Codewarrior lite, downloaded from palm site.

    If you could let me know the location/download site  of the headers it
would be immensely helpful.

Thanks
mak
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:53917@palm-dev-forum...
>
> "Makheshwar Babu" <[EMAIL PROTECTED]> wrote in message
> news:53916@palm-dev-forum...
> >
> > Hi,
> >     Does palm support multiple parameters in a function?  If so how do
> we
> > implement it?
> >
> >     printf () function can take multiple parameters in it?  i would
> like to
> > have a function similar to that.
>
> It is an issue of the compiler, not the OS.  You can use standard C
> procedures for doing variable argument functions.  Declare the function
> using "...", then dereference using the macros defined in the <stdarg.h>
> header.  If you're using CodeWarrior, you need to add {Compiler}/MSL to
> your system access paths to get access to the standard headers.
>
> There are also definitions for these in unix_stdarg.h in the Palm OS
> SDK.  These will also work and don't require changing access paths.
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to