File: SDL_getenv.d

package info (click to toggle)
mu-cade 0.11.dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,552 kB
  • ctags: 3
  • sloc: xml: 403; makefile: 64
file content (13 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (40)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Not all environments have a working getenv()/putenv() */

extern(C):

/+
/* Put a variable of the form "name=value" into the environment */
int SDL_putenv(char *variable);
int putenv(char* X) { return SDL_putenv(X); }

/* Retrieve a variable named "name" from the environment */
char *SDL_getenv(char *name);
char *getenv(char* X) { return SDL_getenv(X); }
+/