Subject: Data types in kernel-compatible code
To: None <tech-kern@netbsd.org>
From: Florian Stoehr <netbsd@wolfnode.de>
List: tech-kern
Date: 12/31/2004 22:35:19
Hi,

for normal I always program in c++, not pure c.

I have a question regarding data types used in kernel or other
code in the netbsd project.

For written data (to file) in my programs, I use the "int32_t" or
"uint32_t" types.

Is it okay to use those types (from /usr/include/sys/stdint.h) in
"netbsd-compatible" code, regarding the style?

(I read "u_long" somewhere)?

/usr/share/misc/style doesn't really answer my question...

-Florian