3 ms·
One hilarious one is basename(3), which is two functions with different behavior, but the same name. The one you get depends on which headers you include, and w
by jmgao 10y ago
One hilarious one is basename(3), which is two functions with different behavior, but the same name. The one you get depends on which headers you include, and what _GNU_SOURCE is set to.
See http://man7.org/linux/man-pages/man3/basename.3.html http://man7.org/linux/man-pages/man3/basename.3.html for the manpage.