ccall provides as output the return value of a call. If your library calls exit(1) then it interacts with the OS and asks for process termination.
On Sunday, April 3, 2016 at 9:52:08 AM UTC+2, Martin Kuzma wrote: > > > > Hi, > is there a way to check exit status code from call to ccall? The c library > may call exit(1) if there is an error in the input and I want to be able to > check if exit code from ccall is 1. Thanks Martin >
