日期:2014-05-16 浏览次数:20741 次
PUTENV(3) Linux Programmer’s Manual PUTENV(3)
NAME
putenv - change or add an environment variable
SYNOPSIS
#include <stdlib.h>
int putenv(char *string);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
putenv(): _SVID_SOURCE
------解决方案--------------------
_XOPEN_SOURCE