Subject: Re: devprop bogosity
To: Bill Studenmund <wrstuden@netbsd.org>
From: Thomas E. Spanjaard <tgen@netphreax.net>
List: tech-kern
Date: 05/03/2006 00:58:07
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFE5FAC750A7B98F1D657442D
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Bill Studenmund wrote:
> On Tue, May 02, 2006 at 08:25:06PM +0000, Christos Zoulas wrote:
>>Garrett D'Amore <garrett_damore@tadpole.com> wrote:
>>>The prop_get (and devprop_get()) routines return a size_t.  This is an
>>>unsigned value.  Unfortunately, the implementation code returns -1 to
>>>indicate error, such as no such property.
>>Or have a:
>>#define NOPROP	(size_t)-1
> I'd say use ssize_t. However since Jason is driving this at the moment, we 
> probably should wait a bit for him to chime in.

I concur.

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net

--------------enigFE5FAC750A7B98F1D657442D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEWAAj6xCMwBJ+1+sRA1ANAJ4yJ34+1G4QC/adqD8WUoFWEMLspwCeJRwA
WMLxKGaHSo9mAkGp9gZ9FtM=
=/zjR
-----END PGP SIGNATURE-----

--------------enigFE5FAC750A7B98F1D657442D--