on old kernels, there's no way to detect errors; we must assume negative syscall return values are pgrp ids. but if the F_GETOWN_EX fcntl works, we can get a reliable answer. |
||
|---|---|---|
| .. | ||
| creat.c | ||
| fcntl.c | ||
| open.c | ||
| openat.c | ||
| posix_fadvise.c | ||
| posix_fallocate.c | ||
on old kernels, there's no way to detect errors; we must assume negative syscall return values are pgrp ids. but if the F_GETOWN_EX fcntl works, we can get a reliable answer. |
||
|---|---|---|
| .. | ||
| creat.c | ||
| fcntl.c | ||
| open.c | ||
| openat.c | ||
| posix_fadvise.c | ||
| posix_fallocate.c | ||