Changeset View
Changeset View
Standalone View
Standalone View
include/spawn.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
int posix_spawn_file_actions_init(posix_spawn_file_actions_t *); | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *); | ||||
int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *); | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *); | ||||
int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict, | int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict, | ||||
int, const char * __restrict, int, mode_t); | int, const char * __restrict, int, mode_t); | ||||
int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *, int, int); | int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *, int, int); | ||||
int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *, int); | int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *, int); | ||||
#if __BSD_VISIBLE | |||||
int posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t * | |||||
__restrict, const char * __restrict); | |||||
int posix_spawn_file_actions_addfchdir_np(posix_spawn_file_actions_t *, | |||||
int); | |||||
int posix_spawn_file_actions_addclosefrom_np(posix_spawn_file_actions_t *, | |||||
ngie: Nit: space between `np` and `(`. | |||||
int); | |||||
#endif | |||||
/* | /* | ||||
* Spawn attributes | * Spawn attributes | ||||
*/ | */ | ||||
int posix_spawnattr_init(posix_spawnattr_t *); | int posix_spawnattr_init(posix_spawnattr_t *); | ||||
int posix_spawnattr_destroy(posix_spawnattr_t *); | int posix_spawnattr_destroy(posix_spawnattr_t *); | ||||
int posix_spawnattr_getflags(const posix_spawnattr_t * __restrict, | int posix_spawnattr_getflags(const posix_spawnattr_t * __restrict, | ||||
short * __restrict); | short * __restrict); | ||||
Show All 23 Lines |
Nit: space between np and (.