Forum > Operating Systems

unix function 'daemon' on freepascal.

(1/2) > >>

BSaidus:
Hi !!
Is there a freepascal function that can be used like a C function daemon.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---   int daemon(int nochdir, int noclose); 
Thanks.

Thaddy:
in the fpc directory /packages/rtl-extra/daemon.pp

Guva:
lazdaemon package.

Creating a service in Lazarus (rus)
https://devlaz.ru/daemons-in-lazarus/

BSaidus:

--- 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.

BSaidus:

--- Quote from: indigo80 on October 25, 2019, 12:22:25 pm ---lazdaemon package.

Creating a service in Lazarus (rus)
https://devlaz.ru/daemons-in-lazarus/

--- End quote ---

I want to write an FPC console application without attaching any object to project.
just functions.

thanks

Navigation

[0] Message Index

[#] Next page

Go to full version