Discussion:
A stupid question (again)
(too old to reply)
Lukas Himsel
2015-09-27 13:06:36 UTC
Permalink
What is the type of `mach_msg_type_number_t'? Is it a `typedef' of
something like `unsigned long' or what is the type?
Thanks for answers.

Best regards
Lukas
Bruno Félix Rezende Ribeiro
2015-09-29 06:39:19 UTC
Permalink
Hello Lukas!

Em Sun, 27 Sep 2015 15:06:36 +0200
Post by Lukas Himsel
What is the type of `mach_msg_type_number_t'?
The file gnumach-1.4+git20150409/include/mach/message.h defines it
like this:

typedef natural_t mach_msg_type_number_t;

And the file gnumach-1.4+git20150409/i386/include/mach/i386/vm_types.h
defines 'natural_t' like this:

typedef unsigned int natural_t;


If you use GNU Emacs, you can install the GNU Global library
(available from GNU ELPA), to inspect the kernel types and references
in a very straightforward manner.
--
,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
((_/)o o(\_)) http://oitofelix.freeshell.org/
`-'(. .)`-' irc://chat.freenode.org/oitofelix
\_/ xmpp:***@riseup.net

GNU ccd2cue maintainer
GNU Savannah hacker
GNU web translation team coordinator (Brazilian Portuguese)
GNU audio and video maintainer
DMOZ free software editor (Portuguese)
UFU FAMAT PET member

[GNU DISCLAIMER] I'm a GNU hacker, but my views don't necessarily
match those of the GNU project. Hereby I express my own opinion,
style and perception, in good faith, aiming the betterment of GNU.
Loading...