Changed documentation
This commit is contained in:
		
					parent
					
						
							
								80d2210895
							
						
					
				
			
			
				commit
				
					
						d96b827e32
					
				
			
		
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,10 @@
 | 
			
		|||
<?php
 | 
			
		||||
/*
 | 
			
		||||
Run the poller from a daemon.
 | 
			
		||||
This script was taken from http://php.net/manual/en/function.pcntl-fork.php
 | 
			
		||||
*/
 | 
			
		||||
/**
 | 
			
		||||
 * @file util/daemon.php
 | 
			
		||||
 * @brief Run the poller from a daemon.
 | 
			
		||||
 *
 | 
			
		||||
 * This script was taken from http://php.net/manual/en/function.pcntl-fork.php
 | 
			
		||||
 */
 | 
			
		||||
function shutdown() {
 | 
			
		||||
	posix_kill(posix_getpid(), SIGHUP);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue