Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 15:20:59 -0600
From:      Jim Bryant <kc5vdj@yahoo.com>
To:        "Nicpon, John" <John.Nicpon@SouthTrust.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Unix Philosophers Please!
Message-ID:  <3BE06B3B.3060004@yahoo.com>
References:  <2AACFCDB6086274CA42D44085EF1BAA2293FF3@msm-001.msg.stcorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nicpon, John wrote:

> Please specifically define where data goes that is sent to /dev/null
> 


Without actually looking at the code, the generic definition of /dev/null goes something to the effect of:


----
open /dev/null

while(1)
{
	select on /dev/null
	read byte from /dev/null
}
----

So basically, it just reads what is there, but does absolutely nothing with it.


jim
-- 
          ET has one helluva sense of humor!
     He's always anal-probing right-wing schizos!
-----------------------------------------------------
                POWER TO THE PEOPLE!
-----------------------------------------------------
"Religious fundamentalism is the biggest threat to
     international security that exists today."
  United Nations Secretary General B.B.Ghali, 1995


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BE06B3B.3060004>