mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
33 lines
575 B
C++
33 lines
575 B
C++
#ifndef _SPAWN_H
|
|
#define _SPAWN_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <features.h>
|
|
|
|
typedef struct {
|
|
int __flags;
|
|
pid_t __pgrp;
|
|
sigset_t __def, __mask;
|
|
int __prio, __pol;
|
|
void *__fn;
|
|
char __pad[64-sizeof(void *)];
|
|
} posix_spawnattr_t;
|
|
|
|
typedef struct {
|
|
int __pad0[2];
|
|
void *__actions;
|
|
int __pad[16];
|
|
} posix_spawn_file_actions_t;
|
|
|
|
int posix_spawn(pid_t *__restrict, const char *__restrict, const posix_spawn_file_actions_t *,
|
|
const posix_spawnattr_t *__restrict, char *const *__restrict, char *const *__restrict);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|