pointers pointers pointers!!! 
Author Message
 pointers pointers pointers!!!

  hey, would anyone translate the following structure to plain english?

typedef struct {
    int vsize;     /* length of vectors */
    int size;      /* total size in bytes */
    SysIOVec* iov;
    DriverBinary**  binv;

Quote:
} ErlIOVec;

  thanks,
Enrique

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 14 May 2002 03:00:00 GMT  
 pointers pointers pointers!!!

Quote:
>   hey, would anyone translate the following structure to plain english?
> typedef struct {

   Make a group of

Quote:
>     int vsize;     /* length of vectors */

   an integer containing the length of the vectors,

Quote:
>     int size;      /* total size in bytes */

   the total size in bytes,

Quote:
>     SysIOVec* iov;

   a pointer to a non-standard type 'SysIOVec',

Quote:
>     DriverBinary**  binv;

   and a pointer to a pointer to a non-standard type
'DriverBinary'

Quote:
> } ErlIOVec;

   be referred to as a type named 'ErlIOVec'.

   Make a group of an integer containing the length of the
vectors, the total size in bytes, a pointer to a non-standard
type 'SysIOVec', and a pointer to a pointer to a non-standard
type 'DriverBinary' be referred to as a type named 'ErlIOVec'.

   Consider a C book for more information.




Tue, 14 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Dereferencing f-pointers, arrays of f-pointers, pointers to f-pointers

2. memory leak: pointer->pointer->pointer->struct

3. Pointer of Pointers was Pointer of arrays...

4. memory block containing pointers, aka pointer to pointer i believe

5. memory Leak: pointer->pointer->pointer->struct

6. Pointer Functions and Pointers to Pointer Functions

7. Pointer to Pointer to Pointer....

8. Question on pointer-to-pointer-to-pointer

9. How to use (pointer to function), and function and pointer to (pointer to function)

10. double pointer (or pointer to pointer)

11. Pointers: return of pointer to array of pointers to main

12. Why Wont This Compile Right--Pointer to Pointer to Pointer to Float

 

 
Powered by phpBB® Forum Software