You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular the case came up recently where somebody had an unsafe pointer to an array of null terminated character pointers, but didn't know how long it is. We should be able to write:
let buflen = unsafe { position(buf) {|i| i == ptr::null() } };