diff options
| author | Mistivia <i@mistivia.com> | 2025-11-02 15:29:28 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-11-02 15:29:28 +0800 |
| commit | 9f42c2d5f911cb4e215d7873221e642ce7df4d61 (patch) | |
| tree | 6dac90a889a7402a9556d3d1bcc5cb53cdb9f123 /ngircd/src/portab/waitpid.c | |
| parent | fb2d9de539b660a261af19b1cbcceb7ee7980cb1 (diff) | |
deprecate webircdateway and ngircd
Diffstat (limited to 'ngircd/src/portab/waitpid.c')
| -rw-r--r-- | ngircd/src/portab/waitpid.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ngircd/src/portab/waitpid.c b/ngircd/src/portab/waitpid.c deleted file mode 100644 index 921dd3d..0000000 --- a/ngircd/src/portab/waitpid.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * ngIRCd -- The Next Generation IRC Daemon - */ - -#include "portab.h" - -/** - * @file - * waitpid() implementation. Public domain. - * Written by Steven D. Blackford for the NeXT system. - */ - -#ifndef HAVE_WAITPID - -#include <string.h> -#include <stdlib.h> -#include <sys/types.h> - -GLOBAL int -waitpid(pid, stat_loc, options) -int pid, *stat_loc, options; -{ - for (;;) { - int wpid = wait(stat_loc); - if (wpid == pid || wpid == -1) - return wpid; - } -} - -#endif |
