Portál AbcLinuxu, 5. prosince 2025 22:44
#include <stdlib.h>
int main()
{
setenv("test", "value", 1);
printf("Value of test is %s\n", getenv("test"));
return 0;
}
$ ./test Value of test is value
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.