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

使用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().

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

相关文章

Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...
Windows文件操作基础代码 Windows下对文件进行操作使用的一段...
Winpcap基础代码 使用Winpcap进行网络数据的截获和发送都需要...
使用vbs脚本进行批量编码转换 最近需要使用SourceInsight查看...