diff options
author | 2012-04-11 09:38:45 +0000 | |
---|---|---|
committer | 2012-04-11 09:38:45 +0000 | |
commit | f6a74c88efa112ca63a63cdd919e0c4488a94d17 (patch) | |
tree | 72d34510d772bfd4340536eed833970180f7c475 /lib/libc/gen/posix_spawn_file_actions_addopen.3 | |
parent | fix install to cope with 0-sized mmap now returning EINVAL. (diff) | |
download | wireguard-openbsd-f6a74c88efa112ca63a63cdd919e0c4488a94d17.tar.xz wireguard-openbsd-f6a74c88efa112ca63a63cdd919e0c4488a94d17.zip |
fuss with details
Diffstat (limited to 'lib/libc/gen/posix_spawn_file_actions_addopen.3')
-rw-r--r-- | lib/libc/gen/posix_spawn_file_actions_addopen.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/gen/posix_spawn_file_actions_addopen.3 b/lib/libc/gen/posix_spawn_file_actions_addopen.3 index 0195bf2f912..a23e2e30e52 100644 --- a/lib/libc/gen/posix_spawn_file_actions_addopen.3 +++ b/lib/libc/gen/posix_spawn_file_actions_addopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.3 2012/04/11 08:11:30 espie Exp $ +.\" $OpenBSD: posix_spawn_file_actions_addopen.3,v 1.4 2012/04/11 09:38:45 espie Exp $ .\" .\" Copyright (c) 2012 Marc Espie <espie@openbsd.org> .\" @@ -31,10 +31,10 @@ .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" .Sh DESCRIPTION -These function add an action to -.Xr close 2 , +These function add an action to +.Xr close 2 , .Xr dup2 2 , -or +or .Xr open 2 a file descriptor to a @@ -64,7 +64,7 @@ to be called. .It The .Fn posix_spawn_file_actions_addopen -adds an action that causes +adds an action that causes .Bd -literal -offset indent open(path, oflag, mode); .Ed @@ -83,6 +83,7 @@ Note that makes a copy of the .Fa path argument. +.El .Sh RETURN VALUES Upon successful completion, these functions return zero. Otherwise they may return |