in reply to odd line in windows
and I think that's not quite the right thing to be doing.return newRV_inc(AV_procs);
Cheers,AV* process_list(){ DWORD aProcesses[1024], cbNeeded, cProcesses; unsigned int i; EnumProcesses( aProcesses, sizeof(aProcesses), &cbNeeded ); cProcesses = cbNeeded / sizeof(DWORD); AV* AV_procs = newAV(); for ( i = 0; i < cProcesses; i++ ) { if( aProcesses[i] != 0 ) { av_push(AV_procs, newSViv( aProcesses[i] ) ); } } return AV_procs; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: odd line in windows
by xiaoyafeng (Deacon) on Sep 08, 2011 at 07:49 UTC | |
by ikegami (Patriarch) on Sep 08, 2011 at 09:26 UTC | |
by syphilis (Archbishop) on Sep 08, 2011 at 10:58 UTC | |
by BrowserUk (Patriarch) on Sep 08, 2011 at 11:12 UTC | |
by syphilis (Archbishop) on Sep 08, 2011 at 11:29 UTC | |
| |
by ikegami (Patriarch) on Sep 08, 2011 at 21:22 UTC | |
by ikegami (Patriarch) on Sep 09, 2011 at 03:20 UTC | |
by ikegami (Patriarch) on Sep 08, 2011 at 19:53 UTC | |
|
Re^2: odd line in windows
by ikegami (Patriarch) on Sep 08, 2011 at 07:13 UTC |