File: firestring_strncasecmp.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 (34 lines) | stat: -rw-r--r-- 711 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
31
32
33
34
.\" (C) 2002 Ian Gulliver
.TH firestring_strncasecmp 3 2003-05-15
.SH NAME
firestring_strncasecmp \-
.BR strncasecmp (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_strncasecmp(const char * const " "s1" ", const char * const " "s2" ", const long " "n" ")"
.SH DESCRIPTION
firestring_strcasecmp() compares the first
.I size
bytes of
.I s1
and
.I s2
in a case insensitive fashion.
.SH RETURN VALUE
Returns
.I -1
if the first
.I n
bytes of s1 < s2,
.I 1
if the s2 segment > s1, and
.I 0
if the strings segments do match.
.SH AUTHOR
Ian Gulliver <ian@penguinhosting.net>
.SH SEE ALSO
.BR libfirestring (3)