使用visual studio express,将c代码移植到
windows 32位
现在我有3个功能,我无法在 Windows中找到任何替代品
他们是:
报警
bzero
BcopY
C win32中的等效方法是什么?
现在我有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().
所以只需修复你的代码并使用建议的替换.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。