(转)wcsncpy详解
来源:互联网 发布:面板数据的主成分分析 编辑:程序博客网 时间:2024/05/22 08:12
wcsncpy()
Copy a wide-character string, to a maximum length
Synopsis:
#include <wchar.h>wchar_t * wcsncpy( wchar_t * ws1, const char * ws2, size_t n );
Arguments:
- ws1
- A pointer to where you want to copy the wide-character string.
- ws2
- The wide-character string that you want to copy.
- n
- The maximum number of wide characters that you want to copy.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The wcsncpy() function copies the string pointed to by ws2, including the terminating NULwide character, into the array pointed to by ws1, to a maximum of n wide characters. It addsNUL characters if ws2 has fewer than n characters but doesn't add a NUL if ws2 has more.
- (转)wcsncpy详解
- 很郁闷的wcsncpy
- 【水晶玻璃鞋 2】 strncpy, wcsncpy
- sizeof _countof wcslen wcscpy wcsncpy
- CMainFrame::OnClose()函数中不能调用wcsncpy()函数,不然会造成内存访问出错
- linux64位系统中g++4.4.7下使用wcsncpy函数有造成段错误的BUG(其他g++版本未知)
- classpath详解(转)
- JAVASession详解(转)
- CListCtrl详解(转)
- session详解(转)
- session详解(转)
- AVI详解(转)
- Session详解(转)
- crond详解(转)
- mbr详解(转)
- (转)framebuffer详解
- 详解link(转)
- Make详解(转)
- ARP攻击原理及解决方法
- ORACLE PROFILE文件管理
- 1
- fck与smarty的结合使用
- 数据库获取前n条记录/分页
- (转)wcsncpy详解
- Linux libcurl使用(一)
- 一些比较生僻的 RPM 命令
- 排序算法(一)——快速排序
- java获取ResultSet的行数列数
- 有没有需要免费图库的,做数字图像处理必备的
- h264_aac合成flv的个人经验之谈
- Discuz!NT数据访问层分析
- 使用mysqli一次执行多条SQL语句