Link to home
Start Free TrialLog in
Avatar of rawdrib
rawdrib

asked on

pointer value

i have a structure:


struct iorb_node {
   ...
   int *hook;
  ..
};

i want to set an integer value for hook (say for example, 2).  how do i do this correctly??
and once set, how would i access that value?
ASKER CERTIFIED SOLUTION
Avatar of efn
efn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rawdrib
rawdrib

ASKER

it is for an operating system device modules implimentation, thanks for your help