Rechercher une page de manuel
ssh_error
Langue: en
Version: 325164 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Ssh_error - error handlingFunctions
char * ssh_get_error (void *error)
retrieve an error text message
int ssh_get_error_code (void *error)
retrieve the error code from the last error
Detailed Description
error handling
defgroup ssh_error
Function Documentation
char* ssh_get_error (void * error)
retrieve an error text message
Parameters:
- error the ssh session pointer
Returns:
- a static string describing the error
int ssh_get_error_code (void * error)
retrieve the error code from the last error
Parameters:
- error the ssh session pointer
Returns:
- SSH_NO_ERROR no error occured
SSH_REQUEST_DENIED The last request was denied but situation is recoverable
SSH_FATAL A fatal error occured. this could be an unexpected disconnection
Other error codes are internal but can be considered same than SSH_FATAL
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre