How did you run the first example? Note that the first example expects a Perl program to be loaded from the command line which implements a routine with the name showtime.
It's weird that your second example crashes when accessing ERRSV because that variable should always exist.
According to the documentation, call_argv immediately calls your function. Note that you need to deal with the return values yourself in C.
In reply to Re: When call_argv() actualy executes function
by Corion
in thread When call_argv() actualy executes function
by DrMoisha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |