C
getenv()
This function gets the current value of the environment variable
Syntax:char *getenv(const char *name)
Example:#include
#include
int main()
{
printf("Directory = %s\n", getenv("DIR"));
return 0;
}
Output:
/usr/bin/test/
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 607 / 158764271. Delta: 0.06907 с