Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen More cleanups and typo corrections.
details: https://anonhg.NetBSD.org/src/rev/0cbcfb28ba3b
branches: trunk
changeset: 1026267:0cbcfb28ba3b
user: kre <kre%NetBSD.org@localhost>
date: Mon Nov 15 16:00:25 2021 +0000
description:
More cleanups and typo corrections.
diffstat:
lib/libc/gen/posix_spawn_file_actions_addchdir.3 | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r 77225766000a -r 0cbcfb28ba3b lib/libc/gen/posix_spawn_file_actions_addchdir.3
--- a/lib/libc/gen/posix_spawn_file_actions_addchdir.3 Mon Nov 15 14:07:30 2021 +0000
+++ b/lib/libc/gen/posix_spawn_file_actions_addchdir.3 Mon Nov 15 16:00:25 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_spawn_file_actions_addchdir.3,v 1.2 2021/11/15 14:07:30 wiz Exp $
+.\" $NetBSD: posix_spawn_file_actions_addchdir.3,v 1.3 2021/11/15 16:00:25 kre Exp $
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -58,11 +58,11 @@
chdir(path)
.Ed
.Pp
-had been called) when a new process is spawned usign this file actions
+had been called) for a new process spawned using this file actions
object.
A relative
.Fa path
-is interpreted in relation to the working directory determined by any
+is interpreted relative to the working directory determined by any
prior actions.
The string pointed to by
.Fa path
@@ -72,16 +72,16 @@
.Pp
The
.Fn posix_spawn_file_actions_addfchdir
-function adds a fchdir action to the object reference by
+function adds a fchdir action to the object referenced by
.Fa file_actions
-that causes the working directory to be set to
+that causes the working directory to be set to the directory referenced by
.Fa fildes
(as if
.Bd -literal -offset indent
fchdir(fildes)
.Ed
.Pp
-had been called) when a new process is spawned using this file actions object.
+had been called) for a new process spawned using this file actions object.
.\" The last paragraph of APPLICATION USAGE
.Pp
File actions are performed in the new process created by
@@ -89,7 +89,9 @@
or
.Fn posix_spawnp
in the same order that they were added to the file actions object.
-Thus the execution of an "open" action that was created by a call to
+Thus the execution of an
+.Dq open
+action that was created by a call to
.Fn posix_spawn_file_actions_addopen
that specifies a relative path will be affected by the execution of a
chdir or fchdir action that was created by a previous call to
@@ -123,7 +125,7 @@
Insufficient memory exists to add the spawn file actions object.
.El
.Pp
-It shall not be considered an error for the
+It is not an error for the
.Fa path
or
.Fa fildes
Home |
Main Index |
Thread Index |
Old Index