Providing version numbers to sin

How does a task provide its version number to sin to be printed for “sin
ver”?

Thanks.

“Kevin Miller” <kevin.miller@transcore.com> wrote in message
news:9bb7h9$hlj$1@inn.qnx.com

How does a task provide its version number to sin to be printed for “sin
ver”?

it should respond on _SYSMSG_SUBTYPE_VERSION system message. look at
sys/sys_msg.h header. note that in order to receive _SYSMSG messages from
kernel you should set _PPF_SERVER flag calling qnx_pflags() function, look
at sys/psinfo.h

Thanks.

// wbr