On 7 April 2015 at 03:30, Hooao wrote: > Hi > I would like using a SERIAL PORT printing some debug message on my hardware > platform, so I need to write a function like "printf". But I don't exactly > know HOW THE GUN COMPILER deal with "parameter uncertainty". Would some guys > help me?? Many THANKS. Maybe you want to look into the <stdarg.h> header, e.g. read 'man stdarg.h'