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


Manual Reference Pages  -  XS_STRERROR (3)

.ds Aq ’

NAME

xs_strerror - get error message string

CONTENTS

SYNOPSIS

const char *xs_strerror (int errnum);

DESCRIPTION

The xs_strerror() function shall return a pointer to an error message string corresponding to the error number specified by the errnum argument. As Crossroads define additional error numbers over and above those defined by the operating system, applications should use xs_strerror() in preference to the standard strerror() function.

RETURN VALUE

The xs_strerror() function shall return a pointer to an error message string.

ERRORS

No errors are defined.

EXAMPLE

Displaying an error message when the context cannot be initialised.

void *ctx = xs_init (1, 1, 0);
if (!ctx) {
    printf ("Error occurred during xs_init(): %s\n", xs_strerror (errno));
    abort ();
}

SEE ALSO

xs(7)

AUTHORS

The Crossroads documentation was written by Martin Sustrik <\m[blue]sustrik@250bpm.com\m[][1]> and Martin Lucina <\m[blue]martin@lucina.net\m[][2]>.

NOTES

1. sustrik@250bpm.com  mailto:sustrik@250bpm.com
2. martin@lucina.net  mailto:martin@lucina.net
Search for    or go to Top of page |  Section 3 |  Main Index


Crossroads I/O 1&.2&.0 XS_STRERROR (3) 04/03/2016

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