News for hackers. Stuff that matters.
Re:Posix Has Become Outdated (2016) [pdf] by jmgao on Saturday February 11, 2017 @05:10PM (#13625145)
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 for the manpage.

There are no comments on this comment yet.