| ... | ... | @@ -35,6 +35,8 @@ extern int posix_spawnattr_setcgroup_np (posix_spawnattr_t *__attr, |
| 35 | 35 | 					 int __cgroup) |
| 36 | 36 | __THROW __nonnull ((1)); |
| 37 | 37 | |
| 38 | // zig patch: check target glibc version |
| 39 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 39) || __GLIBC__ > 2 |
| 38 | 40 | /* Spawn a new process executing PATH with the attributes describes in *ATTRP. |
| 39 | 41 | Before running the process perform the actions described in FACTS. Return |
| 40 | 42 | a PID file descriptor in PIDFD if process creation was successful and the |
| ... | ... | @@ -61,7 +63,8 @@ extern int pidfd_spawnp (int *__restrict __pidfd, |
| 61 | 63 | 			 char *const __argv[__restrict_arr], |
| 62 | 64 | 			 char *const __envp[__restrict_arr]) |
| 63 | 65 | __nonnull ((1, 2, 5)); |
| 66 | #endif /* (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 39) || __GLIBC__ > 2 */ |
| 64 | 67 | |
| 65 | 68 | #endif /* __USE_MISC */ |
| 66 | 69 | |
| 67 | | __END_DECLS |
| | \ No newline at end of file |
| 70 | __END_DECLS |