summaryrefslogtreecommitdiffstats
path: root/share/man/man7/clocks.7
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
committermpp <mpp@FreeBSD.org>1996-04-08 04:18:31 +0000
commit3c57dc77537bfff8a25b061e147f5a1194613a28 (patch)
tree78fa3bb3a263f5518e1eaa6bea101b7b19200ce5 /share/man/man7/clocks.7
parentcdc4afc0a8a13743387100d7e5e163b1dcd87323 (diff)
downloadFreeBSD-src-3c57dc77537bfff8a25b061e147f5a1194613a28.zip
FreeBSD-src-3c57dc77537bfff8a25b061e147f5a1194613a28.tar.gz
Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
Diffstat (limited to 'share/man/man7/clocks.7')
-rw-r--r--share/man/man7/clocks.719
1 files changed, 12 insertions, 7 deletions
diff --git a/share/man/man7/clocks.7 b/share/man/man7/clocks.7
index 7c3babf..fa6abe5 100644
--- a/share/man/man7/clocks.7
+++ b/share/man/man7/clocks.7
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: clocks.7,v 1.1 1996/04/05 08:51:22 joerg Exp $
+.\" $Id: clocks.7,v 1.2 1996/04/07 21:12:10 mpp Exp $
.\" "
.Dd April 1, 1996
.Os
@@ -52,8 +52,11 @@ happens to be 128. It isn't directly available to applications.
The clock reported by
.Xr clock 3 .
This is a virtual clock with a frequency that happens to be 128. It's
-actual frequency is given by the macro CLOCKS_PER_SEC. Note that
-CLOCKS_PER_SEC may be floating point. Don't use
+actual frequency is given by the macro
+.Dv CLOCKS_PER_SEC .
+Note that
+.Dv CLOCKS_PER_SEC
+may be floating point. Don't use
.Fn clock
in new programs under FreeBSD. It is feeble compared with
.Xr getrusage 2 .
@@ -64,13 +67,15 @@ and throwing away information and resolution.
The clock reported by
.Xr times 3 .
This is a virtual clock with a frequency that happens to be 128. It's
-actual frequency is given by the macro CLK_TCK (deprecated; don't use)
-and by
+actual frequency is given by the macro
+.Dv CLK_TCK
+(deprecated; don't use) and by
.Fn sysconf SC_CLK_TCK
and by
.Xr sysctl 3 .
-Note that its frequency may be different from CLOCKS_PER_SEC. Don't
-use
+Note that its frequency may be different from
+.Dv CLOCKS_PER_SEC .
+Don't use
.Xr times 3
in new programs under FreeBSD. It is feeble compared with
.Xr gettimeofday 2
OpenPOWER on IntegriCloud