2019-07-03 12:15:40 +02:00
|
|
|
/**************************************
|
2021-01-02 17:49:15 +01:00
|
|
|
* VulcanOS Kernel *
|
2019-07-03 12:15:40 +02:00
|
|
|
* Developed by Marco 'icebit' Cetica *
|
2021-01-02 17:49:15 +01:00
|
|
|
* (c) 2019-2021 *
|
2019-07-03 12:15:40 +02:00
|
|
|
* Released under GPLv3 *
|
|
|
|
* https://github.com/ice-bit/iceOS *
|
|
|
|
***************************************/
|
|
|
|
#ifndef _STRING_H_
|
|
|
|
#define _STRING_H_
|
|
|
|
|
|
|
|
#include <stdint.h> // For uinx_t
|
|
|
|
#include <stddef.h> // For size_t
|
|
|
|
|
2019-07-03 21:04:05 +02:00
|
|
|
int32_t strcmp(const uint8_t *s1, const uint8_t *s2);
|
|
|
|
uint8_t *itoa(int32_t val, uint8_t *buf, uint32_t radix);
|
|
|
|
uint8_t *uitoa(uint32_t val, uint8_t *buf, uint32_t radix);
|
|
|
|
size_t strlen(const uint8_t *buf);
|
2021-01-03 18:24:55 +01:00
|
|
|
uint8_t *strcpy(uint8_t *dst, const uint8_t *src);
|
2021-01-04 17:54:22 +01:00
|
|
|
void strcat(void *dest, const void *src);
|
2019-07-03 21:04:05 +02:00
|
|
|
void *memset(void *s, uint32_t c, size_t n);
|
2019-07-03 12:15:40 +02:00
|
|
|
void *memmove(void *dst, const void *src, size_t len);
|
2021-01-04 17:54:22 +01:00
|
|
|
void *memcpy(void *dst, void const *src, uint32_t n);
|
2019-07-03 21:04:05 +02:00
|
|
|
void strupper(uint8_t *str);
|
|
|
|
void strlower(uint8_t *str);
|
2019-07-03 12:15:40 +02:00
|
|
|
|
|
|
|
#endif
|