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__FBSDID("$FreeBSD: head/lib/libc/string/wmemmove.c 86170 2001-11-07 19:55:16Z obrien $"); |
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} |