1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 16:32:30 +01:00
Files
wmaker/src/osdep_stub.c
Tamas TEVESZ c5f5e0b9c0 More precise information on unknown systems
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2010-10-07 12:04:30 +02:00

30 lines
497 B
C

#include <sys/utsname.h>
#include <WINGs/WUtil.h>
#include "wconfig.h"
Bool GetCommandForPid(int pid, char ***argv, int *argc)
{
static int notified = 0;
if (!notified) {
struct utsname un;
if (uname(&un) != -1) {
wwarning(_("%s is not implemented on this platform; "
"tell wmaker-dev@windowmaker.org you are running "
"%s release %s version %s"), __FUNCTION__,
un.sysname, un.release, un.version);
notified = 1;
}
}
*argv = NULL;
*argc = 0;
return False;
}