Tue Dec 27 02:20:46 2016 UTC ()
Replace in comment SIGPOLL with SIGIO

SIGPOLL is absent in NetBSD.

No functional change.


(kamil)
diff -r1.25 -r1.26 src/sys/sys/siginfo.h

cvs diff -r1.25 -r1.26 src/sys/sys/siginfo.h (expand / switch to unified diff)

--- src/sys/sys/siginfo.h 2013/11/22 21:04:11 1.25
+++ src/sys/sys/siginfo.h 2016/12/27 02:20:46 1.26
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: siginfo.h,v 1.25 2013/11/22 21:04:11 christos Exp $ */ 1/* $NetBSD: siginfo.h,v 1.26 2016/12/27 02:20:46 kamil Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2002 The NetBSD Foundation, Inc. 4 * Copyright (c) 2002 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Christos Zoulas. 8 * by Christos Zoulas.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -211,27 +211,27 @@ typedef union siginfo { @@ -211,27 +211,27 @@ typedef union siginfo {
211#define TRAP_BRKPT 1 /* Process breakpoint */ 211#define TRAP_BRKPT 1 /* Process breakpoint */
212#define TRAP_TRACE 2 /* Process trace trap */ 212#define TRAP_TRACE 2 /* Process trace trap */
213 213
214/* SIGCHLD */ 214/* SIGCHLD */
215#define CLD_EXITED 1 /* Child has exited */ 215#define CLD_EXITED 1 /* Child has exited */
216#define CLD_KILLED 2 /* Child has terminated abnormally but */ 216#define CLD_KILLED 2 /* Child has terminated abnormally but */
217 /* did not create a core file */ 217 /* did not create a core file */
218#define CLD_DUMPED 3 /* Child has terminated abnormally and */ 218#define CLD_DUMPED 3 /* Child has terminated abnormally and */
219 /* created a core file */ 219 /* created a core file */
220#define CLD_TRAPPED 4 /* Traced child has trapped */ 220#define CLD_TRAPPED 4 /* Traced child has trapped */
221#define CLD_STOPPED 5 /* Child has stopped */ 221#define CLD_STOPPED 5 /* Child has stopped */
222#define CLD_CONTINUED 6 /* Stopped child has continued */ 222#define CLD_CONTINUED 6 /* Stopped child has continued */
223 223
224/* SIGPOLL */ 224/* SIGIO */
225#define POLL_IN 1 /* Data input available */ 225#define POLL_IN 1 /* Data input available */
226#define POLL_OUT 2 /* Output buffers available */ 226#define POLL_OUT 2 /* Output buffers available */
227#define POLL_MSG 3 /* Input message available */ 227#define POLL_MSG 3 /* Input message available */
228#define POLL_ERR 4 /* I/O Error */ 228#define POLL_ERR 4 /* I/O Error */
229#define POLL_PRI 5 /* High priority input available */ 229#define POLL_PRI 5 /* High priority input available */
230#define POLL_HUP 6 /* Device disconnected */ 230#define POLL_HUP 6 /* Device disconnected */
231 231
232 232
233/** si_code */ 233/** si_code */
234#define SI_USER 0 /* Sent by kill(2) */ 234#define SI_USER 0 /* Sent by kill(2) */
235#define SI_QUEUE -1 /* Sent by the sigqueue(2) */ 235#define SI_QUEUE -1 /* Sent by the sigqueue(2) */
236#define SI_TIMER -2 /* Generated by expiration of a timer */ 236#define SI_TIMER -2 /* Generated by expiration of a timer */
237 /* set by timer_settime(2) */ 237 /* set by timer_settime(2) */