cvs commit: src/sys/sys types.h

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Fri Jun 3 04:10:06 PDT 2005


-On [20050603 11:52], Jeroen Ruigrok/asmodai (asmodai at xxxxxxxxxxxxxxxxxxxxxxx) wrote:
>  Modified files:
>    sys/sys              types.h 
>  Log:
>  Add blkcnt_t and blksize_t per IEEE Std 1003.1, 2004 Edition.
>  
>  I do not understand why both FreeBSD and NetBSD use an unsigned integer,
>  when the specification clearly states an signed integer should be used.

I am expecting that the type restructuring/adding will take a little while.
There's a lot of additional support needed, at least one environment needs
to provide a long-limited types environment according to POSIX requirements.

Right now, given the fact that there's no implicit limit I've stuck to 64
bit in lieu of future filesystem work which will move us from 32 bit to 64
bit.

Joerg, which do you want to see wrapped in DECLARED?

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Hypocrisy is the homage which vice pays to virtue...





More information about the Commits mailing list