File: memcmp4.c

package info (click to toggle)
libffi-platypus-perl 2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,860 kB
  • sloc: perl: 7,388; ansic: 6,862; cpp: 53; sh: 19; makefile: 14
file content (10 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#include "libtest.h"

EXTERN int
memcmp4(void *buf1, size_t n1, void *buf2, size_t n2)
{
  if (n1 != n2)
    return 1;

  return memcmp(buf1, buf2, n1);
}