rtapi_module_param.3rtapi
来自「CNC 的开放码,EMC2 V2.2.8版」· 3RTAPI 代码 · 共 55 行
3RTAPI
55 行
.TH rtapi_module_param "3rtapi" "2006-10-12" "EMC Documentation" "RTAPI".SH NAMErtapi_module_param \- Specifying module parameters.SH SYNTAX.HPRTAPI_MP_INT(\fIvar\fR, \fIdescription\fR).HPRTAPI_MP_LONG(\fIvar\fR, \fIdescription\fR).HPRTAPI_MP_STRING(\fIvar\fR, \fIdescription\fR).HPRTAPI_MP_ARRAY_INT(\fIvar\fR, \fInum\fR, \fIdescription\fR).HPRTAPI_MP_ARRAY_LONG(\fIvar\fR, \fInum\fR, \fIdescription\fR).HPRTAPI_MP_ARRAY_STRING(\fIvar\fR, \fInum\fR, \fIdescription\fR).HPMODULE_LICENSE(\fIlicense\fR).HPMODULE_AUTHOR(\fIauthor\fR).HPMODULE_DESCRIPTION(\fIdescription\fR).HPEXPORT_FUNCTION(\fIfunction\fR).SH ARGUMENTS.IP \fIvar\fRThe variable where the parameter should be stored.IP \fIdescription\fRA short description of the parameter or module.IP \fInum\fRThe maximum number of values for an array parameter.IP \fIlicense\fRThe license of the module, for instance "GPL".IP \fIauthor\fRThe author of the module.IP \fIfunction\fRThe pointer to the function to be exported.SH DESCRIPTIONThese macros are portable ways to declare kernel module parameters. They mustbe used in the global scope, and are not followed by a terminating semicolon.They must be used after the associated variable or function has been defined.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?