KPty
#include "kptydevice.h"
#include "kpty_p.h"
#include <config.h>
#include <config-pty.h>
#include <QSocketNotifier>
#include <klocale.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <termios.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qlinkedlist.h>
#include "kptydevice.moc"
Include dependency graph for kptydevice.cpp:
Go to the source code of this file.
Macros | |
#define | CHUNKSIZE 4096 |
#define | KMAXINT ((int)(~0U >> 1)) |
#define | NO_INTR(ret, func) do { ret = func; } while (ret < 0 && errno == EINTR) |
#define | PTY_BYTES_AVAILABLE TIOCOUTQ |
#define | timeradd(a, b, result) |
#define | timersub(a, b, result) |
Functions | |
static void | qt_ignore_sigpipe () |
Macro Definition Documentation
#define CHUNKSIZE 4096 |
Definition at line 67 of file kptydevice.cpp.
#define KMAXINT ((int)(~0U >> 1)) |
Definition at line 58 of file kptydevice.cpp.
#define NO_INTR | ( | ret, | |
func | |||
) | do { ret = func; } while (ret < 0 && errno == EINTR) |
Definition at line 246 of file kptydevice.cpp.
#define PTY_BYTES_AVAILABLE TIOCOUTQ |
Definition at line 49 of file kptydevice.cpp.
#define timeradd | ( | a, | |
b, | |||
result | |||
) |
Value:
do { \
(result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
(result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
if ((result)->tv_usec >= 1000000) { \
++(result)->tv_sec; \
(result)->tv_usec -= 1000000; \
} \
} while (0)
Definition at line 374 of file kptydevice.cpp.
#define timersub | ( | a, | |
b, | |||
result | |||
) |
Value:
do { \
(result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
(result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
if ((result)->tv_usec < 0) { \
--(result)->tv_sec; \
(result)->tv_usec += 1000000; \
} \
} while (0)
Definition at line 383 of file kptydevice.cpp.
Function Documentation
|
static |
Definition at line 235 of file kptydevice.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.