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

Side by Side Diff: base/process/launch_posix.cc

Issue 1543293004: Switch to standard integer types in base/process/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ssize_t Created 4 years, 12 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 | « base/process/launch.cc ('k') | base/process/memory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/process/launch.h" 5 #include "base/process/launch.h"
6 6
7 #include <dirent.h> 7 #include <dirent.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <sched.h> 10 #include <sched.h>
11 #include <setjmp.h> 11 #include <setjmp.h>
12 #include <signal.h> 12 #include <signal.h>
13 #include <stddef.h>
14 #include <stdint.h>
13 #include <stdlib.h> 15 #include <stdlib.h>
14 #include <sys/resource.h> 16 #include <sys/resource.h>
15 #include <sys/syscall.h> 17 #include <sys/syscall.h>
16 #include <sys/time.h> 18 #include <sys/time.h>
17 #include <sys/types.h> 19 #include <sys/types.h>
18 #include <sys/wait.h> 20 #include <sys/wait.h>
19 #include <unistd.h> 21 #include <unistd.h>
20 22
21 #include <iterator> 23 #include <iterator>
22 #include <limits> 24 #include <limits>
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 jmp_buf env; 783 jmp_buf env;
782 if (setjmp(env) == 0) { 784 if (setjmp(env) == 0) {
783 return CloneAndLongjmpInChild(flags, ptid, ctid, &env); 785 return CloneAndLongjmpInChild(flags, ptid, ctid, &env);
784 } 786 }
785 787
786 return 0; 788 return 0;
787 } 789 }
788 #endif // defined(OS_LINUX) || defined(OS_NACL_NONSFI) 790 #endif // defined(OS_LINUX) || defined(OS_NACL_NONSFI)
789 791
790 } // namespace base 792 } // namespace base
OLDNEW
« no previous file with comments | « base/process/launch.cc ('k') | base/process/memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698