Shutdown OS in neutrino

bridged with qdn.public.neutrino
Post Reply
Trong Nguyen

Shutdown OS in neutrino

Post by Trong Nguyen » Tue Nov 11, 2003 4:30 pm

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.

Guest

Re: Shutdown OS in neutrino

Post by Guest » Wed Nov 12, 2003 9:22 am

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

<URL:http://www.qnx.com/developer/docs/momen ... eboot.html>

If you want to directly MsgSend(), refer
<URL:http://cvs.qnx.com/cgi-bin/cvsweb.cgi/l ... web-markup>
--
kabe

Post Reply

Return to “qdn.public.neutrino”