The alarm documentation contains an example of how to use it to timeout sysread specifically.
In reply to Re: How to make sysread timeout by kyle in thread How to make sysread timeout by redss