Describe FAQ Linux Setting Environment Variables here.
1. You can use the putenv() function call.
2. If you run the application in command line, set the values (e.g. "SDL_NOMOUSE="1"") before your SDL application (e.g. "foo").
# SDL_NOMOUSE="1" ./foo
