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.
 
 
 
 

39 lines
1.4 KiB

  1. .TH libssh2_channel_process_startup 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_process_startup - request a shell on a channel
  4. .SH SYNOPSIS
  5. .nf
  6. #include <libssh2.h>
  7. int libssh2_channel_process_startup(LIBSSH2_CHANNEL *channel,
  8. const char *request,
  9. unsigned int request_len,
  10. const char *message,
  11. unsigned int message_len);
  12. .SH DESCRIPTION
  13. \fIchannel\fP - Active session channel instance.
  14. \fIrequest\fP - Type of process to startup. The SSH2 protocol currently
  15. defines shell, exec, and subsystem as standard process services.
  16. \fIrequest_len\fP - Length of request parameter.
  17. \fImessage\fP - Request specific message data to include.
  18. \fImessage_len\fP - Length of message parameter.
  19. Initiate a request on a session type channel such as returned by
  20. .BR libssh2_channel_open_ex(3)
  21. .SH RETURN VALUE
  22. Return 0 on success or negative on failure. It returns
  23. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  24. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  25. .SH ERRORS
  26. \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
  27. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
  28. \fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
  29. .SH SEE ALSO
  30. .BR libssh2_channel_open_ex(3)