cvs commit: src/lib/libutil pidfile.3

Ruslan Ermilov ru at FreeBSD.org
Fri Mar 3 00:15:22 PST 2006


On Fri, Mar 03, 2006 at 04:43:09AM +0200, Giorgos Keramidas wrote:
> 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?
> 
POSIX only requires that "blksize_t, pid_t, and ssize_t shall be signed
integer types."


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060303/80ad1ad7/attachment.bin


More information about the cvs-src mailing list