www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [libssh2] How to set env vars

[libssh2] How to set env vars

From: Paul Thomas <thomaspu_at_gmail.com>
Date: Thu, 11 Sep 2008 21:12:46 -0400

Anyone know how to get an enviornmental variable set through the
library? The doc says to just do:
  libssh2_channel_setenv_ex( channelPtr, "variableName_Foo",
But the function always returns -1, failure. I'm getting a valid
channel pointer....


This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
libssh2-devel mailing list
Received on 2008-09-12

the libssh2 team