blob: 4574096cb1afba3a3560647a03a6d60775330bd8 (plain
?RCS: $Id: d_rdchk.U 1 2006-08-24 12:32:52Z rmanfredi $
?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?RCS: You may redistribute only under the terms of the Artistic Licence,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
?RCS: that same Artistic Licence; a copy of which may be found at the root
?RCS: of the source tree for dist 4.0.
?RCS: $Log: d_rdchk.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:51 ram
?RCS: Baseline for dist 3.0 netwide release.
?MAKE: -pick add $@ %<
?S: This variable conditionally defines the HAS_RDCHK symbol, which
?S: indicates to the C program that the rdchk() routine is available
?S: to find out if there is input pending on an IO channel.
?C: This symbol, if defined, indicates that the rdchk routine is available
?C: to find out if there is input pending on an IO channel. Generally
?C: the routine is used only if FIONREAD and O_NDELAY aren't available.
?H:#$d_rdchk HAS_RDCHK /**/
: see if rdchk exists
set rdchk d_rdchk