error code 10
by dogpatch from LinuxQuestions.org on (#521M3)
Am posting this question here because it only happens on the 64 bit FreeBSD server, not on my older 32 bit Linux desktop.
One particular binary, compiled cleanly from C source on the BSD server, in some cases aborts without any output, and returns code 10 (decimal ten), according to the shell message. This does not correspond to any exit code I've written into the C program.
What does error code 10 mean? So I can try to trouble-shoot. Am running this remotely on the BSD server as a shell command, not inside of a bash script. The C program is compiled using gcc
Perhaps this thread should be in the Linux-Server or Programming forum?


One particular binary, compiled cleanly from C source on the BSD server, in some cases aborts without any output, and returns code 10 (decimal ten), according to the shell message. This does not correspond to any exit code I've written into the C program.
What does error code 10 mean? So I can try to trouble-shoot. Am running this remotely on the BSD server as a shell command, not inside of a bash script. The C program is compiled using gcc
Perhaps this thread should be in the Linux-Server or Programming forum?