My Project
Loading...
Searching...
No Matches
az_putunsigned.c
Go to the documentation of this file.
1// kernel_lib_printf_functions
2/*
3 * Kernel Lib Printf Functions
4 *
5 * Maintainer: Park Jiwoo
6 *
7 * Copyright (C) 2024 Park-Jiwoo
8 *
9 */
10#include "kernel_pr_he.h"
11
12void az_putunsigned(unsigned int n)
13{
14 if (n > 9)
15 {
16 az_putunsigned(n / 10);
17 az_putunsigned(n % 10);
18 }
19 else
20 kernel_putchar(n + '0');
21}
void kernel_putchar(char c)
Definition az_putchar.c:13
void az_putunsigned(unsigned int n)