]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363829: directory(3): Add an ERRORS section
authorGordon Bergling <gbe@FreeBSD.org>
Tue, 11 Aug 2020 10:56:44 +0000 (10:56 +0000)
committerGordon Bergling <gbe@FreeBSD.org>
Tue, 11 Aug 2020 10:56:44 +0000 (10:56 +0000)
commit64d666b7ccc97aa4104b3110abd0da7c7ec67ccd
treece7812e53eb3355c8ddc03701b62e6d42fd40dee
parentfa9ec3fece5aa31be89ba29783f16d976d3f83b0
MFC r363829: directory(3): Add an ERRORS section

- Add an ERRORS section for opendir(3) and closedir(3)
- Document also the errors of readdir(3), readdir_r(3) and telldir(3)
- Convert the code sample into an EXAMPLES section

PR: 75711
Submitted by: abc <abc at ai1 dot anchorage dot mtaonline dot net>
Reviewed by: 0mp, bcr, jilles
Approved by: 0mp, bcr, jilles
Obtained from: partial from OpenBSD
Differential Revision: https://reviews.freebsd.org/D25892
lib/libc/gen/directory.3