This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
OS_Project/Part3/09_memory/libc/string.h

18 lines
402 B
C
Raw Normal View History

2023-10-18 18:04:33 +00:00
#ifndef STRINGS_H
#define STRINGS_H
#include "../cpu/types.h"
#include "mem.h"
void int_to_ascii(int n, char str[], int size);
void hex_to_ascii(int n, char str[], int size);
void reverse(char s[]);
int strlen(char s[]);
void backspace(char s[]);
void append(char s[], char n);
int strcmp(char s1[], char s2[]);
int strncmp(char s1[], char s2[], u32 size);
int sstrlen( char s1[], u32 size);
#endif