[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [PROGRAMMERING] C rutine til exec + pipe til og fra




>-----Original Message-----
>From: sslug@sslug [mailto:sslug@sslug Behalf Of
>Jacob Sparre Andersen
>Sent: Thursday, May 13, 2004 9:59 PM
>To: sslug@sslug
>Subject: Re: [PROGRAMMERING] C rutine til exec + pipe til og fra
>
>
>Holger Bille skrev:
>> Jacob Sparre Andersen skrev:
>
>> > > Er der en af jer, der har en _elegant_ ansi C rutine til at lave
>> > > en exec af et eksternt program, hvor man give et dataområde til
>> > > stdin og få udfyldt to dataområder til hhv stdout og stderr?
>> >
>> > Jeg mener den funktion findes i et af standardbibliotekerne.
>> 
>> Og den hedder.....?

Jeg ville egentlig have troet at pipesne bare ville fylde hele din swap???

ellers kan du jo falde tilbage til følgende hvis det ikke er nødvendigt at 
lave det interaktivt.

system("wc dinfil > xxx");
x = fopen("xxx","r");

>

>Jacob
>-- 
>»han skriver det aldrig så ondt som det er ment«


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *