cvs commit: src/lib/libutil pidfile.3

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Mar 2 18:44:04 PST 2006


On 2006-01-28 14:13, Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:
> pjd         2006-01-28 14:13:15 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     lib/libutil          pidfile.3
>   Log:
>   - Add a note that passing NULL to pidfile_write(), pidfile_remove() and
>     pidfile_close() functions is safe. This possibility is used in example code.
>   - Cast pid_t to int.

Hi Pawel,

Doesn't it make more sense to cast pid_t to intmax_t, or is it by
definition always <= int?



More information about the cvs-src mailing list