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

  • 其他单词翻译

    英文单词 中文含义
    barmaids

    n. 酒吧女招待( barmaid的名词复数 )

    网络解释

    酒吧女招待;女调酒师;酒吧招待

    barnyards

    n. 仓院(农场仓房围着的空地)( barnyard的名词复数 )

    网络解释

    疯狂农庄;疯狂农场;畜棚场

    baronesses

    n. 女男爵( baroness的名词复数 );男爵夫人[寡妇]

    网络解释

    女男爵;女性男爵;女爵

    baronets

    n. 准男爵( baronet的名词复数 )

    网络解释

    让内特斯;授封的准男爵

    barrelhouses

    n. <美>旧指廉价小酒馆,(一种早期胡敲乱奏的)爵士乐( barrelhouse的名词复数 )

    网络解释

    廉价小酒馆;小酒店

    barrelledbarreled

    网络解释

    桶装的

    barrellingbarreling

    网络解释

    桶装,桶装

    barrelsful

    n. 一桶之量,大量( barrelful的名词复数 )

    bartended

    v. <美口>(尤指从业)当酒吧侍者,在酒吧掌柜( bartend的过去式和过去分词 )

    网络解释

    以物交换的

    bartenders

    n. 酒吧间销售酒精饮料的人,酒吧间男招待( bartender的名词复数 )

    网络解释

    招待员

    basketfuls

    n. 一满篮,一满筐( basketful的名词复数 )

    bartending

    v. <美口>(尤指从业)当酒吧侍者,在酒吧掌柜( bartend的现在分词 )

    网络解释

    调酒;专业吧台调酒师;调酒特长

    batons

    n. (警察武器)警棍( baton的名词复数 );(乐队指挥用的)指挥棒;接力棒

    网络解释

    警棍类;伸缩棍;汽水

    bassists

    n. 低音歌手,低音乐器的演奏者( bassist的名词复数 )

    网络解释

    贝斯手;低音歌手;低音结他手

    bartends

    vi. 当酒吧侍者(bartend的第三人称单数形式)

    网络解释

    调酒师

    batsmen

    n. (板球)击球手( batsman的名词复数 );(飞机的)着陆信号员

    网络解释

    击球手;板球运动员;打击者

    bassoonists

    n. 巴松管吹奏者( bassoonist的名词复数 )

    beachheads

    n. 滩头阵地,滩头堡( beachhead的名词复数 )

    baseballs

    n. 棒球运动( baseball的名词复数 )

    bassoons

    n. (一种吹奏乐器)巴松管,低音管( bassoon的名词复数 );巴松管吹奏者

    网络解释

    大管