Add SIGWINCH signal and functionality in tty and support in PM.

This commit is contained in:
Ben Gras
2005-10-03 12:03:57 +00:00
parent f1d9413da7
commit 8c4166ee85
4 changed files with 11 additions and 7 deletions

View File

@@ -25,8 +25,6 @@ typedef unsigned long sigset_t;
#endif
#endif
#define _NSIG 20 /* number of signals used */
#define SIGHUP 1 /* hangup */
#define SIGINT 2 /* interrupt (DEL) */
#define SIGQUIT 3 /* quit (ASCII FS) */
@@ -55,6 +53,11 @@ typedef unsigned long sigset_t;
#define SIGKSIG 19 /* kernel signal pending */
#define SIGKSTOP 20 /* kernel shutting down */
/* Regular signals. */
#define SIGWINCH 21 /* window size has changed */
#define _NSIG 21 /* number of signals used */
/* POSIX requires the following signals to be defined, even if they are
* not supported. Here are the definitions, but they are not supported.
*/