From 8be6c69e978fed7b26b690eae9d3ac7456cdfe45 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 20 Jan 2011 09:21:57 +0100 Subject: [PATCH] docs/fscrawl: read does not close anymore --- docs/fscrawl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fscrawl.txt b/docs/fscrawl.txt index 6e53edd..889215c 100644 --- a/docs/fscrawl.txt +++ b/docs/fscrawl.txt @@ -42,7 +42,7 @@ Functions `fsc_read()`:: Reads one entry from `fscrawl_t` and returns it. + -If the traversal is completed. the function closes `fscrawl_t` and returns `NULL`. +If the traversal is completed `NULL` is returned. + NOTE: if you need to safe the `fs_entry` structure this function returns, make a call to `fsc_cpy()` + otherwise you data will be overwritten by further calls to `fsc_read()`.