mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
30 lines
497 B
C
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;
|
|
}
|