Documentation in kprintf
This commit is contained in:
parent
f5a32db7a3
commit
ee6c75d905
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@ int stdout_puts(char *s, int len, void *unused) {
|
|||
return len;
|
||||
}
|
||||
|
||||
/*
|
||||
* %% - print '%'
|
||||
* %c - character
|
||||
* %s - string
|
||||
* %d, %u - decimal integer
|
||||
* %x, %X - hex integer
|
||||
*/
|
||||
int kprintf(const char *restrict fmt, ...) {
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
|
|
Loading…
Add table
Reference in a new issue