How to make system call through systemverilog

Hi,
I would like to know if there is a way to catch the return value of the system call. (error indication)
Thanks