GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETERRNO(3) Schily´s LIBRARY FUNCTIONS GETERRNO(3)

geterrno() - gets system error number

int geterrno()

geterrno() enables the programmer to find out exactly what the last failure was. This is often necessary since some subroutines just indicate success or failure, rather than directly return definitive error codes.

For example, comerr() uses geterrno() to retrieve the last error so that an appropriate message can be printed.

Returns the error code for the last system error that occurred in the current process, e.g., after a call to fileopen() failed.

comerr(3), comerrno(3), error(3), errmsg(3)

The value returned by geterrno() is only valid after the immediately preceding system call failed.
2020/02/09 Joerg Schilling

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.