大家好,
我对QNX内核非常感兴趣,我从网上下载的2007年QNX开源版本,却唯独缺少了services\system\public\sys\neutrino.h文件中描述的函数的实现。
我想冒昧的问一下,大家可有谁有这一部分代码的实现?如果有的话,我想要一份供自己学习和研究。
谢谢!
Tom Sun
Email:cwsun@mail.ustc.edu.cn
qq: 1651505123
I was one of the winners who participated in this website.
If possible, I want to do it as well.
我估计缺的这一部分代码,当初就没开源过~
具体是什么函数?是内核调用接口吗?
内核接口函数是在make时自动生成的。
services\system\public\sys\neutrino.h头文件中定义的所有函数:
比如:
extern int MsgSendsvnc_r(int __coid, const void *__smsg, int __sbytes, const struct iovec *__riov, int __rparts);
extern int MsgSendvs(int __coid, const struct iovec *__siov, int __sparts, void *__rmsg, int __rbytes);
extern int MsgSendvs_r(int __coid, const struct iovec *__siov, int __sparts, void *__rmsg, int __rbytes);
extern int MsgSendvsnc(int __coid, const struct iovec *__siov, int __sparts, void *__rmsg, int __rbytes);
extern int MsgSendvsnc_r(int __coid, const struct iovec *__siov, int __sparts, void *__rmsg, int __rbytes);
extern int MsgSendv(int __coid, const struct iovec *__siov, int __sparts, const struct iovec *__riov, int __rparts);
extern int MsgSendv_r(int __coid, const struct iovec *__siov, int __sparts, const struct iovec *__riov, int __rparts);
extern int MsgSendvnc(int __coid, const struct iovec *__siov, int __sparts, const struct iovec *__riov, int __rparts);
这些函数,绝对不是Makefile自动生成的!!