|
|
0bd2ce |
/*******************************************************************/
|
|
|
0bd2ce |
/* u16ports: u16 variants of wide character string functions. */
|
|
|
0bd2ce |
/* Copyright (C) 2017 Z. Gilboa */
|
|
|
0bd2ce |
/* Released under the Standard MIT License; see COPYING.U16PORTS. */
|
|
|
0bd2ce |
/*******************************************************************/
|
|
|
0bd2ce |
|
|
|
0bd2ce |
#include <stdint.h>
|
|
|
0bd2ce |
#include <u16ports/u16ports.h>
|
|
|
0bd2ce |
|
|
|
0bd2ce |
uint16_t * u16_wcpcpy(uint16_t * dst, const uint16_t * src)
|
|
|
0bd2ce |
{
|
|
|
0bd2ce |
for (; *src; )
|
|
|
0bd2ce |
*dst++ = *src++;
|
|
|
0bd2ce |
|
|
|
0bd2ce |
*dst = 0;
|
|
|
0bd2ce |
|
|
|
0bd2ce |
return dst;
|
|
|
0bd2ce |
}
|