-/* $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 $");
* 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
* 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