Name

sg_set_error, sg_set_error_with_errno, sg_set_error_with_errno_code, sg_clear_error — sets the error condition

Synopsis

#include <statgrab.h>
sg_error fsfuncsg_set_error(code,  
 arg); 
sg_error code;
const char *arg;
 
sg_error fsfuncsg_set_error_with_errno(code,  
 arg); 
sg_error code;
const char *arg;
 
sg_error fsfuncsg_set_error_with_errno_code(code,  
 arg,  
 errno_value); 
sg_error code;
const char *arg;
int errno_value;
 
void fsfuncsg_clear_error();