c - How can I access an interrupt vector located at the machine's location 0? -


How can I access a barrier vector located at the machine location 0? If I set a pointer to 0, then the compiler can translate it into some noiorio internal null pointer value.

You are right that depending on your implementation, the internal tap pointer can not be 0. But usually it is. If you want to be very safe, you can type the price or use memset () .

  uintptr_t zerobits = 0; Zero * Pointer 1 = (Zero *) zerobits;  

Or:

  Zero * Pointer 2; Memset (and pointer 2, 0, size pointer 2);  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -