feat: added cross compiler and moved headers to include dir
This commit is contained in:
25
include/libc/libc.h
Normal file
25
include/libc/libc.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* libc.h
|
||||
*
|
||||
* Created on: Oct 11, 2018
|
||||
* Author: rick
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_LIBC_LIBC_H_
|
||||
#define KERNEL_LIBC_LIBC_H_
|
||||
|
||||
#include <types.h>
|
||||
|
||||
int memcpy(uint8_t *dst, const uint8_t *src, int amount);
|
||||
|
||||
int memset(uint8_t *dst, char data, int amount);
|
||||
|
||||
char *itoa(int value, char *buffer, int base);
|
||||
|
||||
int abs(int val);
|
||||
|
||||
int maxi(int a, int b);
|
||||
|
||||
int mini(int a, int b);
|
||||
|
||||
#endif /* KERNEL_LIBC_LIBC_H_ */
|
||||
Reference in New Issue
Block a user