posix_spawn(3), posix_spawn_file_actions_addopen(3): use .Fo/.Fc
to wrap too long lines with function prototypes. Reviewed by: kevans, ngie (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33143
This commit is contained in:
parent
b239cc204a
commit
8ed1e4a5c1
@ -46,9 +46,23 @@
|
||||
.Sh SYNOPSIS
|
||||
.In spawn.h
|
||||
.Ft int
|
||||
.Fn posix_spawn "pid_t *restrict pid" "const char *restrict path" "const posix_spawn_file_actions_t *file_actions" "const posix_spawnattr_t *restrict attrp" "char *const argv[restrict]" "char *const envp[restrict]"
|
||||
.Fo posix_spawn
|
||||
.Fa "pid_t *restrict pid"
|
||||
.Fa "const char *restrict path"
|
||||
.Fa "const posix_spawn_file_actions_t *file_actions"
|
||||
.Fa "const posix_spawnattr_t *restrict attrp"
|
||||
.Fa "char *const argv[restrict]"
|
||||
.Fa "char *const envp[restrict]"
|
||||
.Fc
|
||||
.Ft int
|
||||
.Fn posix_spawnp "pid_t *restrict pid" "const char *restrict file" "const posix_spawn_file_actions_t *file_actions" "const posix_spawnattr_t *restrict attrp" "char *const argv[restrict]" "char *const envp[restrict]"
|
||||
.Fo posix_spawnp
|
||||
.Fa "pid_t *restrict pid"
|
||||
.Fa "const char *restrict file"
|
||||
.Fa "const posix_spawn_file_actions_t *file_actions"
|
||||
.Fa "const posix_spawnattr_t *restrict attrp"
|
||||
.Fa "char *const argv[restrict]"
|
||||
.Fa "char *const envp[restrict]"
|
||||
.Fc
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn posix_spawn
|
||||
|
@ -47,11 +47,24 @@
|
||||
.Sh SYNOPSIS
|
||||
.In spawn.h
|
||||
.Ft int
|
||||
.Fn posix_spawn_file_actions_addopen "posix_spawn_file_actions_t * file_actions" "int fildes" "const char *restrict path" "int oflag" "mode_t mode"
|
||||
.Fo posix_spawn_file_actions_addopen
|
||||
.Fa "posix_spawn_file_actions_t * file_actions"
|
||||
.Fa "int fildes"
|
||||
.Fa "const char *restrict path"
|
||||
.Fa "int oflag"
|
||||
.Fa "mode_t mode"
|
||||
.Fc
|
||||
.Ft int
|
||||
.Fn posix_spawn_file_actions_adddup2 "posix_spawn_file_actions_t * file_actions" "int fildes" "int newfildes"
|
||||
.Fo posix_spawn_file_actions_adddup2
|
||||
.Fa "posix_spawn_file_actions_t * file_actions"
|
||||
.Fa "int fildes"
|
||||
.Fa "int newfildes"
|
||||
.Fc
|
||||
.Ft int
|
||||
.Fn posix_spawn_file_actions_addclose "posix_spawn_file_actions_t * file_actions" "int fildes"
|
||||
.Fo posix_spawn_file_actions_addclose
|
||||
.Fa "posix_spawn_file_actions_t * file_actions"
|
||||
.Fa "int fildes"
|
||||
.Fc
|
||||
.Sh DESCRIPTION
|
||||
These functions add an open, dup2 or close action to a spawn
|
||||
file actions object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user