lkml.org 
[lkml]   [2001]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Need blocking /dev/null
Date
From
> How bout just `mkfifo /tmp/blockme`
> and read on /tmp/blockme - just don't write to it!

I don't think that will work, not the same way anyway. The problem is it
will block on open(2) and will never get to read(2).


Marko

--
Marko Rauhamaa mailto:marko@pacujo.nu http://www.pacujo.nu/marko/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.118 / U:10.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site