Subject: lib/4154: ualarm.3 man page contains errors
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@tardis.bernstein.com>
List: netbsd-bugs
Date: 09/25/1997 18:20:32
>Number:         4154
>Category:       lib
>Synopsis:       ualarm.3 man page contains errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 25 15:35:03 1997
>Last-Modified:
>Originator:     maximum entropy
>Organization:
	
>Release:        <NetBSD-current source date>19970924
>Environment:
	
System: NetBSD tardis.bernstein.com 1.2G NetBSD 1.2G (C466DE) #0: Wed Sep 24 08:31:32 EDT 1997 entropy@tardis.bernstein.com:/usr/src/sys/arch/i386/compile/C466DE i386


>Description:
	
The ualarm.3 man page contains two errors.
- it refers to a parameter as "value" which is called "microseconds"
  everywhere else in the document
- it refers to itself as "alarm" instead of "ualarm"
>How-To-Repeat:
	
man 3 ualarm
>Fix:
	

--- /usr/src/lib/libc/gen/ualarm.3-orig	Fri Jan 17 07:12:10 1997
+++ /usr/src/lib/libc/gen/ualarm.3	Thu Sep 25 18:12:40 1997
@@ -66,11 +66,11 @@
 to the process every
 .Fa interval
 microseconds after the timer expires (e.g. after
-.Fa value
+.Fa microseconds
 microseconds have passed).
 .Sh RETURN VALUES
 When the signal has successfully been caught,
-.Fn alarm
+.Fn ualarm
 returns the amount of time left on the clock.
 The maximum number of
 .Ar microseconds
>Audit-Trail:
>Unformatted: