libgphoto2 photo camera library (libgphoto2) API 2.5.31
|
#include "config.h"
#include <gphoto2/gphoto2-result.h>
#include <stddef.h>
#include "libgphoto2/i18n.h"
Functions | |
const char * | gp_result_as_string (int result) |
Translate a gphoto error code into a localized string. | |
const char * gp_result_as_string | ( | int | result | ) |
Translate a gphoto error code into a localized string.
result | a gphoto2 error code |
Translates a gphoto2 error code into a human readable string. If the error occurred in combination with a camera, gp_camera_get_result_as_string() should be used instead.
References gp_port_result_as_string().
Referenced by gp_filesystem_delete_all(), and gp_filesystem_get_file().