diff options
| author | Mistivia <i@mistivia.com> | 2025-11-05 15:34:49 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-11-05 15:34:49 +0800 |
| commit | 95caa5bdaff4e5b5a924a9141b51c756a57abc0f (patch) | |
| tree | bb0ff8eddfe8a06558317464cea14405e76b7ebc /deprecated-ngircd/src/portab/waitpid.c | |
| parent | 8532af453ccc9071ddc919b063788d6b496af991 (diff) | |
remove deprecated
Diffstat (limited to 'deprecated-ngircd/src/portab/waitpid.c')
| -rw-r--r-- | deprecated-ngircd/src/portab/waitpid.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/deprecated-ngircd/src/portab/waitpid.c b/deprecated-ngircd/src/portab/waitpid.c deleted file mode 100644 index 921dd3d..0000000 --- a/deprecated-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 |
