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

Side by Side Diff: fusl/src/process/posix_spawnp.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 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
OLDNEW
1 #include <spawn.h> 1 #include <spawn.h>
2 #include <unistd.h> 2 #include <unistd.h>
3 3
4 int __execvpe(const char *, char *const *, char *const *); 4 int __execvpe(const char*, char* const*, char* const*);
5 5
6 int __posix_spawnx(pid_t *restrict, const char *restrict, 6 int __posix_spawnx(pid_t* restrict,
7 » int (*)(const char *, char *const *, char *const *), 7 const char* restrict,
8 » const posix_spawn_file_actions_t *, 8 int (*)(const char*, char* const*, char* const*),
9 » const posix_spawnattr_t *restrict, char *const *restrict, char *const *r estrict); 9 const posix_spawn_file_actions_t*,
10 const posix_spawnattr_t* restrict,
11 char* const* restrict,
12 char* const* restrict);
10 13
11 int posix_spawnp(pid_t *restrict res, const char *restrict file, 14 int posix_spawnp(pid_t* restrict res,
12 » const posix_spawn_file_actions_t *fa, 15 const char* restrict file,
13 » const posix_spawnattr_t *restrict attr, 16 const posix_spawn_file_actions_t* fa,
14 » char *const argv[restrict], char *const envp[restrict]) 17 const posix_spawnattr_t* restrict attr,
15 { 18 char* const argv[restrict],
16 » return __posix_spawnx(res, file, __execvpe, fa, attr, argv, envp); 19 char* const envp[restrict]) {
20 return __posix_spawnx(res, file, __execvpe, fa, attr, argv, envp);
17 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698