output.c File Reference

Output functions. More...

#include "io.h"

Functions

unsigned int putc (const char chr)
 Put one char to console.
unsigned int puts (const char *str)
 Put null terminated string to console.
unsigned int printk (const char *format,...)
 Put formated string to the console.
unsigned int printk_unwind (const char *format, void *arguments)
 Put formated string to the console.


Detailed Description

Output functions.


Function Documentation

unsigned int printk ( const char *  format,
  ... 
)

Put formated string to the console.

Parameters:
format - format null terminated format string
... - arguments c for characters, s for strings, d, u, i for integers, x for integers in hexadecimal format, p pointers without modifier for aligning and valid digits.
Returns:
number of written characters

unsigned int printk_unwind ( const char *  format,
void *  arguments 
)

Put formated string to the console.

Parameters:
format - formated null terminated format string
arguments - void pointer to arguments stored in the memory "in the line"
Returns:
number of written characters
!note! this function is used e.g. in debug.c, see function panic

unsigned int putc ( const char  chr  ) 

Put one char to console.

Parameters:
chr - char to put
Returns:
number of written characters

unsigned int puts ( const char *  str  ) 

Put null terminated string to console.

Parameters:
str - pointer to null terminatted string
Returns:
number of written characters


Generated on Wed Nov 15 17:25:44 2006 for Kalisto by  doxygen 1.4.7