File: c_strncasecmp.c

package info (click to toggle)
aces3 3.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 82,460 kB
  • sloc: fortran: 225,647; ansic: 20,413; cpp: 4,349; makefile: 953; sh: 137
file content (18 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/*
 * This routine compares two strings up to len bytes ignoring case.
 */

#include <strings.h>

#include "f_types.h"

f_int c_strncasecmp (const char * s1, const char * s2, f_int * len)
{ return (f_int)strncasecmp(s1,s2,(size_t)*len); }

f_int c_strncasecmp_(const char * s1, const char * s2, f_int * len)
{ return (f_int)strncasecmp(s1,s2,(size_t)*len); }

f_int C_STRNCASECMP (const char * s1, const char * s2, f_int * len)
{ return (f_int)strncasecmp(s1,s2,(size_t)*len); }