My Project
Loading...
Searching...
No Matches
C_lib
include_printf
az_memalloc.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
#include <stdlib.h>
12
13
void
*
az_memalloc
(
size_t
size)
14
{
15
void
*tmp;
16
17
tmp = malloc(size);
18
19
if
(tmp == NULL)
20
return
(NULL);
21
22
return
(
az_memset
(tmp, 0, size));
23
}
az_memalloc
void * az_memalloc(size_t size)
Definition
az_memalloc.c:13
az_memset
void * az_memset(void *b, int c, size_t len)
Definition
az_memset.c:12
kernel_pr_he.h
Generated by
1.12.0