Subject: Re: pidfile(3)
To: None <>
From: None <>
List: tech-userlevel
Date: 05/22/2002 10:08:12
>> 	there are prototype differences between pidfile(3) in libutil.
>> 	do you mind if i change NetBSD decl to sync with OpenBSD decl?
>> NetBSD: void pidfile(const char *);
>> OpenBSD: int pidfile(const char *);
>what's the actual interface change?  what does the openbsd version
>return?  are you also going to change our implementation to match

	they return -1 on errors, and errno should indicate the cause.
	and yes, i'd like to follow their behavior.  there's no need for this
	micro-difference IMHO, and it is sometimes important for callers to
	know that it have failed.