🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10871

Re: segundo plano

#10871
From: Ripe/7a69
Date: Mon, 28 Jan 2002 02:40
16 lines
1488 bytes
> 
> �sabe alguien s abeque funcion  y en que libreria esta, o en todo caso que 
> llamada al sistema puedo usar para pasar el programa a segundo plano 
> directamente?
>         Saludos y gracias.
> 

Ahi va un ejemplo...

int main() {
   if (fork()) exit(0);
   while(1);
}

Esto quedara en background.
Technical Details
Message-ID: <3C54BA22.2050108@NO-SPAM-HERE7a69ezine.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!news.audiolis.com!62.57.125.54!dakota.dakotabcn.net!helvete!news.bcn.ttd.net!not-for-mail
References: <3U158.103516$MO1.442040@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d024572f7224ea49
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-01-28 03:06:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!news.audiolis.com!62.57.125.54!dakota.dakotabcn.net!helvete!news.bcn.ttd.net!not-for-mail
From: Ripe/7a69 <ripe@NO-SPAM-HERE7a69ezine.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: segundo plano
Date: Mon, 28 Jan 2002 03:40:34 +0100
Organization: Telefonica Transmision de Datos
Lines: 17
Message-ID: <3C54BA22.2050108@NO-SPAM-HERE7a69ezine.org>
References: <3U158.103516$MO1.442040@telenews.teleline.es>
NNTP-Posting-Host: ctv21225139151.ctv.es
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.wanadoo.es 1012215614 1172 212.25.139.151 (28 Jan 2002 11:00:14 GMT)
X-Complaints-To: usenet@wanadoo.es
NNTP-Posting-Date: Mon, 28 Jan 2002 11:00:14 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020121