This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]Fix the output of argument "options" for wait4, waitpid and waitid


Cai Fei <caifei@cn.fujitsu.com> writes:

> The system calls wait4, waitpid and waitid has an argument "int options".
>[...]
> and the values of WSTOPPED and WUNTRACED are equal.

It looks like all the matching names have matching values across the
system calls (which makes sense).  So why not just add WNOWAIT to the
_wait4_opt_str(), and perhaps rename it to indicate that it accepts a
union of all the wait* options?

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]