• These functions include strcpy(3), strcat(3), sprintf(3) (with cousin vsprintf(3)), and gets(3).

    这些函数包括strcpy(3)、strcat(3)、sprintf(3) (及其同类vsprintf(3) )gets(3) 。

    youdao

  • The strcpy function can be implemented using the "s" and "d" constraints in the following manner.

    strcpy函数可以通过以下方式使用sD约束实现

    youdao

  • You also have to use the memalign function and strcpy to copy the data into an area of appropriate alignment.

    另外,还需要使用memalign函数strcpy数据复制合适对齐区域

    youdao

  • 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

    youdao

  • This means that switching from strcpy (3) to strncpy (3) can reduce performanceoften not a serious problem on today's computers, but it can still be a nuisance.

    意味着strcpy(3)切换strncpy(3)降低性能——这如今计算机上通常不是一个严重问题仍然有害的。

    youdao

  • Memcpy joins the ranks of other popular functions like strcpy, strncpy, strcat, strncat which were banned due to their security vulnerability through buffer overruns.

    memcpy加入strcpy,strncpy,strcat,strncat常用函数队伍中,都是由于通过缓存溢出进行安全攻击而被禁用

    youdao

  • The function loads the file data using a single call to fread , copying the data into a separate structure, before using a strcpy to move the data from the loaded string to the global string.

    函数通过调用fread装载文件数据,把数据复制一个结构中,然后使用strcpy数据装载字符串转移全局字符串中。

    youdao

  • Listing 1 does not validate user-supplied data when copying it to the buffer member of the previously allocated struct mystruct using the strcpy function, resulting in a heap-based buffer overflow.

    使用strcpy函数用户提供数据复制先前分配struct mystruct的buffer成员中时,清单1验证用户提供的数据,造成堆中缓冲区溢出。

    youdao

  • Listing 1 does not validate user-supplied data when copying it to the buffer member of the previously allocated struct mystruct using the strcpy function, resulting in a heap-based buffer overflow.

    使用strcpy函数用户提供数据复制先前分配struct mystruct的buffer成员中时,清单1验证用户提供的数据,造成堆中缓冲区溢出。

    youdao

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

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

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