File: System.java

package info (click to toggle)
libgetenv-java 1.0-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 36 kB
  • ctags: 6
  • sloc: makefile: 45; ansic: 14; java: 8
file content (21 lines) | stat: -rw-r--r-- 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* packaged @author   R M Yorston
 * @version  1.0
 */
public class System {
	static {
		java.lang.System.loadLibrary("getenv") ;
	}

	private System() {
	}

	/**
	 * Gets an environment variable. An environment variable is a
	 * system-dependent external variable that has a string value.
	 *
	 * @param	name	name of the environment variable
	 * @return	the value of the variable, or <code>null</code> if the
	 * variable is not defined.
	 */
	public static native String getenv(String name) ;
}