词典宝
更多
查询
1 词典释义:
nul
时间: 2025-03-20 05:17:15

双语例句
  • This also doesn't copy a NUL character, which can be problem too.

    这个函数也不会复制 NUL 字符,这可能也是一个问题。

  • In addition, don't allow NUL characters through at all; some shells don't handle it well as command input.

    另外,不要允许存在NUL字符;有些shell不会将其作为命令输入进行处理。

  • One way to think of it is that the list of delimiters always includes the NUL '\0' at the end of the delimiter string.

    认为这一方式是分隔符的列表总是包含NUL'\0'分隔符字符串的结束。

  • Lire, a literary magazine, charitably called it "not completely nul", while le Monde said it was his "most accomplished" work so far.

    《读书》(Lire),一本文学杂志,慷慨地称之为“不完全是一部废品”,《世界》(Le Monde)却说这是作者到目前为止“最为杰出”的作品。

  • The strlcat function appends the NUL-terminated string SRC to the end of DST (but no more than size-1 characters will be in the destination).

    strlcat函数把以NUL结尾的字符串src附加到dst的结尾(但是目标中的字符数目将不超过size - 1)。

  • So, if a string with an embedded NUL character is passed to a library using a C convention, the string will suddenly be "chopped off" at that first NUL.

    因此,如果一个内嵌 NUL 字符的字符串被传递给使用 C 约定的库,那么这个字符串就会突然被从第一个 NUL 处截断了。

  • The proper, portable technique is to use find -print0, combined with xargs -0, to delimit file names with the NUL character. Here's the favored approach.

    一种适当的、可移植的技术是使用find - print0,加上xargs - 0,以便使用NUL字符对文件名进行划分。

  • 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 来结束字符串;这可能会在以后导致严重破坏。

  • For example, it's often difficult to put an ASCII 0 (NUL) character into a buffer, and the article shows how attackers can normally get around this problem.

    例如,将一个ASCII 0字符压入缓冲区通常是很困难的,而该文介绍了攻击者一般如何能够解决这个问题。

  • Also, both functions guarantee that the destination will be NUL-terminated as long as the size is at least one (you can't put anything into a zero-length buffer).

    此外,只要目标的大小至少为1,两个函数都保证目标将以NUL结尾(您不能将任何内容放入零长度的缓冲区)。

  • Normal control characters (characters with values less than 32) : This especially includes character 0, traditionally called NUL; I call it NIL to distinguish it from c's NULL pointer.

    常规控制字符(字符值小于32):还特别包括字符0,传统上称做NUL;我把它称为NIL以区别于c语言中的NULL指针。

相关推荐