summaryrefslogtreecommitdiff
path: root/libc/string/bcmp.c
blob: b3bec9034c8ef4be064e98ee20cf26c8f6cfab2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
 * This file is part of the Linux-8086 C library and is distributed
 * under the GNU Library General Public License.
 */
#include <unistd.h>
#include <string.h>
#include <sys/types.h>

int bcmp(const __ptr_t dest, const __ptr_t src, size_t len)
{
	return memcmp(dest, src, len);
}