3 ms·
C/C++ pointers: pointers abuse in Windows kernel
- cyphar 10y agoI find it a bit odd that the source of the site is written in m4. What an odd choice of language.
- dezgeg 10y agoLinux uses a similar thing: functions that return pointers and that can fail typically return the negated error code cast directly into a pointer: http://lxr.free-electrons.com/source/include/linux/err.h#L23 http://lxr.free-electrons.com/source/include/linux/err.h#L23