*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 15 Sep 2005 12:27:58 +0000 (12:27 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 15 Sep 2005 12:27:58 +0000 (12:27 +0000)
tests/pthread_utils/mm_pthread_poll.c

index 1d29255..40d2a9e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mm_pthread_poll.c,v 1.3 2005/09/15 11:46:58 mmondor Exp $ */
+/* $Id: mm_pthread_poll.c,v 1.4 2005/09/15 12:27:58 mmondor Exp $ */
 
 /*
  * Copyright (C) 2005, Matthew Mondor
 
 MMCOPYRIGHT("@(#) Copyright (c) 2005\n\
 \tMatthew Mondor. All rights reserved.\n");
-MMRCSID("$Id: mm_pthread_poll.c,v 1.3 2005/09/15 11:46:58 mmondor Exp $");
+MMRCSID("$Id: mm_pthread_poll.c,v 1.4 2005/09/15 12:27:58 mmondor Exp $");
 
 
 
@@ -824,7 +824,7 @@ pthread_poll_ring(struct pollfd *fds, nfds_t nfds, int timeout,
  * pthread_poll_ring().  Will internally set the descriptor in non-blocking
  * mode if necessary, then reverting it to the mode it was supplied in.
  * Returns a new descriptor on success, or a negative value, which can be
- * EINVAL, ETIMEDOUT, ECANCELLED, or others.
+ * EINVAL, ETIMEDOUT, ECANCELED, or others.
  * Timeout is in milliseconds, like for poll(2) and can be -1.
  */
 int
@@ -887,7 +887,7 @@ end:
  * via pthread_ring_t events.  Internally implemented using
  * pthread_poll_ring().  Will internally set the descriptor in non-blocking
  * mode if necessary, then reverting it back to the mode it was supplied in.
- * Returns 0 on sucess, or an error number (EINVAL, ETIMEDOUT, ECANCELLED
+ * Returns 0 on sucess, or an error number (EINVAL, ETIMEDOUT, ECANCELED
  * or other).  Timeout is in milliseconds, like for poll(2) and can be -1.
  * For the application to know the actual connection status result, it should
  * poll until completion and verify the status using getsockopt(2) with