Subversion Repositories HelenOS

Rev

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

Rev 2479 Rev 2670
Line 41... Line 41...
41
 
41
 
42
static atomic_t printf_futex = FUTEX_INITIALIZER;
42
static atomic_t printf_futex = FUTEX_INITIALIZER;
43
 
43
 
44
static int vprintf_write(const char *str, size_t count, void *unused)
44
static int vprintf_write(const char *str, size_t count, void *unused)
45
{
45
{
46
    return write(1, str, count);
46
    return write_stdout(str, count);
47
}
47
}
48
 
48
 
49
/** Print formatted text.
49
/** Print formatted text.
50
 * @param fmt   format string
50
 * @param fmt   format string
51
 * @param ap    format parameters
51
 * @param ap    format parameters