]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
fts.3: wfix: s/pre-order/preorder/; s/post-order/postorder/
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 16 Jan 2010 17:40:08 +0000 (18:40 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 16 Jan 2010 17:40:08 +0000 (18:40 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/fts.3

index 792754481ce566563002ea684611b0edbd281fb9..03f4a53e7a8da382e7b6ae9b4492d9a66778c3ce 100644 (file)
@@ -73,8 +73,8 @@ The function
 .BR fts_children ()
 returns a pointer to a linked list of structures, each of which describes
 one of the files contained in a directory in the hierarchy.
-In general, directories are visited two distinguishable times; in pre-order
-(before any of their descendants are visited) and in post-order (after all
+In general, directories are visited two distinguishable times; in preorder
+(before any of their descendants are visited) and in postorder (after all
 of their descendants have been visited).
 Files are visited once.
 It is possible to walk the hierarchy "logically" (ignoring symbolic links)
@@ -140,7 +140,7 @@ of their descendants be visited.
 .RS 12
 .TP 12
 .BR FTS_D
-A directory being visited in pre-order.
+A directory being visited in preorder.
 .TP
 .BR FTS_DC
 A directory that causes a cycle in the tree.
@@ -175,11 +175,11 @@ which was not specified as a filename to
 .BR FTS_SEEDOT ).
 .TP
 .BR FTS_DP
-A directory being visited in post-order.
+A directory being visited in postorder.
 The contents of the
 .I FTSENT
 structure will be unchanged from when
-it was returned in pre-order, that is, with the
+it was returned in preorder, that is, with the
 .I fts_info
 field set to
 .BR FTS_D .
@@ -524,7 +524,7 @@ function returns a pointer to an
 structure describing a file in
 the hierarchy.
 Directories (that are readable and do not cause cycles) are visited at
-least twice, once in pre-order and once in post-order.
+least twice, once in preorder and once in postorder.
 All other files are visited at least once.
 (Hard links between directories that do not cause cycles or symbolic
 links to symbolic links may cause files to be visited more than once,
@@ -566,7 +566,7 @@ after the
 .I FTSENT
 structure has been returned by the function
 .BR fts_read ()
-in post-order.
+in postorder.
 .SS fts_children()
 The
 .BR fts_children ()
@@ -598,7 +598,7 @@ Otherwise, if the
 .I FTSENT
 structure most recently returned by
 .BR fts_read ()
-is not a directory being visited in pre-order,
+is not a directory being visited in preorder,
 or the directory does not contain any files,
 .BR fts_children ()
 returns
@@ -668,8 +668,8 @@ but no other fields will have been changed.
 This option is meaningful only for the most recently returned
 file from
 .BR fts_read ().
-Normal use is for post-order directory visits, where it causes the
-directory to be re-visited (in both pre and post-order) as well as all
+Normal use is for postorder directory visits, where it causes the
+directory to be re-visited (in both preorder and postorder) as well as all
 of its descendants.
 .TP
 .BR FTS_FOLLOW
@@ -700,8 +700,8 @@ fields of the returned structure will be unchanged and the
 field will be set to
 .BR FTS_SLNONE .
 .IP
-If the target of the link is a directory, the pre-order return, followed
-by the return of all of its descendants, followed by a post-order return,
+If the target of the link is a directory, the preorder return, followed
+by the return of all of its descendants, followed by a postorder return,
 is done.
 .TP
 .BR FTS_SKIP