File: firestring_strcasecmp.3

package info (click to toggle)
firedns 0.9.12-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 322
  • sloc: ansic: 4,026; sh: 964; makefile: 6
file content (30 lines) | stat: -rw-r--r-- 616 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.\" (C) 2002 Ian Gulliver
.TH firestring_strcasecmp 3 2002-03-31
.SH NAME
firestring_strcasecmp \-
.BR strcasecmp (3)
provided as a replacement so programs can maintain ANSI C compliance
.SH SYNOPSIS
.B #include <firestring.h>
.br
.B -lfirestring
.LP
.BI "int firestring_strcasecmp(const char * const " "s1" ", const char * const " "s2" ")"
.SH DESCRIPTION
firestring_strcasecmp() compares
.I s1
and
.I s2
in a case insensitive fashion.
.SH RETURN VALUE
Returns
.I -1
if s1 < s2,
.I 1
if s1 > s2, and and
.I 0
if the strings match.
.SH AUTHOR
Ian Gulliver <ian@penguinhosting.net>
.SH SEE ALSO
.BR libfirestring (3)