📄 rtapi_init.3rtapi
字号:
.TH rtapi_init "3rtapi" "2006-10-12" "EMC Documentation" "RTAPI".SH NAMErtapi_init \- Sets up RTAPI.SH SYNTAX.HP int rtapi_init(char *\fImodname\fR).SH ARGUMENTS.IP \fImodname\fRThe name of this rtapi module.SH DESCRIPTION\fBrtapi_init\fR sets up the RTAPI. It must be called by anymodule that intends to use the API, before any other RTAPIcalls.\fImodname\fR can optionally point to a string that identifiesthe module. The string will be truncated at \fBRTAPI_NAME_LEN\fRcharacters. If \fImodname\fR is \fBNULL\fR, the system will assign aname..SH REALTIME CONSIDERATIONSCall only from within user or init/cleanup code, not from relatime tasks..SH RETURN VALUEOn success, returns a positive integer module ID, which isused for subsequent calls to rtapi_xxx_new, rtapi_xxx_delete,and rtapi_exit. On failure, returns an RTAPI error code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -