Re: cast pid_t to int when using *printf - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: cast pid_t to int when using *printf
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE475D3C@algol.sollentuna.se
Whole thread Raw
In response to cast pid_t to int when using *printf  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: cast pid_t to int when using *printf  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
> (Btw., the Windows port defines pid_t as unsigned long;
> that's surely wrong.)

In what way is that wrong? A PID on Windows is a DWORD, which is an
unsigned long. Or am I missing something (probably..)?

//Magnus

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: cast pid_t to int when using *printf
Next
From: Peter Eisentraut
Date:
Subject: Re: cast pid_t to int when using *printf