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
vpGetError(3) FreeBSD Library Functions Manual vpGetError(3)

vpGetError, vpGetErrorString - retrieve error codes

#include <volpack.h>

vpResult

vpGetError(vpc)

vpContext *vpc;

char *

vpGetErrorString(code)

vpResult code;

vpc
VolPack context from vpCreateContext.
code
A VolPack error result code.

These routines are used for error handling. vpGetError return the error code from the first function call that failed since the last call to vpGetError. vpGetErrorString returns a descriptive string corresponding to an error code. The string is stored in a global array so it does not need to be copied to separate memory.

vpGetError cannot fail. A return value not equal to VP_OK means that some previous function call has failed. vpGetErrorString returns NULL if code is invalid.

VolPack(3), vpCreateContext(3)
VolPack

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.