Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: newlib/libc/posix/posix_spawn.c

Issue 647203002: * libc/posix/posix_spawn.c: include _syslist.h. This allows it (Closed) Base URL: http://git.chromium.org/native_client/nacl-newlib.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698