---
name: "_memicmp"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/_memicmp"
---

# \_memicmp(3w)

## NAME

**\_memicmp** (NTDLL.@)

## SYNOPSIS

INT \_memicmp\
  (\
   LPCSTR *s1*,\
   LPCSTR *s2*,\
   DWORD  *len*\
  )

## DESCRIPTION

Compare two blocks of memory as strings, ignoring case.

## PARAMS

*s1* **\[In\]**  First string to compare to *s2*.

*s2* **\[In\]**  Second string to compare to *s1*.

*len* **\[In\]**  Number of bytes to compare.

## RETURNS

An integer less than, equal to, or greater than zero indicating that *s1* is less than, equal to or greater than *s2* respectively.

## NOTES

Any Nul characters in *s1* or *s2* are ignored. This function always compares up to *len* bytes or the first place where *s1* and *s2* differ.

## IMPLEMENTATION

Declared in **"windowsx.h"**.

Implemented in **"dlls/ntdll/string.c"**.
