Deleted Added
full compact
wmemmove.c (77117) wmemmove.c (86170)
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

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

25 *
26 * citrus Id: wmemmove.c,v 1.2 2000/12/20 14:08:31 itojun Exp
27 */
28
29#include <sys/cdefs.h>
30#if defined(LIBC_SCCS) && !defined(lint)
31__RCSID("$NetBSD: wmemmove.c,v 1.1 2000/12/23 23:14:37 itojun Exp $");
32#endif /* LIBC_SCCS and not lint */
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

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

25 *
26 * citrus Id: wmemmove.c,v 1.2 2000/12/20 14:08:31 itojun Exp
27 */
28
29#include <sys/cdefs.h>
30#if defined(LIBC_SCCS) && !defined(lint)
31__RCSID("$NetBSD: wmemmove.c,v 1.1 2000/12/23 23:14:37 itojun Exp $");
32#endif /* LIBC_SCCS and not lint */
33#ifndef lint
34static const char rcsid[] =
35 "$FreeBSD: head/lib/libc/string/wmemmove.c 77117 2001-05-24 08:47:42Z obrien $";
36#endif
33__FBSDID("$FreeBSD: head/lib/libc/string/wmemmove.c 86170 2001-11-07 19:55:16Z obrien $");
37
38#include <assert.h>
39#include <string.h>
40#include <wchar.h>
41
42wchar_t *
43wmemmove(d, s, n)
44 wchar_t *d;
45 const wchar_t *s;
46 size_t n;
47{
48
49 return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
50}
34
35#include <assert.h>
36#include <string.h>
37#include <wchar.h>
38
39wchar_t *
40wmemmove(d, s, n)
41 wchar_t *d;
42 const wchar_t *s;
43 size_t n;
44{
45
46 return (wchar_t *)memmove(d, s, n * sizeof(wchar_t));
47}