diff --git a/man3/readdir.3 b/man3/readdir.3 index eb0fafaf0..3578a18b2 100644 --- a/man3/readdir.3 +++ b/man3/readdir.3 @@ -31,7 +31,7 @@ .\" Rework discussion of non-standard structure fields. .\" 2008-09-11, mtk, Document readdir_r(). .\" -.TH READDIR 3 2008-12-19 "" "Linux Programmer's Manual" +.TH READDIR 3 2009-03-30 "" "Linux Programmer's Manual" .SH NAME readdir, readdir_r \- read a directory .SH SYNOPSIS @@ -118,6 +118,9 @@ On success, returns a pointer to a .I dirent structure. +(This structure may be statically allocated; do not attempt to +.BR free (3) +it.) If the end of the directory stream is reached, NULL is returned and .I errno is not changed.