Y’all I have no idea why C has a reputation for being hard to use correctly, this seems really straightforward…pic.twitter.com/8d0Er7BU29
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Personally I prefer null-terminated as public interface except in special cases where it's inefficient, base+len internally where it helps.
If public API allows base+len, you risk the possibility of internal nul bytes which will be dangerous if you use the string in pathnames & other similar contexts.
OCaml uses Pascal strings but passes then to C standard functions. It's weird. “[print_string s] prints [s] but stops at the first null character inside [s]” is a crappy specification for a function that's supposed to print a string.
Yeah that's the kind of thing that makes them dangerous. Also base+len != Pascal. Former has len outside, shareable content. Latter embeds a (usually undersized) len at start of content.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.