Sat Jun 11 00:56:38 2016 UTC ()
GSoC 2016: Charles Cui: add SIGPOLL


(christos)
diff -r1.68 -r1.69 src/sys/sys/signal.h

cvs diff -r1.68 -r1.69 src/sys/sys/signal.h (expand / switch to unified diff)

--- src/sys/sys/signal.h 2016/06/03 23:57:37 1.68
+++ src/sys/sys/signal.h 2016/06/11 00:56:38 1.69
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: signal.h,v 1.68 2016/06/03 23:57:37 christos Exp $ */ 1/* $NetBSD: signal.h,v 1.69 2016/06/11 00:56:38 christos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1982, 1986, 1989, 1991, 1993 4 * Copyright (c) 1982, 1986, 1989, 1991, 1993
5 * The Regents of the University of California. All rights reserved. 5 * The Regents of the University of California. All rights reserved.
6 * (c) UNIX System Laboratories, Inc. 6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed 7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph 8 * to the University of California by American Telephone and Telegraph
9 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 9 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
10 * the permission of UNIX System Laboratories, Inc. 10 * the permission of UNIX System Laboratories, Inc.
11 * 11 *
12 * Redistribution and use in source and binary forms, with or without 12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions 13 * modification, are permitted provided that the following conditions
14 * are met: 14 * are met:
@@ -63,26 +63,27 @@ @@ -63,26 +63,27 @@
63#define SIGSEGV 11 /* segmentation violation */ 63#define SIGSEGV 11 /* segmentation violation */
64#define SIGSYS 12 /* bad argument to system call */ 64#define SIGSYS 12 /* bad argument to system call */
65#define SIGPIPE 13 /* write on a pipe with no one to read it */ 65#define SIGPIPE 13 /* write on a pipe with no one to read it */
66#define SIGALRM 14 /* alarm clock */ 66#define SIGALRM 14 /* alarm clock */
67#define SIGTERM 15 /* software termination signal from kill */ 67#define SIGTERM 15 /* software termination signal from kill */
68#define SIGURG 16 /* urgent condition on IO channel */ 68#define SIGURG 16 /* urgent condition on IO channel */
69#define SIGSTOP 17 /* sendable stop signal not from tty */ 69#define SIGSTOP 17 /* sendable stop signal not from tty */
70#define SIGTSTP 18 /* stop signal from tty */ 70#define SIGTSTP 18 /* stop signal from tty */
71#define SIGCONT 19 /* continue a stopped process */ 71#define SIGCONT 19 /* continue a stopped process */
72#define SIGCHLD 20 /* to parent on child stop or exit */ 72#define SIGCHLD 20 /* to parent on child stop or exit */
73#define SIGTTIN 21 /* to readers pgrp upon background tty read */ 73#define SIGTTIN 21 /* to readers pgrp upon background tty read */
74#define SIGTTOU 22 /* like TTIN for output if (tp->t_local&LTOSTOP) */ 74#define SIGTTOU 22 /* like TTIN for output if (tp->t_local&LTOSTOP) */
75#define SIGIO 23 /* input/output possible signal */ 75#define SIGIO 23 /* input/output possible signal */
 76#define SIGPOLL SIGIO /* compatibility */
76#define SIGXCPU 24 /* exceeded CPU time limit */ 77#define SIGXCPU 24 /* exceeded CPU time limit */
77#define SIGXFSZ 25 /* exceeded file size limit */ 78#define SIGXFSZ 25 /* exceeded file size limit */
78#define SIGVTALRM 26 /* virtual time alarm */ 79#define SIGVTALRM 26 /* virtual time alarm */
79#define SIGPROF 27 /* profiling time alarm */ 80#define SIGPROF 27 /* profiling time alarm */
80#define SIGWINCH 28 /* window size changes */ 81#define SIGWINCH 28 /* window size changes */
81#define SIGINFO 29 /* information request */ 82#define SIGINFO 29 /* information request */
82#define SIGUSR1 30 /* user defined signal 1 */ 83#define SIGUSR1 30 /* user defined signal 1 */
83#define SIGUSR2 31 /* user defined signal 2 */ 84#define SIGUSR2 31 /* user defined signal 2 */
84#define SIGPWR 32 /* power fail/restart (not reset when caught) */ 85#define SIGPWR 32 /* power fail/restart (not reset when caught) */
85#ifdef _KERNEL 86#ifdef _KERNEL
86#define SIGRTMIN 33 /* Kernel only; not exposed to userland yet */ 87#define SIGRTMIN 33 /* Kernel only; not exposed to userland yet */
87#define SIGRTMAX 63 /* Kernel only; not exposed to userland yet */ 88#define SIGRTMAX 63 /* Kernel only; not exposed to userland yet */
88#endif 89#endif