In the tutorials of directfb, the link is Simple fullscreen application that draws a horizontal line
My question is why it return 23?
in ASCII, 23 means ETB, what’s the reason to return ETB? It confuses me.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
mainfunction of a C or C++ program should return an exit code to the operating system or its parent process. In that case,23is the exit code returned by this program.Typically, returning
0means success. Depending on the system, other exit codes may be “reserved” for special purposes, that is, they still can be used but may confuse the OS into believing the program ended incorrectly.Exit codes are useful when running external programs and checking whether or not they completed successfully, or had any specific response. You’ll have to refer to the specific program documentation to understand what each exit code means.