Lines Matching defs:error
41 * Retrieve the error string for the given error code.
43 * @param error
44 * If error is less than zero, it is assumed to be a
45 * custom error code. If error is greater than zero, it
46 * is assumed to be an error defined in errno.h.
48 * @return the error string set by volume_set_error()
49 * if error < 0
51 * @return the error string returned by strerror()
52 * if error > 0
56 int error)
58 if (error < 0) {
62 if (error > 0) {
63 return (strerror(error));
70 * Set the error string for the most recent error. This message can
71 * be retrieved with get_error_string(error), assuming error is less
81 * if an error occurred