OLD | NEW |
1 /*- | 1 /*- |
2 * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> | 2 * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 <<sched_setparam>>, <<setegid>>, <<seteuid>>, <<setpgid>>, <<vfork>>. | 86 <<sched_setparam>>, <<setegid>>, <<seteuid>>, <<setpgid>>, <<vfork>>. |
87 */ | 87 */ |
88 | 88 |
89 #ifndef _NO_POSIX_SPAWN | 89 #ifndef _NO_POSIX_SPAWN |
90 | 90 |
91 #include <sys/cdefs.h> | 91 #include <sys/cdefs.h> |
92 | 92 |
93 #include <sys/signal.h> | 93 #include <sys/signal.h> |
94 #include <sys/queue.h> | 94 #include <sys/queue.h> |
95 #include <sys/wait.h> | 95 #include <sys/wait.h> |
| 96 #include <_syslist.h> |
96 | 97 |
97 #include <errno.h> | 98 #include <errno.h> |
98 #include <fcntl.h> | 99 #include <fcntl.h> |
99 #include <sched.h> | 100 #include <sched.h> |
100 #include <spawn.h> | 101 #include <spawn.h> |
101 #include <signal.h> | 102 #include <signal.h> |
102 #include <stdlib.h> | 103 #include <stdlib.h> |
103 #include <string.h> | 104 #include <string.h> |
104 #include <unistd.h> | 105 #include <unistd.h> |
105 | 106 |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 int | 569 int |
569 _DEFUN(posix_spawnattr_setsigmask, (sa, sigmask), | 570 _DEFUN(posix_spawnattr_setsigmask, (sa, sigmask), |
570 posix_spawnattr_t * __restrict sa _AND | 571 posix_spawnattr_t * __restrict sa _AND |
571 _CONST sigset_t * __restrict sigmask) | 572 _CONST sigset_t * __restrict sigmask) |
572 { | 573 { |
573 (*sa)->sa_sigmask = *sigmask; | 574 (*sa)->sa_sigmask = *sigmask; |
574 return (0); | 575 return (0); |
575 } | 576 } |
576 | 577 |
577 #endif /* !_NO_POSIX_SPAWN */ | 578 #endif /* !_NO_POSIX_SPAWN */ |
OLD | NEW |