File: case_starts.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
.TH case_starts 3
.SH NAME
case_starts \- compare prefixes of strings case-insensitively
.SH SYNTAX
.B #include <libowfat/case.h>

int \fBcase_starts\fP(const char* \fIa\fR,const char* \fIb\fR);
.SH DESCRIPTION
case_starts returns 1 if \fIb\fR is a prefix of \fIa\fR, 0 otherwise.
For this comparison, 'A' == 'a', 'B' == 'b', ..., 'Z' == 'z'.
.SH "SEE ALSO"
str_start(3)