public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Confused/incorrect comments in pthread_equal()
@ 2011-02-09 15:03 Mark Pizzolato - pthreads - win32
  0 siblings, 0 replies; only message in thread
From: Mark Pizzolato - pthreads - win32 @ 2011-02-09 15:03 UTC (permalink / raw)
  To: pthreads-win32

The comments at the beginning of pthread_equal say:
      * DOCPUBLIC
      *      This function returns nonzero if t1 and t2 are equal, else
      *      returns nonzero
Reasonable readers would be confused by the claim that both returns are
nonzero.
It probably should say:
      * DOCPUBLIC
      *      This function returns nonzero if t1 and t2 are equal, else
      *      returns zero


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-09 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 15:03 Confused/incorrect comments in pthread_equal() Mark Pizzolato - pthreads - win32

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).