iovec.h
Go to the documentation of this file.
1 #ifndef TTG_UTIL_IOVEC_H_
2 #define TTG_UTIL_IOVEC_H_
3 
4 #include <cstdint>
5 
6 namespace ttg {
7 
11  struct iovec {
13  std::size_t num_bytes;
15  void* data;
16  };
17 
18 } // ttg
19 
20 #endif // TTG_UTIL_IOVEC_H_
top-level TTG namespace contains runtime-neutral functionality
Definition: keymap.h:8
std::size_t num_bytes
The number of bytes to read from / write to the memory location given by data.
Definition: iovec.h:13
void * data
Pointer to the data to be read from / written to.
Definition: iovec.h:15