Skip to contentSkip to conversation

Does Linux has File Stream mapping support...?

DISCUSSION Bodo Eggert 1 participant 1 message Nov 18, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · 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");

It's a userspace problem. man "tee".

Doing this in the kernel would be horrible.

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.