#if __DARWIN_UNIX03
#ifdef VARIANT_CANCELABLE
#include <pthread.h>
-
-extern void _pthread_testcancel(pthread_t thread, int isconforming);
#endif /* VARIANT_CANCELABLE */
#endif /* __DARWIN_UNIX03 */
{
#if __DARWIN_UNIX03
#ifdef VARIANT_CANCELABLE
- _pthread_testcancel(pthread_self(), 1);
+ pthread_testcancel();
#endif /* VARIANT_CANCELABLE */
#endif /* __DARWIN_UNIX03 */
return (_ioctl(fd, TIOCDRAIN, 0));
tcflow(fd, action)
int fd, action;
{
- struct termios term;
- u_char c;
-
switch (action) {
case TCOOFF:
return (_ioctl(fd, TIOCSTOP, 0));