Initial commit

This commit is contained in:
2021-10-01 20:24:05 +02:00
commit 860c025165
194 changed files with 4846 additions and 0 deletions

11
kapitel14/miljovar-ex2.c Normal file
View File

@@ -0,0 +1,11 @@
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
setenv("MINVAR", "J-B", 0); /* sätt variabeln (0 = skriv ej
över ev. befintlig variabel) */
printf("%s\n", getenv("MINVAR")); /* testa om det fungerade */
return 0;
}