go top

strncpy

网络释义

  按长度的串拷贝

... 块拷贝(目的和源存储区可重叠) memmove 按长度的串拷贝 strncpy 字符串连接函数 串连接 strcat ...

基于218个网页-相关网页

  函数

...和 C++ 中的很多内存处理函数都没有执行边界检查,因而可轻易地超出缓冲区所操作的、已分配的边界。即使是边界函数(如 strncpy()),使用方式不正确也会引发漏洞。对内存的处理加之有关数据段大小和结构方面所存在种种错误假设,是导致大多数 buffer overflo...

基于24个网页-相关网页

  拷贝字符串

...strncpy拷贝字符串)  定义函数:char *strncpy( char *dest, const char *src, size_t n );strncpy()会将参数src字符串拷贝前n个字符至参数dest所指...

基于6个网页-相关网页

双语例句

  • There's also an annoying performance problem with strncpy(3).

    strncpy(3) 存在一个恼人性能问题

    youdao

  • The function strncpy (3) can also be used to copy only a part of the source string into the destination.

    函数strncpy(3)可以用来字符串一部分复制目标中。

    youdao

  • Both strncpy (3) and strncat (3) require that you give the amount of space left, not the total size of the buffer.

    strncpy(3)strncat(3)都要求给出剩余空间而不是给出缓冲区大小

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定