geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
1.4 KiB

  1. .TH libssh2_channel_get_exit_signal 3 "4 Oct 2010" "libssh2 1.2.8" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_get_exit_signal - get the remote exit signal
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_get_exit_signal(LIBSSH2_CHANNEL *channel, char **exitsignal, size_t *exitsignal_len, char **errmsg, size_t *errmsg_len, char **langtag, size_t *langtag_len);
  8. .SH DESCRIPTION
  9. \fIchannel\fP - Closed channel stream to retrieve exit signal from.
  10. \fIexitsignal\fP - If not NULL, is populated by reference with the exit signal
  11. (without leading "SIG"). Note that the string is stored in a newly allocated
  12. buffer. If the remote program exited cleanly, the referenced string pointer
  13. will be set to NULL.
  14. \fIexitsignal_len\fP - If not NULL, is populated by reference with the length
  15. of exitsignal.
  16. \fIerrmsg\fP - If not NULL, is populated by reference with the error message
  17. (if provided by remote server, if not it will be set to NULL). Note that the
  18. string is stored in a newly allocated buffer.
  19. \fIerrmsg_len\fP - If not NULL, is populated by reference with the length of errmsg.
  20. \fIlangtag\fP - If not NULL, is populated by reference with the language tag
  21. (if provided by remote server, if not it will be set to NULL). Note that the
  22. string is stored in a newly allocated buffer.
  23. \fIlangtag_len\fP - If not NULL, is populated by reference with the length of langtag.
  24. .SH RETURN VALUE
  25. Numeric error code corresponding to the the Error Code constants.