From 01548ace1533487f9c0488f55112c9d8641f8184 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 2 Jul 2004 23:52:20 +0000 Subject: Mechanically kill hard sentence breaks. --- lib/libc/gen/directory.3 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/libc/gen/directory.3') diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index ce1ead7..5cd6667 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -78,7 +78,8 @@ with it and returns a pointer to be used to identify the .Em directory stream -in subsequent operations. The pointer +in subsequent operations. +The pointer .Dv NULL is returned if .Fa filename @@ -89,7 +90,8 @@ enough memory to hold the whole thing. The .Fn readdir function -returns a pointer to the next directory entry. It returns +returns a pointer to the next directory entry. +It returns .Dv NULL upon reaching the end of the directory or detecting an invalid .Fn seekdir @@ -102,7 +104,8 @@ provides the same functionality as .Fn readdir , but the caller must provide a directory .Fa entry -buffer to store the results in. If the read succeeds, +buffer to store the results in. +If the read succeeds, .Fa result is pointed at the .Fa entry ; @@ -126,7 +129,8 @@ are good only for the lifetime of the .Dv DIR pointer, .Fa dirp , -from which they are derived. If the directory is closed and then +from which they are derived. +If the directory is closed and then reopened, prior values returned by .Fn telldir will no longer be valid. -- cgit v1.1