daemon.3 (1574) | daemon.3 (15874) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 23 unchanged lines hidden (view full) --- 32.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93 33.Dd June 9, 1993 34.Dt DAEMON 3 35.Os 36.Sh NAME 37.Nm daemon 38.Nd run in the background 39.Sh SYNOPSIS | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 23 unchanged lines hidden (view full) --- 32.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93 33.Dd June 9, 1993 34.Dt DAEMON 3 35.Os 36.Sh NAME 37.Nm daemon 38.Nd run in the background 39.Sh SYNOPSIS |
40.Fd #include <stdlib.h> |
|
40.Fn daemon "int nochdir" "int noclose" 41.Sh DESCRIPTION 42.Pp 43The 44.Fn daemon 45function is for programs wishing to detach themselves from the 46controlling terminal and run in the background as system daemons. 47.Pp --- 27 unchanged lines hidden --- | 41.Fn daemon "int nochdir" "int noclose" 42.Sh DESCRIPTION 43.Pp 44The 45.Fn daemon 46function is for programs wishing to detach themselves from the 47controlling terminal and run in the background as system daemons. 48.Pp --- 27 unchanged lines hidden --- |