On Tue, Oct 11, 2011 at 7:16 AM, Gisle Vanem wrote:
> The use of 'pid_t' confuses me a bit:
>
> In common/procmon.c (inside MS_WINDOWS), it's typedef'ed to 'int'
> unconditionally.
>
> And then in common/util.* (tor_terminate_process()) it is assumed to be
> defined in orconfig.h or somewhere
The use of 'pid_t' confuses me a bit:
In common/procmon.c (inside MS_WINDOWS), it's typedef'ed to
'int' unconditionally.
And then in common/util.* (tor_terminate_process()) it is assumed to be
defined in orconfig.h or somewhere else. It's not AFAICS.
It is true that _getpid() returns an