Forum > Operating Systems

unix function 'daemon' on freepascal.

<< < (2/2)

Thaddy:
The daemon example uses a very shallow object wrapper around the procedural interfaces, so simply examine the implementation.
Note you will lose cross-platform capabilities if you don't use the class wrapper.

marcov:

--- Quote from: BSaidus on October 25, 2019, 02:53:59 pm ---
--- Quote from: Thaddy on October 25, 2019, 11:31:43 am ---in the fpc directory /packages/rtl-extra/daemon.pp

--- End quote ---
I use trunk version of FPC and there is not such unit.
Thanks.

--- End quote ---

There is a src/ missing.

BSaidus:

--- Quote from: marcov on October 25, 2019, 03:11:22 pm ---
--- Quote from: BSaidus on October 25, 2019, 02:53:59 pm ---
--- Quote from: Thaddy on October 25, 2019, 11:31:43 am ---in the fpc directory /packages/rtl-extra/daemon.pp

--- End quote ---
I use trunk version of FPC and there is not such unit.
Thanks.

--- End quote ---

There is a src/ missing.

--- End quote ---

NO !! there is not !!
Or I miss something. ;)

lucamar:
Look inside packages/rtl-extra/src/

Sorry; just looked and it's in: packages/fcl-extra/examples/daemon.pp

BSaidus:
Thnks to all.
I found a fork function and it make my needs.

thank you !!

Navigation

[0] Message Index

[*] Previous page

Go to full version