作为有效列表使用的%s宏表示当前会话名称,将为当前登录用户的名称。
The % s macro used as the list of valid users means the current session name, which will be the name of the currently logged in user.
宏的第一部分将约束列表分割成多个单一约束。
The first section of the macro breaks down the list of constraints case into multiple single constraints cases.
这通常通过list_head宏来完成,这个宏提供列表的声明和初始化。
This is commonly done with the LIST_HEAD macro, which provides the declaration and initialization of the list.
这个宏将迭代列表,但阻止删除列表条目(删除列表条目是迭代操作的一部分)。
This macro permits iteration over the list with safeguards against removal of a list entry (which you'll do as part of the iteration).
也可以通过使用LIST_HEAD_INIT宏手动创建一个列表头(例如,您的列表头位于另一个结构中)。
You can also create a list head manually (for example, if your list head is in another structure) through the use of the LIST_HEAD_INIT macro.
显示如何创建一个宏,用以生成一个列表,其中列出集成开发环境(IDE)中的所有命令以及这些命令当前关联的键盘快捷键。
Shows how to create a macro that generates a list of the commands in the integrated development environment (IDE), together with the currently associated keyboard shortcuts.
显示如何创建一个宏,用以生成一个列表,其中列出集成开发环境(IDE)中的所有命令以及这些命令当前关联的键盘快捷键。
Shows how to create a macro that generates a list of the commands in the integrated development environment (IDE), together with the currently associated keyboard shortcuts.
应用推荐