]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clarify getfsstat(2) usage.
authorAlfred Perlstein <alfred@FreeBSD.org>
Fri, 16 Jul 2004 01:18:13 +0000 (01:18 +0000)
committerAlfred Perlstein <alfred@FreeBSD.org>
Fri, 16 Jul 2004 01:18:13 +0000 (01:18 +0000)
commit85e8765b7eb67206e0683ab764011c4f8800d8de
tree8ce4c83bc8f2fb37e8cd61b413306ef02ef10515
parentdad7b41a9b0c362f37fefd78b791439d08164b18
Clarify getfsstat(2) usage.

The getfsstat(2) function expects a buffer and a count, and returns a count.

The confusing part is that the count it takes is a byte count, while the
return value is a count of the number of structures it has filled out.

Spell this out.
lib/libc/sys/getfsstat.2