| 31 | == unsigned int '''snprintf'''( char* string , unsigned int maxlen , char* format , va_list* args ) == |
| 32 | This function can be directly used by an application to build a formated string. |
| 33 | It is also used the ''giet_tty_printf()'' and ''giet_fat_printf()'' system calls. |
| 34 | It analyse the <format> and <args> arguments and returns a byte stream |
| 35 | in the <stream> buffer. The TO_STREAM macro checks buffer overflow. |
| 36 | It returns number of written bytes in case of success. |
| 37 | It returns 0xFFFFFFFF in case of error (illegal format, or buffer overflow). |