lkml.org 
[lkml]   [2005]   [Nov]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectDoes Linux has File Stream mapping support...?
DateFri, 18 Nov 2005 16:08:00 +0530
From"Arijit Das" <>
Is it possible to have File Stream Mapping in Linux? What I mean is
this...

FILE * fp1 = fopen("/foo", "w");
FILE * fp2 = fopen("/bar", "w");
FILE * fp_common = <Stream_Mapping_Func>(fp1, fp2);

fprint(fp_common, "This should be written to both files ... /foo and
/bar");

So, what I am looking for is anything written to "fp_common" should
actually be written to the streams fp1 and fp2.

Does Linux support this any way? Is there any way to achieve this...? Is
there anything like <Stream_Mapping_Func>(above) ...?

Do pardon me if you feel that it is a wrong Forum to ask this question
but I tried everywhere else and thought that implementers would best
know about it, if at all anything like that exists.

Thanks,
Arijit
-
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-11-18 11:40    [from the cache]
©2003-2008