26 #ifdef USE_ENVIRONMENT
59 {
NULL, 0, writeenv_NONE}
62 static void internalSetEnv(
const char *
name,
char *
value)
66 _kernel_setenv(name, value);
78 for (i=0; variables[
i].name; i++) {
79 switch (variables[i].
type) {
82 internalSetEnv(variables[i].
name,
string);
84 internalSetEnv(variables[i].
name,
NULL);
89 sprintf(numtext,
"%5ld", longinfo);
90 internalSetEnv(variables[i].
name, numtext);
93 internalSetEnv(variables[i].
name,
NULL);
97 sprintf(numtext,
"%6.2f", doubleinfo);
98 internalSetEnv(variables[i].
name, numtext);
101 internalSetEnv(variables[i].
name,
NULL);
CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info,...)
GLsizei const GLfloat * value
GLenum GLsizei const GLvoid * string
GLuint GLuint GLsizei GLenum type
void ourWriteEnv(CURL *curl)
int sprintf(idStr &string, const char *fmt,...)