---
name: "str_start"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/str_start"
---

# str\_start(3)

compare prefixes of strings

## NAME

str\_start - compare prefixes of strings

## SYNTAX

**#include \<libowfat/str.h\>**

size\_t **str\_start**(const char\* *a*,const char\* *b*);

## DESCRIPTION

str\_start returns 1 if *b* is a prefix of *a*, 0 otherwise.

## SEE ALSO

[strncmp(3)](/strncmp/3.md)
