Parent Directory
|
Revision Log
|
Patch
| Revision 1.15 by sysadm, Tue May 6 05:31:26 2025 UTC | Revision 1.16 by sysadm, Mon May 12 03:54:14 2025 UTC | |
|---|---|---|
| # | Line 23 | Line 23 |
| 23 | #include <string.h> | #include <string.h> |
| 24 | #include <unistd.h> | #include <unistd.h> |
| 25 | #include <stdlib.h> | #include <stdlib.h> |
| 26 | #include <errno.h> | |
| 27 | ||
| 28 | int fork_server() | int fork_server() |
| 29 | { | { |
| # | Line 38 int fork_server() | Line 39 int fork_server() |
| 39 | } | } |
| 40 | else if (pid < 0) // Error | else if (pid < 0) // Error |
| 41 | { | { |
| 42 | log_error("fork() error (%d)\n", errno); | |
| 43 | return -1; | return -1; |
| 44 | } | } |
| 45 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |