peeking into stdin (programing question)

Nick Estes plug-discuss@lists.plug.phoenix.az.us
Sat, 8 Jun 2002 11:28:50 -0700 (MST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use select or poll (I prefer poll personally, but they both work)

	--Nick


On Sat, 8 Jun 2002, John (EBo) David wrote:

>
> sorry for the simple programing question.  I've done this before and
> spaced how.
>
> I need to check if there is input in the standard input in both C and
> C++.  If there is then processit, otherwise keep on going.
>
> can someone hit me with a clue stick?
>
>   EBo --
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE9Akzmv+hjYTGg7s4RAv1+AJ9ymD3CrDWON5WAgpPPieslfx4FTgCdHjvZ
RnHDH/SKYxA72uXrVoj7Dvo=
=B2GQ
-----END PGP SIGNATURE-----