KDEUI
kcrash.cpp File Reference
#include "kcrash.h"#include <kcmdlineargs.h>#include <kstandarddirs.h>#include <config-kstandarddirs.h>#include <config.h>#include <string.h>#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/time.h>#include <sys/resource.h>#include <sys/wait.h>#include <sys/un.h>#include <sys/socket.h>#include <errno.h>#include <qwindowdefs.h>#include <kglobal.h>#include <kcomponentdata.h>#include <kaboutdata.h>#include <kdebug.h>#include <kapplication.h>#include <../kinit/klauncher_cmds.h>#include <qx11info_x11.h>#include <X11/Xlib.h>Go to the source code of this file.
Namespaces | |
| namespace | KCrash |
Functions | |
| static void | closeAllFDs () |
| static char * | getDisplay () |
| static int | openSocket () |
| static int | read_socket (int sock, char *buffer, int len) |
| void | KCrash::startDirectly (const char *argv[], int argc) |
| void | KCrash::startDrKonqi (const char *argv[], int argc) |
| static int | write_socket (int sock, char *buffer, int len) |
Variables | |
| char ** | environ |
| static char * | s_appName = 0 |
| static char * | s_appPath = 0 |
| static char * | s_autoRestartCommand = 0 |
| static KCrash::HandlerType | s_crashHandler = 0 |
| static char * | s_drkonqiPath = 0 |
| static KCrash::HandlerType | s_emergencySaveFunction = 0 |
| static KCrash::CrashFlags | s_flags = 0 |
| static bool | s_launchDrKonqi = false |
Function Documentation
| static void closeAllFDs | ( | ) | [static] |
Definition at line 201 of file kcrash.cpp.
| static char* getDisplay | ( | ) | [static] |
Definition at line 445 of file kcrash.cpp.
| static int openSocket | ( | ) | [static] |
Strip trailing '/'
Definition at line 536 of file kcrash.cpp.
| static int read_socket | ( | int | sock, | |
| char * | buffer, | |||
| int | len | |||
| ) | [static] |
Definition at line 516 of file kcrash.cpp.
| static int write_socket | ( | int | sock, | |
| char * | buffer, | |||
| int | len | |||
| ) | [static] |
Definition at line 492 of file kcrash.cpp.
Variable Documentation
| char** environ |
char* s_appName = 0 [static] |
Definition at line 65 of file kcrash.cpp.
char* s_appPath = 0 [static] |
Definition at line 67 of file kcrash.cpp.
char* s_autoRestartCommand = 0 [static] |
Definition at line 66 of file kcrash.cpp.
KCrash::HandlerType s_crashHandler = 0 [static] |
Definition at line 64 of file kcrash.cpp.
char* s_drkonqiPath = 0 [static] |
Definition at line 68 of file kcrash.cpp.
KCrash::HandlerType s_emergencySaveFunction = 0 [static] |
Definition at line 63 of file kcrash.cpp.
KCrash::CrashFlags s_flags = 0 [static] |
Definition at line 69 of file kcrash.cpp.
bool s_launchDrKonqi = false [static] |
Definition at line 70 of file kcrash.cpp.
KDE 4.3 API Reference