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

# case\_starts(3)

compare prefixes of strings case-insensitively

## NAME

case\_starts - compare prefixes of strings case-insensitively

## SYNTAX

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

int **case\_starts**(const char\* *a*,const char\* *b*);

## DESCRIPTION

case\_starts returns 1 if *b* is a prefix of *a*, 0 otherwise. For this comparison, 'A' == 'a', 'B' == 'b', ..., 'Z' == 'z'.

## SEE ALSO

[str\_start(3)](/str_start/3.md)
