![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error Message | chapmana | UNIX for Dummies Questions & Answers | 5 | 11-29-2006 11:41 AM |
| Error Message | RDM00 | UNIX for Dummies Questions & Answers | 2 | 10-06-2006 07:43 PM |
| Error message | ghuber | UNIX for Advanced & Expert Users | 1 | 11-14-2005 06:04 AM |
| error message vnc | Castelior | UNIX for Advanced & Expert Users | 3 | 10-21-2004 05:50 AM |
| error message | alisev | UNIX for Dummies Questions & Answers | 3 | 01-08-2002 05:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Are you calling dlopen? Unix is not windows. There is no GetLastError or FormatMessage function. Normally, you check the return code. If it's a return code that indicates an error, you have several options, probably perror is a good one to start with - exit: Code:
#include <stdlib.h>
.........
........
retval=some_system_call();
if (retval== <some value that the man page says is an error> )
{
perror("call to some_system_call returned a fatal error");
exit(1);
}
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|