wmemmove.c (5864b79cd2852339f3025ee81769233071d60934) wmemmove.c (de5fe5d53b634e506f94a6df3a9261aa20fa152f)
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$";
36#endif
33__FBSDID("$FreeBSD$");
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}