diff options
author | Ron Yorston <rmy@pobox.com> | 2024-05-16 12:48:38 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-05-16 12:48:38 +0100 |
commit | 4588cd440e68af132a212d93cd3c4efd73e530b8 (patch) | |
tree | 9b84291dffc0a664cf101e7739261f88c7599ea6 /init | |
parent | 2a01fe0325524f7745f60a528d1f3076c098d89d (diff) | |
download | busybox-w32-4588cd440e68af132a212d93cd3c4efd73e530b8.tar.gz busybox-w32-4588cd440e68af132a212d93cd3c4efd73e530b8.tar.bz2 busybox-w32-4588cd440e68af132a212d93cd3c4efd73e530b8.zip |
win32: implement getppid(2)
busybox-w32 had a dummy implementation of getppid(2) which always
returned 1. Provide a more realistic version.
The effect is limited:
- The PPID shell variable should report a sensible value.
- The special value to omit the parent PID 'pidof -o %PPID'
should work.
Costs 48 bytes.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions