mirror of
https://github.com/AtlasLinux/atlibc.git
synced 2026-02-02 15:23:48 -08:00
16 lines
260 B
C
16 lines
260 B
C
#ifndef ATLIBC_STRING_H
|
|
#define ATLIBC_STRING_H
|
|
|
|
#include <types.h>
|
|
|
|
typedef struct String {
|
|
char* chars;
|
|
size_t len;
|
|
size_t cap;
|
|
} String;
|
|
|
|
void str__create(char* str, size_t size);
|
|
void str__clear(String* str);
|
|
size_t str__len(char* str);
|
|
|
|
#endif |