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.
 
 
 
 

48 lines
1.5 KiB

  1. .TH libssh2_channel_request_pty_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_channel_request_pty_ex - short function description
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_channel_request_pty_ex(LIBSSH2_CHANNEL *channel, const char *term, unsigned int term_len, const char *modes, unsigned int modes_len, int width, int height, int width_px, int height_px);
  8. int
  9. libssh2_channel_request_pty(LIBSSH2_CHANNEL *channel, char *term);
  10. .SH DESCRIPTION
  11. \fIchannel\fP - Previously opened channel instance such as returned by
  12. .BR libssh2_channel_open_ex(3)
  13. \fIterm\fP - Terminal emulation (e.g. vt102, ansi, etc...)
  14. \fIterm_len\fP - Length of term parameter
  15. \fImodes\fP - Terminal mode modifier values
  16. \fImodes_len\fP - Length of modes parameter.
  17. \fIwidth\fP - Width of pty in characters
  18. \fIheight\fP - Height of pty in characters
  19. \fIwidth_px\fP - Width of pty in pixels
  20. \fIheight_px\fP - Height of pty in pixels
  21. Request a PTY on an established channel. Note that this does not make sense
  22. for all channel types and may be ignored by the server despite returning
  23. success.
  24. .SH RETURN VALUE
  25. Return 0 on success or negative on failure. It returns
  26. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  27. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  28. .SH ERRORS
  29. \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
  30. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
  31. \fILIBSSH2_ERROR_CHANNEL_REQUEST_DENIED\fP -
  32. .SH SEE ALSO
  33. .BR libssh2_channel_open_ex(3)