Deleted Added
full compact
wmemmove.c (103724) wmemmove.c (188080)
1/*-
2 * Copyright (c)1999 Citrus Project,
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27 */
28
29#include <sys/cdefs.h>
30#if 0
31#if defined(LIBC_SCCS) && !defined(lint)
32__RCSID("$NetBSD: wmemmove.c,v 1.1 2000/12/23 23:14:37 itojun Exp $");
33#endif /* LIBC_SCCS and not lint */
34#endif
1/*-
2 * Copyright (c)1999 Citrus Project,
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 18 unchanged lines hidden (view full) ---

27 */
28
29#include <sys/cdefs.h>
30#if 0
31#if defined(LIBC_SCCS) && !defined(lint)
32__RCSID("$NetBSD: wmemmove.c,v 1.1 2000/12/23 23:14:37 itojun Exp $");
33#endif /* LIBC_SCCS and not lint */
34#endif
35__FBSDID("$FreeBSD: head/lib/libc/string/wmemmove.c 103724 2002-09-21 00:29:23Z tjr $");
35__FBSDID("$FreeBSD: head/lib/libc/string/wmemmove.c 188080 2009-02-03 17:58:20Z danger $");
36
37#include <string.h>
38#include <wchar.h>
39
40wchar_t *
36
37#include <string.h>
38#include <wchar.h>
39
40wchar_t *
41wmemmove(d, s, n)
42 wchar_t *d;
43 const wchar_t *s;
44 size_t n;
41wmemmove(wchar_t *d, const wchar_t *s, size_t n)
45{
42{
46
47 return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
48}
43 return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
44}