On Mar 6, 2007, at 12:09 PM, Dobbs, Paul wrote:

> I'm trying to call a unix function (shmget) from RB. I seem to have
> gotten the declare right, or at least partly right, but I'm getting a
> return value of -1, which is an error. The error number is supposed to
> be in errno. How do I get errno and find out what the error is?
>

Have a look at the man pages for errno and strerror.  That should  
tell you what you need.

Malcolm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to