aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-05-16 12:48:38 +0100
committerRon Yorston <rmy@pobox.com>2024-05-16 12:48:38 +0100
commit4588cd440e68af132a212d93cd3c4efd73e530b8 (patch)
tree9b84291dffc0a664cf101e7739261f88c7599ea6 /init
parent2a01fe0325524f7745f60a528d1f3076c098d89d (diff)
downloadbusybox-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