Skip site navigation (1)Skip section navigation (2)
Date:      13 Nov 1999 07:03:33 -0000
From:      okazaki@be.to
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/14858: pthread_cond_{destroy,timed_wait,wait}.3 typo fix
Message-ID:  <19991113070333.16883.qmail@dolphin.be.to>

next in thread | raw e-mail | index | archive | help

>Number:         14858
>Category:       docs
>Synopsis:       pthread_cond_{destroy,timed_wait,wait}.3 typo fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 23:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     OKAZAKI Tetsurou
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Unknown
>Environment:

	pthread_cond_destroy.3   1.5 Sat Aug 28 00:03:03 1999
	pthread_cond_timedwait.3 1.6 Sat Aug 28 00:03:04 1999
	pthread_cond_wait.3      1.6 Sat Aug 28 00:03:04 1999

>Description:

	There are typos in the manual pages above.

>How-To-Repeat:

	

>Fix:
	
	Apply this patch, thanks.

Index: pthread_cond_destroy.3
===================================================================
RCS file: /home/ncvs/FreeBSD/src/lib/libc_r/man/pthread_cond_destroy.3,v
retrieving revision 1.5
diff -u -r1.5 pthread_cond_destroy.3
--- pthread_cond_destroy.3	1999/08/28 00:03:03	1.5
+++ pthread_cond_destroy.3	1999/11/13 05:43:56
@@ -44,7 +44,7 @@
 .Fa cond .
 .Sh RETURN VALUES
 If successful, the
-.Fn pthread_cond_init
+.Fn pthread_cond_destroy
 function will return zero, otherwise an error number will be returned
 to indicate the error.
 .Sh ERRORS
Index: pthread_cond_timedwait.3
===================================================================
RCS file: /home/ncvs/FreeBSD/src/lib/libc_r/man/pthread_cond_timedwait.3,v
retrieving revision 1.6
diff -u -r1.6 pthread_cond_timedwait.3
--- pthread_cond_timedwait.3	1999/08/28 00:03:04	1.6
+++ pthread_cond_timedwait.3	1999/11/13 05:39:52
@@ -52,7 +52,7 @@
 with the same condition variable, or if the system time reaches the
 time specified in
 .Fa abstime ,
-and the current thread reaquires the lock on
+and the current thread requires the lock on
 .Fa mutex .
 .Sh RETURN VALUES
 If successful, the
Index: pthread_cond_wait.3
===================================================================
RCS file: /home/ncvs/FreeBSD/src/lib/libc_r/man/pthread_cond_wait.3,v
retrieving revision 1.6
diff -u -r1.6 pthread_cond_wait.3
--- pthread_cond_wait.3	1999/08/28 00:03:04	1.6
+++ pthread_cond_wait.3	1999/11/13 05:42:26
@@ -48,7 +48,7 @@
 The waiting thread unblocks only after another thread calls
 .Xr pthread_cond_signal 3 , or
 .Xr pthread_cond_broadcast 3
-with the same condition variable, and the current thread reaquires the lock
+with the same condition variable, and the current thread requires the lock
 on
 .Fa mutex .
 .Sh RETURN VALUES



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991113070333.16883.qmail>