Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
& הוסף קובץ אחרוןall characters, up to and including the next newline, are discarded without performing any macro expansion
Вставить содержимое файлаall characters, up to and including the next newline, are discarded without performing any macro expansion
Laatste Update: 2011-10-23
Gebruiksfrequentie: 1
Kwaliteit:
Waarschuwing: Bevat onzichtbare HTML-opmaak
?php $pid = pcntl_fork(); if ($pid == -1) {die("could not fork");} else if ($pid) {exit(); / / we are the parent} else {/ / we are the child} / / detatch from the controlling terminal if (!posix_setsid()) {die("could not detach from terminal");} / / setup signal handlers pcntl_signal(sigterm, "sig_handler"); pcntl_signal(sighup, "sig_handler"); / / loop forever performing tasks while(1) {/ / do something interesting here} function sig_handler($signo) {switch($signo) {case sigterm: / / handle shutdown tasks exit; break; case sighup: / / handle restart tasks break; default: / / handle all other signals}}?
Смотрите также
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
Waarschuwing: Bevat onzichtbare HTML-opmaak