diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-16 20:20:29 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2021-04-16 20:20:29 +0200 |
| commit | 1e397041c255581b68dc4ba240b3267fd3d0dc8f (patch) | |
| tree | 757467f9ac0d998963ee5d80560205286b482acb /src/libc | |
| parent | 93c2975ea8096a391a242299e119c31844b8fcbf (diff) | |
Cleaning code
Diffstat (limited to 'src/libc')
| -rw-r--r-- | src/libc/math.h | 1 | ||||
| -rw-r--r-- | src/libc/stdio.h | 11 | ||||
| -rw-r--r-- | src/libc/string.h | 3 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/libc/math.h b/src/libc/math.h index 9f9bd58..4cc37a9 100644 --- a/src/libc/math.h +++ b/src/libc/math.h @@ -5,4 +5,5 @@ int pow(int x,int n); int max(int x,int y); int min(int x,int y); int abs(int x); + #endif
\ No newline at end of file diff --git a/src/libc/stdio.h b/src/libc/stdio.h index e2a35ad..d4bd6b6 100644 --- a/src/libc/stdio.h +++ b/src/libc/stdio.h @@ -3,8 +3,19 @@ #include "drivers/framebuffer.h" +/** + * Print a char* in the framebuffer + */ void print(char*); + +/** + * Print a char in the framebuffer + */ void printc(char*,VIDEO_COLORS c); + +/** + * Print an integer using itoa() + */ void printi(int i); #endif
\ No newline at end of file diff --git a/src/libc/string.h b/src/libc/string.h index 82106b2..c3d3614 100644 --- a/src/libc/string.h +++ b/src/libc/string.h @@ -1,6 +1,9 @@ #ifndef STRING_H #define STRING_H +/** + * Convert int to char + */ void itoa(int i, char *a); #endif
\ No newline at end of file |
