Subversion Repositories HelenOS-historic

Rev

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

Rev 1157 Rev 1166
Line 32... Line 32...
32
static char digits[] = "0123456789abcdef";  /**< Hexadecimal characters */
32
static char digits[] = "0123456789abcdef";  /**< Hexadecimal characters */
33
 
33
 
34
 
34
 
35
void puts(const char *str)
35
void puts(const char *str)
36
{
36
{
37
    int len = 0;
37
    long len = 0;
38
   
38
   
39
    while (str[len] != 0)
39
    while (str[len] != 0)
40
        len++;
40
        len++;
41
   
41
   
42
    ofw_write(str, len);
42
    ofw_write(str, len);
Line 143... Line 143...
143
 *
143
 *
144
 * @param fmt Formatting NULL terminated string.
144
 * @param fmt Formatting NULL terminated string.
145
 */
145
 */
146
void printf(const char *fmt, ...)
146
void printf(const char *fmt, ...)
147
{
147
{
148
    int i = 0;
148
    long i = 0;
149
    va_list ap;
149
    va_list ap;
150
    char c;
150
    char c;
151
   
151
   
152
    va_start(ap, fmt);
152
    va_start(ap, fmt);
153
   
153