🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #71308

Re: daemon - przyklady

#71308
From: Marcin L
Date: Tue, 13 Aug 2013 09:57
23 lines
2039 bytes
Dnia 12.10.2009 Stachu 'Dozzie' K. <dozzie@dynamit.im.pwr.wroc.pl.nospam> napisał/a:
> On 12.10.2009, Seweryn Habdank-WojewĂłdzki wrote:
>> Witam,
>>
>>> Ĺťartujesz,prawda?
>>
>> Nie. Zreszta przyklad ponizej tez nie uzywa funckji (makra) daemon
>> (int,int).
>> Wlasnie chce sie dowiedziec czym rozni sie uzycie funcji daemon
>> (int,int)
>> od fork w polaczeniu z setsid, chdir i umask.
>
> Z grubsza rzecz biorąc niczym. Tak samo jak z grubsza rzecz biorąc
> niczym się nie różni open() od fopen().

He... pogadały dwa geniusze. Zamiast wymyslac przeczytajacie sobie w koncu
jakas ksiazke o podstawach programowania w unix, np. Stvensa. Jest to
dokladnie opisane. Czasem nawet Wam sie przyda.

-- 
ml

http://www.archimedes.eu.org/
Technical Details
Message-ID: <slrnl0k1q7.odm.xxxlkropkamarcin@laser.smc>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <f7af2e8a-0a9e-4678-94ef-5aaf5c72a3ff@y21g2000yqn.googlegroups.com> <hasbt8$l97$1@news.onet.pl> <ebc8066d-49c3-4d27-9a22-0e43feb6d0e5@l9g2000yqi.googlegroups.com> <slrnhd5vlh.4me.dozzie@dynamit.im.pwr.wroc.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-b-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: pl.comp.os.linux.programowanie
From: Marcin L <"xxxl kropka marcin"@gmail.com>
Subject: Re: daemon - przyklady
References: <f7af2e8a-0a9e-4678-94ef-5aaf5c72a3ff@y21g2000yqn.googlegroups.com> <hasbt8$l97$1@news.onet.pl> <ebc8066d-49c3-4d27-9a22-0e43feb6d0e5@l9g2000yqi.googlegroups.com> <slrnhd5vlh.4me.dozzie@dynamit.im.pwr.wroc.pl>
User-Agent: slrn/pre1.0.0-18 (Linux)
Mime-Version: 1.0
Message-ID: <slrnl0k1q7.odm.xxxlkropkamarcin@laser.smc>
Date: 13 Aug 2013 09:57:52 GMT
Lines: 24
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.12.211.92
X-Trace: 1376387872 unt-rea-a-01.news.neostrada.pl 1446 83.12.211.92:51539
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1716
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit