cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
GetLastError() in linux
GetLastError() in linux
Feb 19, 2009 at 12:58pm UTC
vivmen
(120)
hi all
i am new in linux.
the GetLastError() function in windows returnes error code when calling
function fails . is there any equivalent methode exists in linux ?
i'm using g++ compiler & red hat linux .
thanks in advance.
Feb 19, 2009 at 2:27pm UTC
jsmith
(5804)
errno is a global variable that stores the error code from the last system call.
Topic archived. No new replies allowed.