Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: a3b22b9f11d9fbc48b0291ea92259a5a810e9438 authored by Linus Torvalds on 18 February 2019, 02:46:40 UTC
Linux 5.0-rc7
Tip revision: a3b22b9
string.c
/*
 * Simple string functions.
 *
 * Copyright (C) 2014 Red Hat Inc.
 *
 * Author:
 *       Vivek Goyal <vgoyal@redhat.com>
 *
 * This source code is licensed under the GNU General Public License,
 * Version 2.  See the file COPYING for more details.
 */

#include <linux/types.h>

#include "../boot/string.c"

void *memcpy(void *dst, const void *src, size_t len)
{
	return __builtin_memcpy(dst, src, len);
}

void *memset(void *dst, int c, size_t len)
{
	return __builtin_memset(dst, c, len);
}
back to top