aq\0aq 和 \0 有什么区别?
我认为标题描述了一切,但故事是
我正在重新实现 bzero 在C中的功能,并且 那是我遇到此aq \ 0aq
的地方 通过某些搜索,我了解到它具有与\ 0
(这是确定字符串结束的零字符)
相同的角色 但是我很好奇是否有区别,aq
是什么?
I think the title describes everything, but the story is
I'm re-implementing the bzero function in c, and
that's where I encountered this aq\0aq
by some searching I understood that it has the same role as \0
(which is a null character to determine the end of a string)
but I'm curious if there's any difference and what is the aq
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是将 groff(手册页,请参阅
man 7 groff
)转换为 html 后留下的工件。它应该只是'\0'
。请参阅man bzero
。https://github.com/mkerrisk/man-页面/blob/master/man3/bzero.3#L45
It's an artifact left by converting groff (man pages, see
man 7 groff
) to html. It should be just'\0'
. Seeman bzero
.https://github.com/mkerrisk/man-pages/blob/master/man3/bzero.3#L45