4 ms·
I don't know that I'd agree that strlen is an example of the phenomenon you are talking about, but I also don't know that I could articulate why effectively. I
by king_geedorah 2y ago
I don't know that I'd agree that strlen is an example of the phenomenon you are talking about, but I also don't know that I could articulate why effectively. I do agree with your general point though. If you want an example that is obviously the same, the ALSA API[0] is about as textbook as it gets. Hell, it even names the first parameter "obj" in most of the functions for this particular subsection of functionality.
[0] https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___info.html https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m...