Added server-side syscall function.