Shared library, SDL etc. not the issue

I have located the cause of my odd problem, but I don’t understand it.
I have a function in the main program file (not called in the testing
version) named shutdown(). If I rename it, e.g. to Shutdown(), the
problem goes away. I know that shutdown is a system command, but it
hadn’t occurred to me that I couldn’t use the name in my code.

Is this just how it should be?

Gib

I have located the cause of my odd problem, but I don’t understand
it. I have a function in the main program file (not called in the
testing version) named shutdown(). If I rename it, e.g. to
Shutdown(), the problem goes away. I know that shutdown is a system
command, but it hadn’t occurred to me that I couldn’t use the name
in my code.

shutdown() is also the name of a semi-standard socket function; see
<sys/socket.h>.

b