单词大全strncpystrncpy的中文翻译

strncpy

strncpy是什么意思、strncpy怎么读
读音: 美  英 

strncpy中文翻译

strncpy

strncpy是什么意思

网络 从字符串复制字符; 标识串结束; 按长度的串拷贝; strncpy

用法例句

  • 1.

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

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

  • 2.

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

    函数strncpy(3)还可以用来仅把源字符串的一部分复制到目标中。

  • 3.

    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)都要求您给出剩余的空间,而不是给出缓冲区的总大小。

  • 4.

    The correct way to do this would be to use the strncpy function instead of strcpy , and give the maximum number of bytes to copy as BUFSIZ - 1.

    复制的正确方法是用strncpy函数代替strcpy,并将要复制的最大字节数定为BUFSIZ - 1。

  • 5.

    The function strncpy(3) also doesn't NUL-terminate its destination if the source string is at least as long as the destination; this can cause havoc later.

    如果源字符串至少和目标一样长,那么函数 strncpy(3) 还不会使用 NUL 来结束字符串;这可能会在以后导致严重破坏。

相邻词汇

同音词、形近词、关联词及派生词...
strncpy是什么意思 strncpy怎么读 strncpy在线翻译 strncpy中文意思 strncpy的意思 strncpy的翻译 strncpy的解释 strncpy的发音 strncpy的同义词 strncpy的反义词 strncpy的用法与例句 strncpy的相关词组短语 strncpy意思是什么 strncpy怎么翻译 strncpy的中文翻译 strncpy的意思翻译 strncpy在线翻译查询 英汉词典
单词专题