armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
printk

Basic print function. More...

Collaboration diagram for printk:

Files

file  printk.c
 Implementation of printk.
 
file  printk.h
 Definition of printk.
 

Functions

int printk (const char *fmt,...)
 

Detailed Description

Basic print function.

Function Documentation

◆ printk()

int printk ( const char *  fmt,
  ... 
)

Prints a kernel message, like printf.

Parameters
fmtformat string
Returns
  • On success: 0

The formats supported by this implementation are: d, c, s, x. To be supported: u, l, ll.

See also
uart_putc(), itoa()