title: How do I know whether a pointer points to a specific structure or not?
body: <p>For example, in Linux, I have a pointer pointing to a task_struct. Later, the task_struct might migrate or deleted. How do I know whether the pointer still points to a task_struct or not?</p>