1SURL_GET_ERROR(3) libsurl SURL_GET_ERROR(3)
2
3
4
6 surl_get_error - return the error number associated with the given SURL
7
9 #include <libsurl-fe.h>
10
11 int *surl_get_error(SURL *surl);
12
14 surl_get_error returns a number representing the present error state of
15 the given SURL. If there is no error, the return value is 0; if the
16 error is unknown, the return value is -1.
17
19 surl_get_error() has no known bugs.
20
22 Scott R. Lawrence <bytbox@gmail.com>
23 Original author
24
26 Copyright © 2009 Scott Lawrence
27
28 Permission is granted to copy, distribute and/or modify this document
29 under the terms of the GNU Free Documentation License, Version 1.1 or
30 any later version published by the Free Software Foundation; with no
31 Invariant Sections, with no Front-Cover texts, and with no Back-Cover
32 Texts. A copy of the license is included in the section entitled "GNU
33 Free Documentation License".
34
35
36
37
38libsurl 0.7.0 2010-01-01 SURL_GET_ERROR(3)