diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2008-03-12 15:48:59 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2008-03-12 15:48:59 +0000 |
commit | dc87dccab67375d3362f2ec13a5b1f670a6d2a7a (patch) | |
tree | 11b90a77d26af970bd23ccf3245f3b78054618f9 /lib | |
parent | 38de1d907f06aa673bd1ff440c25dc22450689e9 (diff) | |
download | FreeBSD-src-dc87dccab67375d3362f2ec13a5b1f670a6d2a7a.zip FreeBSD-src-dc87dccab67375d3362f2ec13a5b1f670a6d2a7a.tar.gz |
Describe return values from pmc_ncpu() and pmc_npmc() better.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpmc/pmc_capabilities.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpmc/pmc_capabilities.3 b/lib/libpmc/pmc_capabilities.3 index 7506454..97dc1a3 100644 --- a/lib/libpmc/pmc_capabilities.3 +++ b/lib/libpmc/pmc_capabilities.3 @@ -157,7 +157,10 @@ Functions .Fn pmc_ncpu and .Fn pmc_npmc -returns a positive integer if successful or -1 in case of an error. +returns a positive integer if successful; otherwise the value -1 is +returned and the global variable +.Va errno +is set to indicate the error. .Pp Functions .Fn pmc_capabilities , |