I have one program that uses shared library. In shared library, error case they have written exit(0). So if that function is called then exit(0) will be executed of shared library.
Will it exit my program too ?
I have one program that uses shared library. In shared library, error case they have written exit(0). So if that function is called then exit(0) will be executed of shared library.
Will it exit my program too ?
Copyright © 2021 Jogjafile Inc.
Yes it terminates the calling process immediately.SIGCHLD signal will be send to process which inherited by process 1 or init.