加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

什么是win32报警,bzero,bcopy在移植c代码时的替代方法

发布时间:2020-12-14 01:46:30 所属栏目:Windows 来源:网络整理
导读:使用visual studio express,将c代码移植到 windows 32位 现在我有3个功能,我无法在 Windows中找到任何替代品 他们是: 报警 bzero BCOPY C win32中的等效方法是什么? 从哪个平台移植到Windows?无论如何,bzero和bcopy已经折腾了一段时间. 对于bzero: This
使用visual studio express,将c代码移植到 windows 32位
现在我有3个功能,我无法在 Windows中找到任何替代品
他们是:
报警
bzero
BCOPY
C win32中的等效方法是什么?
从哪个平台移植到Windows?无论如何,bzero和bcopy已经折腾了一段时间.

对于bzero:

This function is deprecated (marked as LEGACY in
POSIX.1-2001): use memset(3) in new
programs. POSIX.1-2008 removes the
specifica-
tion of bzero().

为bcopy:

This function is deprecated (marked as LEGACY in
POSIX.1-2001): use memcpy(3) or
memmove(3) in new programs. Note that
the first
two arguments are interchanged for memcpy(3) and memmove(3).
POSIX.1-2008 removes the specification
of bcopy().

所以只需修复你的代码并使用建议的替换.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读