/*
* get next block from a queue, return null if nothing there
*/
if(b == nil){
q->state |= Qstarve;
iunlock(q);
return nil;
}
So null and nil pointers.
It was always interesting to me; there were null-terminated strings and null-bytes [0], but nil pointers.
And then, occasionally, null and NULL pointers.
It was always interesting to me; there were null-terminated strings and null-bytes [0], but nil pointers. And then, occasionally, null and NULL pointers.
[0] https://www.unix.com/man-page/plan9/2/strcat/
-ss