Hi, I'am Writing an App in C++/Qt to Plan ShutDown (or Reboot, Sleep, PowerOff..) in specific Time or Condition
the problem i get is that i didn't find a function that shutdown the PC in Mac OS X or X Window Systems (Linux, FreeBSD), i just have the Windows Function
please does anyone have a Library or some code that may help me,
in thanks for your attention
i 've already searched sth like this, but i 've found that each OS has it's own terminal Function, so it's surely won't help me(I need a unique Function)..
and thx for your help