Shutdown OS in neutrino

Hi,

In QNX 4, I can shutdown the OS by sending the sgutdown message to Proc32

struct _proc_shutdown s;
struct _proc_shutdown_reply r;

s.type = _PROC_SHUTDOWN;

Send( PROC_PID , &s , &r, sizeof(s), sizeof(r));



Question: Does Neutrino exist the shutdown OS by this way ?
If yes, how to get the connection to “procnto”

Noted: the structure _proc_shutdown is replaced by _io_shutdown.

Question: Does Neutrino exist the shutdown OS by this way ?

sysmgr_reboot()

URL:http://www.qnx.com/developer/docs/momentics621_docs/neutrino/lib_ref/s/sysmgr_reboot.html

If you want to directly MsgSend(), refer
URL:http://cvs.qnx.com/cgi-bin/cvsweb.cgi/lib/c/services/sysmgr_reboot.c?rev=1.1.1.1&content-type=text/x-cvsweb-markup

kabe