surl_get_error man page

surl_get_error — return the error number associated with the given SURL

Synopsis

#include <libsurl-fe.h>

int *surl_get_error(SURL *surl);

Description

surl_get_error returns a number representing the present error state of the given SURL. If there is no error, the return value is 0; if the error is unknown, the return value is -1.

Bugs

surl_get_error() has no known bugs.

Author

Scott R. Lawrence <bytbox@gmail.com>

Original author

Info

2010-01-01 libsurl 0.7.0 libsurl