Re: system_exec() on Linux

new topic     » goto parent     » topic index » view thread      » older message » newer message

I think that the Linux return code is in the rightmost byte of the return value
from the C system() call.

  sysret = system(pszCommand);
  result = ((sysret & 0xFF00) >> 8);

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu