|
From: | Stefan Monnier |
Subject: | Re: Non-blocking open-network-stream |
Date: | Fri, 22 Feb 2002 11:04:19 -0500 |
> > > ! non_blocking = (NILP (non_blocking) ? Qnil : Qt); > > > ! #ifdef NON_BLOCKING_CONNECT > > > ! is_non_blocking = !NILP (non_blocking); > > > ! #else > > > ! is_non_blocking = 0; > > > ! #endif > > > > Wouldn't non_blocking_p be a more lispy name? :-) > Yes - but is_non_blocking is not a lisp object :-) Actually the answer was `no'. The `p' postfix stands for `predicate'. A predicate is not a mere boolean value but a function that returns a boolean. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |