1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

Add the BSD version of GetCommandForPid()

- tested on Net, Free, Open and DragonFly

- fix up the linux version (terminate argv with a null ptr)
- add error handling to file ops in the linux version
- add a stub version for platforms not supported
This commit is contained in:
Tamas TEVESZ
2010-03-22 15:48:47 +01:00
committed by Carlos R. Mafra
parent 294ea56d84
commit ab9c85a11d
4 changed files with 255 additions and 9 deletions

11
src/osdep/stub.c Normal file
View File

@@ -0,0 +1,11 @@
#include <WINGs/WUtil.h>
#include "../wconfig.h"
Bool GetCommandForPid(int pid, char ***argv, int *argc)
{
*argv = NULL;
*argc = 0;
return False;
}