| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: signal.h,v 1.65 2009/12/09 20:26:12 drochner Exp $ */ | | 1 | /* $NetBSD: signal.h,v 1.66 2011/01/10 04:38:37 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: |
| @@ -225,15 +225,17 @@ struct sigevent { | | | @@ -225,15 +225,17 @@ struct sigevent { |
225 | #if defined(_NETBSD_SOURCE) | | 225 | #if defined(_NETBSD_SOURCE) |
226 | #define SIGEV_SA 3 | | 226 | #define SIGEV_SA 3 |
227 | #endif | | 227 | #endif |
228 | #endif /* (_POSIX_C_SOURCE - 0) >= 199309L || ... */ | | 228 | #endif /* (_POSIX_C_SOURCE - 0) >= 199309L || ... */ |
229 | | | 229 | |
230 | #endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */ | | 230 | #endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */ |
231 | | | 231 | |
232 | /* | | 232 | /* |
233 | * For historical reasons; programs expect signal's return value to be | | 233 | * For historical reasons; programs expect signal's return value to be |
234 | * defined by <sys/signal.h>. | | 234 | * defined by <sys/signal.h>. |
235 | */ | | 235 | */ |
236 | __BEGIN_DECLS | | 236 | __BEGIN_DECLS |
237 | void (*signal(int, void (*)(int)))(int); | | 237 | void (*signal(int, void (*)(int)))(int); |
| | | 238 | int sigqueue(pid_t, int, const union sigval); |
| | | 239 | int sigqueueinfo(pid_t, const siginfo_t *); |
238 | __END_DECLS | | 240 | __END_DECLS |
239 | #endif /* !_SYS_SIGNAL_H_ */ | | 241 | #endif /* !_SYS_SIGNAL_H_ */ |