rtapi_init.3rtapi
来自「CNC 的开放码,EMC2 V2.2.8版」· 3RTAPI 代码 · 共 32 行
3RTAPI
32 行
.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 + =
减小字号Ctrl + -
显示快捷键?