c-md/srcs/utils/string/starts_with.c.md
lohhiiccc 80f7a1b9b6 feat(build): add build instructions in README and convert sources to .c.md format
- Add detailed build and bootstrap instructions to README.md.
 - Convert all source and header files from .c/.h to .c.md/.h.md.
 - Add bootstrap.sh script for automated building across version history.
 - Update Makefile and sources.mk to reflect new markdown-based source organization.
2026-01-12 14:54:49 +01:00

15 lines
230 B
Markdown

```c
#include <string.h>
#include <stdint.h>
#include "utils.h"
int8_t
starts_with(const char *str, const char *prefix)
{
size_t prefix_len;
prefix_len = strlen(prefix);
return (0 == strncmp(str, prefix, prefix_len));
}
```