Subversion Repositories HelenOS

Rev

Rev 4206 | Rev 4209 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4206 Rev 4207
Line 123... Line 123...
123
 *
123
 *
124
 */
124
 */
125
static int printf_putstr(const char *str, printf_spec_t *ps)
125
static int printf_putstr(const char *str, printf_spec_t *ps)
126
{
126
{
127
    if (str == NULL)
127
    if (str == NULL)
128
        return printf_putnchars_utf8(nullstr, strlen(nullstr), ps);
128
        return printf_putnchars_utf8(nullstr, str_size(nullstr), ps);
129
   
129
   
130
    return ps->write_utf8((void *) str, strlen(str), ps->data);
130
    return ps->write_utf8((void *) str, str_size(str), ps->data);
131
}
131
}
132
 
132
 
133
/** Print one ASCII character.
133
/** Print one ASCII character.
134
 *
134
 *
135
 * @param c  ASCII character to be printed.
135
 * @param c  ASCII character to be printed.