![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you Sum UNIX return codes | z1tt45uuprs7 | UNIX for Dummies Questions & Answers | 3 | 10-18-2006 11:46 AM |
| how to write c codes in UNIX | rraajjiibb | High Level Programming | 12 | 02-02-2006 12:41 AM |
| pSeries 610 error codes | dangral | AIX | 2 | 11-15-2005 06:33 PM |
| GNU's make error codes - list | vino | UNIX for Advanced & Expert Users | 1 | 06-30-2005 12:47 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 10:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi Friends,
I need your help in understanding this: ![]() I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ... For eg: Code:
returnCode = open(somefile, O_RDONLY);
if (returnCode < 0) {
/* Handle the error */
printf("Error %d occured\n",errno);
}
Thanks in Advance ![]() Last edited by pludi; 10-07-2009 at 03:31 PM.. Reason: code tags, please... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|