C Programming/wchar.h/wcscpy

From Wikibooks, open books for an open world
Jump to navigation Jump to search

In C Programming language , functions wcsncmp() , wcscat() , labs , mempcpy are used. Function wcscpy ,is similar to strcpy() .strcpy() is used to copy strings whereas wcscpy() is used to handle wide strings for copying. It copies the wide-character string pointed to by src,including the terminating L'\0' character, to the array pointed to by dest.