Deleted Added
full compact
wait6.c (281712) wait6.c (281981)
1/*
2 * Copyright (c) 2015 The FreeBSD Foundation.
3 * All rights reserved.
4 *
5 * Portions of this software were developed by Konstantin Belousov
6 * under sponsorship from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
27 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
29 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2015 The FreeBSD Foundation.
3 * All rights reserved.
4 *
5 * Portions of this software were developed by Konstantin Belousov
6 * under sponsorship from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
27 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
29 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/lib/libc/sys/wait6.c 281712 2015-04-18 21:35:41Z kib $");
34__FBSDID("$FreeBSD: stable/10/lib/libc/sys/wait6.c 281981 2015-04-25 08:14:08Z kib $");
35
36#include <sys/types.h>
37#include <sys/wait.h>
38#include <signal.h>
39#include "libc_private.h"
40
41__weak_reference(__sys_wait6, __wait6);
42
43#pragma weak wait6
44pid_t
45wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru,
46 siginfo_t *infop)
47{
48
49 return (((pid_t (*)(idtype_t, id_t, int *, int, struct __wrusage *,
50 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id,
51 status, options, ru, infop));
52}
35
36#include <sys/types.h>
37#include <sys/wait.h>
38#include <signal.h>
39#include "libc_private.h"
40
41__weak_reference(__sys_wait6, __wait6);
42
43#pragma weak wait6
44pid_t
45wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *ru,
46 siginfo_t *infop)
47{
48
49 return (((pid_t (*)(idtype_t, id_t, int *, int, struct __wrusage *,
50 siginfo_t *))__libc_interposing[INTERPOS_wait6])(idtype, id,
51 status, options, ru, infop));
52}