Data Type Questions

I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an unsigned
integer. If it is a defined data type, what .h file defines it. Also, what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

Thanks!

Chris Rose <chris.rose@viasat.com> wrote:

I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an unsigned
integer. If it is a defined data type, what .h file defines it. Also, what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

stdint.h

-xtang

I’m sorry that I’m such a beginner. I can’t find stdint.h. I don’t see it in
/usr/include or any subdirectories.

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9v3arr$k6n$1@nntp.qnx.com

Chris Rose <> chris.rose@viasat.com> > wrote:
I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an
unsigned
integer. If it is a defined data type, what .h file defines it. Also,
what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

stdint.h

-xtang

I just installed the development packages and I have it here. I’m not sure
which one might have it (I just got everything all at once).

The _t postfix usually denotes that it is a type (so you could create a
variable “uint64_t address;”).

-Ron


“Chris Rose” <chris.rose@viasat.com> wrote in message
news:9v3boh$jnr$1@inn.qnx.com

I’m sorry that I’m such a beginner. I can’t find stdint.h. I don’t see it
in
/usr/include or any subdirectories.

“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9v3arr$k6n$> 1@nntp.qnx.com> …
Chris Rose <> chris.rose@viasat.com> > wrote:
I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an
unsigned
integer. If it is a defined data type, what .h file defines it. Also,
what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

stdint.h

-xtang
\

located in include.

“Ron Cococcia” <cococr@cs.rpi.edu> wrote in message
news:9v3hv7$n9r$1@inn.qnx.com

I just installed the development packages and I have it here. I’m not
sure
which one might have it (I just got everything all at once).

The _t postfix usually denotes that it is a type (so you could create a
variable “uint64_t address;”).

-Ron


“Chris Rose” <> chris.rose@viasat.com> > wrote in message
news:9v3boh$jnr$> 1@inn.qnx.com> …
I’m sorry that I’m such a beginner. I can’t find stdint.h. I don’t see
it
in
/usr/include or any subdirectories.

“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9v3arr$k6n$> 1@nntp.qnx.com> …
Chris Rose <> chris.rose@viasat.com> > wrote:
I’m trying to use the io_device_map functions. The output data type
is
“uintptr_t”. Is this just a shorthand notation for a pointer to an
unsigned
integer. If it is a defined data type, what .h file defines it.
Also,
what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

stdint.h

-xtang


\

Hi. Chris,

Where do you find out io_device_map() ? I’d like to read its docu.
It seems to me good function to point devc-ser8250 to extended PCMCIA serial
card.
Thanks.

Pasus

I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an
unsigned
integer. If it is a defined data type, what .h file defines it. Also, what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

Thanks!

“Pasus” <pasus@mail.nu> wrote in message news:9v69ov$mmb$1@inn.qnx.com

Hi. Chris,

Where do you find out io_device_map() ? I’d like to read its docu.

It’s mmap_device_io()

It seems to me good function to point devc-ser8250 to extended PCMCIA
serial
card.

??? I think you misunderstood what the function does.


Thanks.

Pasus

I’m trying to use the io_device_map functions. The output data type is
“uintptr_t”. Is this just a shorthand notation for a pointer to an
unsigned
integer. If it is a defined data type, what .h file defines it. Also,
what
does the “_t” postfix indicate?
Also same questions as above except for “uint64_t” data type.

Thanks!
\