The HyperNews Linux KHG Discussion Pages

## Forced Cast data type

  Forum: The Linux Kernel Hackers' Guide
  Re: How can my device driver access data structures in user space? (Stephan Theil)
  Keywords: device driver
  Date: Fri, 05 Jun 1998 02:45:35 GMT
  From: Wang Ju <wangju@ics.ict.ac.cn>

Since the device driver know the type of data structure, you can cast the point to user space to the structure you needed.